yum -y install rpcbind nfs-utils
mkdir /share
# 共享路径 客户端地址/允许谁共享 权限(rw-读写,ro-只读,sync-同步,no_root_squash-客户端使用root登入具有root权限) /share 192.168.83.0/24(rw,sync,no_root_squash)
systemctl start rpcbind
systemctl start nfs-server
showmount -e localhost
yum -y install rpcbind nfs-utils
systemctl start rpcbind
systemctl start nfs-server
showmount -e [服务端IP]
mkdir /abc
mount [服务端IP]:/share /abc
[服务端IP]:/share /abc nfs defaults 0 0