NFS Server Configuration Step 1 : Install NFS Packages using yum server [root#] yum install nfs* Step 2 : Check the NFS Packages [root#] rpmquery -qa | grep nfs o/p : nfs-utils-lib-1.1.5-1.el6.i686 nfs-utils-1.2.2-7.el6.i686 nfs4-acl-tools-0.3.3-5.el6.i686 Step 3 : Change to / directory [root#] cd / Step 4 : Create a directory for server NFS [roo#/] mkdir ndishaserver Step 5 : Chnage to ndishaserver [root# /] cd ndishaserver Step 6 : Create a file named as "a1.txt" [root# ndishaserver] cat > a1.txt Hello I am doing NFS Testing My Name is Disha [Ctrl + D ] Step 7 : Check the contents of file [root# ndishaserver] cat a1.txt Hello I am doing NFS Testing My Name is Disha Step 8 : Change back to root's home [root# ndishaserver] cd /root Step 9: Give full permissions to ndishaserver directory [roo#] chmod -R 777 /ndishaserver Step 10 : Using the GUI open the file /etc/exports Add the following lines : /ndishaserver * (rw,sync) ** Save the file Step 11 : Get the IP Address of your machine [root#]ifconfig o/p: 192.168.2.2 Step 12 : Start the rpcbind service [root#] service rpcbind start Step 13 : Start the nfs service [root#] service nfs start Step 14 : Stop the firewall [root#] service iptables stop Step 15 : restart the nfs service [root#] service nfs restart Step 16 : Use the showmount to view the exports [root#] showmount -a 192.168.2.2 o/p : /ndishaserver * (rw,sync) Step 17 : Enable nfs service at boot time [root#] chkconfig nfs on ** Testing NFS Server Via NFS Client Step 1 : Create a client directory inside / directory [roo#] cd / [root#/] mkdir ndishaclient Step 2 : Mount the server directory to client directory [root#] mount -t nfs 192.168.2.2:/ndishserver /ndishaclient ** Using GUI browse "ndishaclient" you will see your file is been shared