NFS on Centos 6
How to install NFS on Centos 6
Set nfs to start at boot and start services
Add the directory you want to share to /etc/exports
18.104.22.168 is IP which is allowed to mount shared folder
rw allows to read-write the folder
sync confirms requests to the shared directory only once the changes have been committed.
no_subtree_check prevents the subtree checking.
no_root_squash allows root to connect to the designated directory
Once you have added shared folder run following command to export settings
Look your current file system
Setting up client
Create folder for mounting file system
Mount file system
22.214.171.124 is IP of server with shared file system.