|
Install NFS server/client |
|
|
|
|
Written by MatthewMPP
|
|
Thursday, 16 July 2009 08:40 |
Howto install NFS on the server (9.04):
sudo apt-get install nfs-kernel-server nfs-common portmap sudo dpkg-reconfigure portmap (do not bind loopback) sudo /etc/init.d/portmap restart
sudo vi /etc/exports (add the following line to /etc/exports) /path/on/server 192.168.X.X(rw,sync,no_root_squash,subtree_check) Where the ip is the ip of the client machine.
sudo /etc/init.d/nfs-kernel-server restart sudo exportfs -av
Howto install NFS on the client (9.04):
sudo apt-get install portmap nfs-common sudo mkdir /path/on/client
Manual mount: (type this in a terminal on the client) sudo mount -t nfs 192.168.X.X:/path/on/server /path/on/client Where ip address is ip of the server.
Automatic mount:(add this to the fstab on the client) 192.168.X.X:/path/on/server /path/on/server nfs rsize=8192,wsize=8192,timeo=14,intr (all one line)
Done. Lookout for making type-o's.
|
|
Last Updated on Thursday, 16 July 2009 08:41 |