1、服务端与客户端安装nfs-utils rpcbind包 [root@web03 html]# yum install -y nfs-utils rpcbind 2、修改服务端配置文件/etc/exports /data/w 172.16.1.0/24(rw,all_squash,anonuid=9999,anongid=9999) /data/r 172.16.1.0/24(ro) 3、创建共享目录及创建指定用户&用户组并授权 mkdir -p /data/