<a target="_blank" href="http://linux.51ou.com/"><b>一.nfs</b><b>配置案例</b></a>
<b>要求:</b>
1.NTFSSERVER共享/home目录给nfsclient,且nfsclient享有对共享文件系统读写权限
2.nfsclient手工加载服务器中的共享文件系统至/h1目录
<b>配置过程:</b>
<b>1. </b><b>nfsserver</b><b>的设置</b>
1) # rpm –ivh nfs-utils-1.0.1-2.i386.rpm
2) # vi /etc/exports
添加以下内容
/home nfsclient(rw)
3) # vi /etc/hosts
192.168.0.2 nfsclient
4) exportfs -a
5) # /etc/rc.d/init.d/nfs start
<b>2. </b><b>nfsclient</b><b>的设置</b>
1) # vi /etc/hosts
192.168.0.1 nfsserver
2) # mount –t nfs nfsserver:/home /h1
本文转自 sswqzx 51CTO博客,原文链接:http://blog.51cto.com/sswqzx/1082846