1. Install packages yum install nfs-utils rpcbind
  2. Start the rpcbind service systemctl start rpcbind
  3. Stop the firewall on both the client and the server systemctl stop firewalld systemctl disable firewalld systemctl stop iptables systemctl disable iptables
  4. Show the mount points on the NFS server showmount -e e.g., showmount -e 192.168.1.10
  5. Create the mount point on the client ( a direcotry ) to link the folders mkdir /mount/apps
  6. mount nfs file system mount: /server/apps /mount/apps e.g., mount 192.168.1.10:/server/apps /mount/apps
  7. Check the mount df -h
  8. Permanent mount in /etc/fstab vi /etc/fstab then you need to fill the entry in side

IP /server/apps /mount/apps NFS default O O e.g., 192.168.1.10:/server/apps /mount/apps nfs defaults 0 0

echo “192.168.1.10:/server/apps /mount/apps nfs defaults 0 0” >> /etc/fstab