安装nfs服务:
sudo apt-get install nfs-kernel-server rpcbindnfs配置文件添加:
sudo vi /etc/exports重启 NFS 服务,使用命令如下:
添加:
/home/xxx/linux/nfs *(rw,sync,no_root_squash)
sudo /etc/init.d/nfs-kernel-server restart遇到的问题参考博客: https://blog.csdn.net/qq_54381110/article/details/131818598 https://blog.csdn.net/loveshipting/article/details/106183367 https://blog.csdn.net/kennann/article/details/109170459 https://blog.csdn.net/B__T__T/article/details/78698445 标签:https,blog,nfs,details,csdn,服务器,net,搭建 From: https://www.cnblogs.com/lethe1203/p/18085777