1、服务器端和客户端安装NFS
1
|
yum
install
-y nfs\*
|
2、服务器启动NFS
1
2
3
4
|
service rpcbind start
service ntp start
chkconfig rpcbind on
chkconfig nfs on
|
3、编辑expors文件
1
2
|
vim
/etc/exports
/software
10.13.106.0
/24
(ro,
sync
)
|
4、客户端挂载NFS
1
2
|
mkdir
/software
mount
10.13.106.11:
/software
/software/
|
本文转自1321385590 51CTO博客,原文链接:http://blog.51cto.com/linux10000/1787802,如需转载请自行联系原作者