1. 首页
  2. 数据库
  3. 其它
  4. centos7–NFS共享服务

centos7–NFS共享服务

上传者: 2021-01-15 06:21:04上传 PDF文件 40.84KB 热度 22次
#关闭防火墙和selinux [root@ c7-41 ~] systemctl stop firewalld [root@ c7-41 ~] setenforce 0 1,在主机A 服务端安装nfs-utils,rpcbind,提供NFS共享的服务为nfs [root@ c7-41 ~] yum -y install nfs-utils rpcbind [root@ c7-41 ~] systemctl enable nfs rpcbind #添加开机自启 2,设置共享目录,NFS的配置文件为/etc/exports,文件内容默认为空(无任何共享),在exports文件中设置共享资源时,
下载地址
用户评论