NFS文件共享服务
一、服务端NFS服务部署
1.安装nfs
#rpcbind为nfs-utils软件的一个依赖包
[root@localhost ~]# yum -y install nfs-utils rpcbind
2.创建共享目录、授权
[root@localhost ~]# mkdir -p /data
[root@localhost ~]# chown -R nfsnobody:nfsnobody /data
3.编写配置文件
[root@localhost ~]# vi /etc/exports
/data 192.168.10.0/24(rw,sync)
#共享目录 可访问共享目录的网段 权限功能
4.启动rpc和nfs服务
[root@localhost ~]# systemctl