centos7–NFS共享服务
#关闭防火墙和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文件中设置共享资源时,
下载地址
用户评论