LAMP—01
提供服务 yum list | grep nfs
关闭防火墙 iptables –F iptables –X setenforce 0
安装nfs
启动服务 systemctl start nfs
查看端口
配置文件
主机02访问
yum list | grep nfs
yum install nfs-utils
#man showmount
#showmount –e 192.168.137.11
挂载
mount –t nfs 192.168.137.11: /mnt /share /mnt/shareing
原文:https://www.cnblogs.com/scholar-lord/p/9662747.html