1 Server端 (192.168.0.17)

1
2
3
service portmap start
service nfs start
vim /etc/exports

添加类似:

1
/opt/test      192.168.0.18(rw,no_root_squash,nohide,sync)

保存退出

1
service nfs reload

2 Client 端 (192.168.0.18)

1
2
mkdir /opt/mist
mount 192.168.0.17:/opt/test /opt/mist

参考文档:
1> NFS : http://ccweb1.kek.jp/people/yashiro/guide/linux/manage/setup/nfs.html#Ls
2> 网络文件系统(NFS):http://www.gbunix.com/resource/doc/linux/redhat/rhl-cg-zh_CN-9/ch-nfs.html