NFS

Quick reference for setting up an NFS server on Redhat/Centos/Fedora boxes.

# yum install nfs-utils nfs4-acl-tools portmap

# vi /etc/exports

>/srv/nfs 192.168.1.0(rw,sync,no_root_squash,no_wdelay)

# vi /etc/hosts.deny

> portmap:ALL

# vi /etc/hosts.allow

> portmap:192.168.1.0/24

# chkconfig rpcbind on <= fedora13

# service rpcbind start <= fedora13

# chkconfig nfs on

# chkconfig portmap on

# service nfs start

# service portmap start

# exportfs -a

References:

http://www.cyberciti.biz/faq/centos-fedora-rhel-nfs-v4-configuration/