**Add the NFS shares to the /etc/exports file**
nano /etc/exports
/nfs_share 192.168.1.1/24(rw,sync,no_subtree_check)
**Start the NFS and RPC daemons**
chmod 755 /etc/rc.d/rc.nfsd
chmod 755 /etc/rc.d/rc.rpc
/etc/rc.d/rc.nfsd start
/etc/rc.d/rc.rpc start
**Export the shares**
exportfs -a
Check to see if the shares are being shared
exportfs
=====mount nfs shares=====
__Client Setup__
Create the mount point
mkdir /mnt/nfs_share
Start the RPC daemon
chmod 755 /etc/rc.d/rc.rpc
/etc/rc.d/rc.rpc start
Mounting
On the CLIENT machine we'll cover 2 options here: manually mounting and auto-mount at boot
__MANUALLY MOUNT__
mount my.nfs.server:/nfs_share /mnt/nfs_share
AUTO-MOUNT AT BOOT
Add the mount command to /etc/fstab
nano /etc/fstab
my.nfs.server:/nfs_share /mnt/nfs_share nfs rw,defaults 0 0
NOTE ABOUT AUTO_MOUNTING
If you mount at boot and the server machine is unavailable, it will cause your client machine to take a long time to boot as the NFS client will make multiple attempts to connect and you will have to wait for it to time-out for each attampt.