server:
yum -y install nfs-utils
cat /etc/exports
/nfs 10.11.0.0/16(rw,sync,no_root_squash,no_subtree_check)
systemctl enable rpcbind
systemctl restart rpcbind
systemctl enable nfs
systemctl restart nfs
client:
yum -y install nfs-utils
mount -t nfs 10.11.30.120:/nfs /nfs
vi /etc/rc.local
mount -t nfs 10.11.30.120:/nfs /nfs
原文:https://www.cnblogs.com/alexhjl/p/12105878.html