NFS配置

服务器:

1. 修改配置文件: /etc/exports

/oracle *(sync,rw,no_root_squash)

2.启动NFS服务

service portmap start[restart]                     

service nfs start[restart]  

3.客户端挂载

启动service portmap start

[root@localhost hgfs]# mkdir /oracle190s
[root@localhost hgfs]# mount -o nolock -t nfs 10.199.88.190:/oracle  /oracle190s 

root用户就有了读写权限

原文地址:https://www.cnblogs.com/endsock/p/2770213.html