设置共享文件夹
$ 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
请关注:
微信公众号:生物信息分析学习(swxxfxxx)
个人网站:http://cospure.cn/blog; http://undef.cn
博客园:https://www.cnblogs.com/abysw
posted on 2021-06-03 11:00 Yuan-SW-F(abysw) 阅读(59) 评论(0) 编辑 收藏 举报