Setting Up A NFS Service

From RidgeRun Developer Wiki
Revision as of 17:19, 16 February 2012 by Tfischer (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Please install the following packages:

sudo apt-get install nfs­-kernel­-server nfs­-common portmap

Modify the /etc/exports file adding at the end of this file the following line:

/home/ *(rw,insecure,no_root_squash,no_subtree_check)

For the above line, the directory /home will be exported (served by the NFS server).  If you would like a different directory, substitute /home/ with your preferred directory.

Restart the NFS server:

sudo /etc/init.d/nfs-­kernel­-server restart