NFS
**环境
192.168.199.130
192.168.199.131
在 192.168.199.130 上**
yum -y install nfs-utils rpcbind
mkdir /jkl
touch /jkl/1.txt
vim /etc/exports
/jkl /192.168.199.0/24(rw,sync,no_root_squash) 后面是各种权限 前面就是你想共享的那个文件夹 192.168.199.0是你想让谁链接上的网段
在192.168.199.131上 只需要安装rpcbind
yum -y install rpcbind
showmount -e 192.168.199.130
查看 tail -1 /etc/mtab
mount 192.168.199.130:/jkl /root/