systemctl status rpcbind
systemctl status nfs-server
查询共享目录
vi /etc/exports
yum install rpcbind -y
yum install -y nfs-utils
mkdir /nfs
chmod 666 /nfs
vi /etc/exports
添加
/nfs *(rw,sync,insecure,no_subtree_check,no_root_squash)
systemctl stop firewalld
service rpcbind start
service nfs-server start