安装 NFS
yum -y install nfs-utils
启动 NFS 服务
systemctl start nfs
配置文件 /etc/exports
格式:
共享目录绝对路径 授权访问的IP或网段(权限)
/share 192.168.1.0/24(ro)
共享目录为根目录下的share文件夹,允许192
安装 NFS
yum -y install nfs-utils
启动 NFS 服务
systemctl start nfs
配置文件 /etc/exports
格式:
共享目录绝对路径 授权访问的IP或网段(权限)
/share 192.168.1.0/24(ro)
共享目录为根目录下的share文件夹,允许192