nfs 共享磁盘
服务端安装配置安装nfs主机:yum install nfs-utils -y重启服务,并且加入开机启动systemctl restart rpcbind && systemctl restart nfs && systemctl enable rpcbind && systemctl enable nfs创建共享目录mkdir /home/shar
服务端安装配置安装nfs主机:yum install nfs-utils -y重启服务,并且加入开机启动systemctl restart rpcbind && systemctl restart nfs && systemctl enable rpcbind && systemctl enable nfs创建共享目录mkdir /home/shar
CentOS 配置防火墙端口的步骤如下:查看当前防火墙状态systemctl status firewalld开启防火墙systemctl start firewalld添加需要开放的端口firewall-cmd --zone=public --add-port=80/tcp --permanent其中,--zone 参数指定防火墙区域,--add-port 参数指定需要开放的端口,--perma