假设服务器端的IP为172.16.1.160,客户端的IP在172.16.1.0/24内
服务器端配置:
客户端配置:
服务器端配置:
vi /etc/exports
/center 172.16.1.*(rw,async,anonuid=501,anongid=501)
exportfs -av
service nfs start
chkconfig --level 3 nfs on
chkconfig --level 3 portmap on客户端配置:
vi /etc/fstab
172.16.1.160:/center /center nfs soft,intr,bg,timeo=50 0 0
mkdir /center
chkconfig --level 3 portmap on
service portmap start
mount /center
本文介绍了如何在服务器端和客户端配置NFS网络文件系统,包括服务器端的配置文件/etc/exports设置及服务启动,客户端的挂载配置等。
2667

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



