Websitetemplate.org

Welcome > Linux > NFS - Network File System > NFS Server Sample File

NFS Server Sample File

Ref: http://www.centos.org/docs/rhel-sag-en-3/s1-nfs-mount.html

cat /etc/exports
#
/dir/to/export *(rw,root_squash)

Once that's set, activate nfs:

# chkconfig nfs on 
# service nfs restart

Test with showmount:

# showmount -e 192.168.0.31
Export list for 192.168.0.31:
/nfshome 192.168.0.0/24
#

Content Copyright 2003-2014 George Toft