NFS

From miki
Revision as of 22:36, 16 January 2011 by Mip (talk | contribs) (Created page with '== Setting up an NFS Server == See howto [http://ubuntuforums.org/showthread.php?t=249889 here]. * Install package <tt>nfs-kernel-server, nfs-common, portmap</tt> * Edit file <…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting up an NFS Server

See howto here.

  • Install package nfs-kernel-server, nfs-common, portmap
  • Edit file /etc/exports
/files 192.168.1.0/24(rw,no_root_squash,async)    #Full RW permission, incl. root access
/files 192.168.1.2 (ro,async)                     #Single machine RO access
  • Restart the server
sudo /etc/init.d/nfs-kernel-server restart
sudo exportfs -a                                # Also needed after making changes to /etc/exports
  • Install client with
sudo apt-get install portmap nfs-common