nfs 防火墙firewalld 开放 + windows挂载nfs

yum -y install nfs-utils rpcbind
#安装nfs,nfs依赖rpc工作

systemctl start rpcbind
#开启rpc 再开启nfs服务
systemctl start nfs  

systemctl enable rpcbind
#设置开机启动rpc nfs
systemctl enable nfs
firewall-cmd --permanent --add-service=rpc-bind
#允许rpc nfs mountd服务通过防火墙
firewall-cmd --permanent --add-service=nfs
firewall-cmd --permanent --add-service=mountd
#用于showmount
firewall-cmd --reload
#刷新防火墙配置

 

参考:

https://www.cnblogs.com/RookieWuBlog/p/14254609.html

windows挂载nfs

image

或者
image

posted @   小黑狐狸1001  阅读(426)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
点击右上角即可分享
微信分享提示