部署nfs
安装
yum install nfs-utils
启动
systemctl start nfs
重载
systemctl reload nfs
创建共享目录
mkdir -p /daa/nfs
chown -R nfsnobody:nfsnobody /data/nfs
修改/etc/exports
/data/nfs 192.168.10.0/24(rw,no_root_squash,all_squash,sync)
查看共享目录
showmount -e localhost
本地访问
\192.168.10.171:/data/nfs