nfs服务器搭建和遇到的问题
安装nfs服务:
sudo apt-get install nfs-kernel-server rpcbind
nfs配置文件添加:
sudo vi /etc/exports
添加:
/home/xxx/linux/nfs *(rw,sync,no_root_squash)
重启 NFS 服务,使用命令如下:
sudo /etc/init.d/nfs-kernel-server restart
遇到的问题参考博客:
sudo apt-get install nfs-kernel-server rpcbind
sudo vi /etc/exports
添加:
/home/xxx/linux/nfs *(rw,sync,no_root_squash)
sudo /etc/init.d/nfs-kernel-server restart