在centos7中配置NFS
3 月,跳不动了?>>> 标签(空格分隔): 下面详细讲一下nfs怎么配置 1.介绍以下基本的环境,请对号入座 server端 系统:centos7 hostname:no1 ip:10.0.0.6 client端 系统:centos7 hostname:no2 ip:10.0.0.2 2.server端的配置 2.1下载安装rpcbind、nfs sudo yum install rpcbind nfs-utils nfs-utils-lib 2.2设置开机自启rpc、nfs服务 sudo systemctl enable rpcbind sudo systemctl enable nfs-server sudo systemctl enable nfs-lock sudo systemctl enable nfs-idmap 2.3开启rpc、nfs服务(注意要先开启rpc服务) sudo systemctl start rpcbind sudo systemctl start nfs-server sudo systemctl start nfs-lock sudo systemctl start nfs-idmap 2.4创建shared directory mkdir /mirror 2.5设置 /etc/exports sudo vim /etc/exports