linux简单的nfs

服务端(被挂载端)10.6.41.212
1,修改/etc/export
格式:/home/xx 10.6.41.211(rw,sync)
启动两个服务
service portmap start
service nfs start

注:修改/etc/export 必须重启两个服务


客户端(挂载端)10.6.41.211
mount -t nfs 10.6.41.212:/home/xx(网络目录)  /home/xxxxx(本地目录)

猜你喜欢

转载自leichenlei.iteye.com/blog/1591720