一、修改hostname
hostnamectl set-hostname xx
二、安装vim
yum install -y vim
三、将计算机hostname与ip地址绑定在一块
vi /etc/hosts
ip xx
四、修改ifcfg-ens32
vi /etc/sysconfig/network-scritpts/ifcfg-ens32
五、重置网络
systemctl restart network
六、关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
+
查看防火墙状态
systemctl status firewalld