服务端、客户端:26.129
1、安装rpcbind和nfs-utils
可以用以下命令查看系统是否已经安装
rpm -qa|grep rpcbind
rpm -qa|grep nfs
2、设置共享目录
打开/etc/exports设置[root@bogon scripts]# cat /etc/exports /sharestore *(rw,sync,no_root_squash) /home/informix/scripts *(rw,sync,no_root_squash)
3、重启服务器
service rpcbind restartservice nfs-utils restart
4、在客户端挂载
客户端也需要安装rpcbind 和 nfs-utils, 启动这两个服务mount -t nfs 10.10.14.52:/mnt/share /mnt