Apr 13, 2017

How to install NFS server on CentOS 7


yum install nfs-utils



mkdir /var/nfsshare
sudo vi /etc/exports
/var/nfsshare    192.168.0.101(rw,sync,no_root_squash,no_all_squash)
sudo systemctl restart nfs-server

sudo firewall-cmd --permanent --zone=public --add-service=nfs
sudo firewall-cmd --reload