服务器:
vim /etc/exports
/share *(rw)
systemctl restart nfs-server
客户端
mount -f server-nfs:/server /client
nfsnobody 说明使用的是匿名用户创建
服务器:
vim /etc/exports
/share *(rw,no_root_squash) 所有人读写权限,不屏蔽root
解决…
服务器:
vim /etc/exports
/share *(rw)
systemctl restart nfs-server
客户端
mount -f server-nfs:/server /client
nfsnobody 说明使用的是匿名用户创建
服务器:
vim /etc/exports
/share *(rw,no_root_squash) 所有人读写权限,不屏蔽root
解决…