客户端和服务端都需要安装 nfs-utils rpcbindyum install -y nfs-utils rpcbind服务端在/etc/expots上添加要共享的目录及权限等信息/opt/nfs *(rw,sync,no_subtree_check,no_root_squash)客户端执行如下的命令挂在mount -t nfs 47.97.166.7:/opt/nfs /opt/nfsdata参考Linux—centos安装配置并挂载NFS