您的位置:首页 > 其它

nfs安装配置

2018-02-05 17:16 169 查看

nfs安装配置

本文介绍了如何在Ubuntu16.04版本上创建一个nfs server并配置一个nfs路径

sudo apt-get install nfs-kernel-server nfs-common rpcbind

vim /etc/exports

在末尾追加一行:/home/system/hs7-target/ *(rw,sync,no_root_squash)

其中,路径是被共享的文件夹,星号代表这个文件夹可以被任何IP的主机访问,rw代表可读写,sync不知道啥意思,no_root_squash也不知道啥意思。

systemctl restart rpcbind.service

systemctl restart nfs-server.service
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  nfs ubuntu16.04