菜鸟上路,nfs

-----01客户端
IPtables -F
IPtables -X
setenforce 0
yum install nfs-utils
showmout -e 02的ip地址:/mnt/share

mkdir /mnt/shareing

-------02服务端
yum list | grep nfs
yum install nfs*
systemctl start nfs
cat /etc/services | grep nfs
systemctl status nfs

ls /mnt
mkdir /mnt/share
vi /etc/exports
/mnt/share *(rw)
chown -R 757 /mnt/share

猜你喜欢

转载自blog.51cto.com/13957986/2176320
nfs