Linux‎ > ‎

NFS

NFS Server

Create an export

sudo apt-get install nfs-server

edit /etc/exports and add the following

/myDir *(rw,no_root_squash)

then run

# /etc/init.d/nfs restart
# /usr/sbin/exportfs -a

mount the dir from the client computer by running

# sudo mount -t nfs 192.168.1.2:/myDir /home/kam/mnt

Comments