→NFS Server Setup
* Create a directory called "/nfs-pub" and set the read/write/list premission for all (chmod 777).
* Set the sticky bit on the directory "/nfs-pub" (chmod +t /nfs-pub).
* Modify the /etc/exports file and add the following line:
but replace the place holder "ip-of-host" with your HOST's actual IP address.(IP of the Host Computer to which you want to allow access your directory .i.e NFS share directory).
** /nfs-pub: directory on the NFS server to be shared
** ip-of-host: IP address or host name of the machine which is allowed to mount the share dierctory