【Linux系统】开启NFS服务

版权声明:本文为博主原创文章,转载请注明出处。 https://www.cnblogs.com/YaoYing/p/15015601.html

【Linux系统】开启NFS服务

安装NFS服务

sudo apt-get install nfs-kernel-server rpcbind

配置NFS服务

sudo vim /etc/exports

文件后面添加如下内容

/home/yaoying/linux/nfs *(rw,sync,no_root_squash)

重启NFS服务

sudo /etc/init.d/nfs-kernel-server restart
原文地址:https://www.cnblogs.com/YaoYing/p/15015601.html