NFS

From SME Server
Revision as of 02:36, 2 July 2010 by Jader (talk | contribs) (better formating)
Jump to navigationJump to search

How To use SME as an NFS server

This came from a dtech post about to use SME as a NFS server

1. Install the smeserver-nfs contrib like this:

yum install smeserver-nfs --enablerepo=smecontribs --enablerepo=smeupdates-testing

2. Then execute the following:

config setprop nfs status enabled
config setprop portmap status enabled

3. Edit /etc/exports to add the directories to be shared (this line exports user home directories and ibays):

/home/e-smith/files    *.mydomain(rw,sync,no_wdelay,nohide,no_root_squash)


Warning.png Warning:
Make sure to leave a blank line at the end of the file.


4. Then, the following, which will reboot the server:

signal-event post-upgrade; signal-event reboot

5. Finally, after rebooting, check to see what is being exported:

showmount -e