需要安装的包:
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
需要安装的包:
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