Difference between revisions of "NFS"

From SME Server
Jump to navigationJump to search
(Created page with 'how to use SME as an NFS server This came from a [dtech post |http://forums.contribs.org/index.php?topic=45385] about to use SME as a NFS server 1. Install the smeserver-nfs c…')
 
m (better formating)
Line 1: Line 1:
how to use SME as an NFS server
+
=How To use SME as an NFS server=
  
This came from a [dtech post |http://forums.contribs.org/index.php?topic=45385]  
+
This came from a [http://forums.contribs.org/index.php?topic=45385 dtech post]  
 
about to use SME as a NFS server
 
about to use SME as a NFS server
  
Line 17: Line 17:
 
  /home/e-smith/files    *.mydomain(rw,sync,no_wdelay,nohide,no_root_squash)
 
  /home/e-smith/files    *.mydomain(rw,sync,no_wdelay,nohide,no_root_squash)
  
[warning]
+
{{Warning box|
Make sure to leave a blank line at the end of the file.
+
Make sure to leave a blank line at the end of the file.}}
  
 
4. Then, the following, which will reboot the server:
 
4. Then, the following, which will reboot the server:

Revision as of 01:36, 2 July 2010

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