设置共享文件夹

 

$ cat /etc/exports
/path 192.168....(rw,sync,no_root_squash,no_all_squash)

$ service nfs restart

$ mount 192.168....:/path abyss

 

有报错:

mount.nfs: No route to host

查看

exportfs -rv 

service iptables stop # 不成,

$ systemctl stop firewalld 关闭防火墙

再mount就可以了 

不成就重启:

systemctl restart nfs

 

posted on 2021-06-03 11:00  Yuan-SW-F(abysw)  阅读(59)  评论(0编辑  收藏  举报

导航