Setup an NFS server in RHEL6
on the NFS server, you will need to:
1) install the nfs-utils and rpcbind packages
2) edit the /etc/sysconfig/nfs file and comment out (and edit if you prefer to) the entries for RQUOTAD_PORT, LOCKD_TCPPORT, LOCKD_UDPPORT, STATD_PORT and MOUNTD_PORT and allow both tcp and udp version of those ports open along with 2049 (NFS) and 111 (rpcbind/sunrpc)
3) edit /etc/exports to set your permissions on what you're sharing and who can mount said share:
[directory_to_be_shared] [host(options)]
common options are: rw,sync
4) start your NFS server
# /sbin/service nfs start
5) make sure you turn on nfs and rpcbind at startup:
# chkconfig nfs on # chkconfig rpcbind on



















