1.
# sudo apt-get install nfs-kernel-server
# vim /etc/exports
add line
/tftp/smartq7/ 192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash)
# sudo /etc/init.d/nfs-kernel-server restart
2.
Have a test on host
# touch /tftp/smrtq7/testfile
# sudo mount 192.168.0.10:/tftp/smartq7 /mnt
# ls /mnt/
本文介绍如何在Linux系统中安装并配置NFS服务,通过编辑配置文件实现特定目录的共享,并针对特定IP地址设置读写权限。同时,演示了如何在客户端进行挂载测试。
1万+

被折叠的 条评论
为什么被折叠?



