Basic stuff about sharing over Nfs

Server

  1. dpkg -l | grep nfs-kernel-server -- to see if nfs kernel server is installed
  2. apt-get install nfs-kernel-server -- to install nfs kernel server
  3. mkdir -p /export/{dir,names,for,sharing} and
  4. /source/dir /export/dir none bind 0 0 in /etc/fstab
  5. /export 192.168.1.0/24(ro,fsid=0,insecure,no_subtree_check,async in /etc/exports
  6. /export/dir 192.168.1.0/24(ro,nohide,insecure,no_subtree_check,async in /etc/exports
  7. service nfs-kernel-server restart

(Summarised from https://help.ubuntu.com/community/SettingUpNFSHowTo)