1.iptables -F
2.vim /etc/selinux/config 修改 SELINUX=disabled
3.systemctl stop firewalld.service
关闭防火墙和SELinux,防止系统干扰导致部署不成功
[root@localhost ~]# setenforce 0
[root@localhost ~]# iptables -F
[root@localhost ~]# iptables -X
1.iptables -F
2.vim /etc/selinux/config 修改 SELINUX=disabled
3.systemctl stop firewalld.service
关闭防火墙和SELinux,防止系统干扰导致部署不成功
[root@localhost ~]# setenforce 0
[root@localhost ~]# iptables -F
[root@localhost ~]# iptables -X