读书人

nfs配备(centos5 测试通过)

发布时间: 2012-08-25 10:06:20 作者: rapoo

nfs配置(centos5 测试通过)
参考 http://linux.vbird.org/linux_server/0330nfs.php#What_NFS_perm
-
服务器端(192.168.1.98)
service portmap start
service nfs start
vi /etc/exports
/web *(rw,all_squash)
客户端(192.168.1.188等)
service portmap start
mount -t nfs 192.168.1.98:/web /var/www/html
-
-
自动启动mount
/etc/rc.d/rc.local
-
-
其它资料
unmount -l /var/www/html 卸载nfs
exportfs -arv 重新加载exportfs
exportfs -auv 卸载exportfs
showmount -e 192.168.1.98 查看nfs服务器信息
例一:示出目前部主的 RPC
[root@linux ~]# rpcinfo -p localhost

读书人网 >操作系统

热点推荐