防火墙
查看防火墙状态
firewall-cmd --state
systemctl status firewalld
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service
关掉selinux
sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/‘ /etc/selinux/config
永久修改主机名
hostnamectl set-hostname ***
原文:https://www.cnblogs.com/dengmeinan/p/12654853.html