NFS is a technology made to share files across a network, it's used in huge datacenters around the world. With a share NFS system you get access to files locally from a external computer (remote), you just need mount the remote file system in your machine.
- Install the NFS server
- Setup the shared folder
- Mount the remote file system in another machine across your network
Install the NFS server
# aptitude install nfs-kernel-server portmap
Setup the shared folder
Edit the file /etc/exports and add a line with the folder, who can access, and the privileges.
Reload the configuration to export the folder as a NFS file system.
# exportfs -a
Mount the remote file system in another machine across your network
Check if the package nfs-common, required for the NFS client, is installed. After, run the command below.
# mount -t nfs 192.168.1.1:/srv/media /media/srvmedia