Skip to content →

Easy and fast installing of NFS server

Share on FacebookShare on Google+Tweet about this on TwitterShare on VKShare on TumblrPin on Pinterest

On server

 yum -y install nfs-utils
[root@dlp ~]# vi /etc/exports
# write settings for NFS exports
/opt 10.135.0.0/16(rw,fsid=0,no_subtree_check,all_squash,anonuid=0,anongid=0,sync)
# systemctl start rpcbind nfs-server 
# systemctl enable rpcbind nfs-server 

On client

vi /etc/fastab
#add next line:
10.135.227.97:/opt        /opt                   nfs     hard,timeo=5,noexec,nosuid,tcp,rsize=32768,wsize=32768,nointr,noatime     0 0
mount -a
#or
reboot )
Share on FacebookShare on Google+Tweet about this on TwitterShare on VKShare on TumblrPin on Pinterest

Published in administration