一、初始化基本配置 关闭SELINUX setenforce 0 sed -i "s/enforcing/disabled/g" `grep enforcing -rl /etc/selinux/config` 配置网络接口(IP为示例,自行修改) echo "DEVICE=ens192 ONBOOT=yes BOOTPROTO=static IPADDR=192.168.10.94 NETMASK=255.255.255.0 GATEWAY=192.168.10.250 DNS1=192.168.10.59" &…