服务器端:
[root@dgserver stdby]# vi /etc/exports
[1]+ Stopped vi /etc/exports
[root@dgserver stdby]# vi /etc/exports
[root@dgserver stdby]# /etc/rc.d/init.d/portmap start
Starting portmap: [ OK ]
[root@dgserver stdby]# /etc/rc.d/init.d/nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
[root@dgserver stdby]# exportfs -rv
exporting *:/u01/rmanbak
[root@dgserver stdby]#
客户端
[root@oracle1 ~]# showmount -e 192.168.13.109
Export list for 192.168.13.109:
/u01/rmanbak *
[root@oracle1 ~]#
本文转自zylhsy 51CTO博客,原文链接:http://blog.51cto.com/yunlongzheng/1165500,如需转载请自行联系原作者