Centos. Mac 上 nfs 搭建

我的梦境 提交于 2019-12-06 02:23:05

centos 关闭fiewalld,selinux

 

yum install yum install nfs-utils portmap

 

vim /etc/exports

文件写入时使用anonuid用户写入owner,anongid组写入文件,用户或组id在/etc/passwd里面找

添加内容:/home *(insecure,rw,async,no_root_squash,anonuid= 65534,anongid=65534)

:wq

 

service.rpcbind start

service nfs start

 

Mac

sudo mount -t nfs -o resvport,rw  centos:/home  /rhome

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!