我的CentOS版本
[terwer@terwergreen ~]$ uname -aLinux terwergreen 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux[terwer@terwergreen ~]$
关闭防火墙,并禁用
[terwer@terwergreen ~]$ systemctl stop firewalld.service[terwer@terwergreen ~]$ systemctl disable firewalld.serviceRemoved symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.