NFS基础配置

需要安装的包:
rpc-bind
nfs-utils

修改配置文件
/etc/exports

配置

/tmp *(ro)

修改配置之后记得重启服务

sudo systemctl restart nfs-mountd.service

使用

假设NFS服务器IP为10.10.50.100

mount 10.10.50.100:tmp /mnt
posted @ 2017-05-29 18:12  乔栋  阅读(203)  评论(0)    收藏  举报