/etc/init.d/iptables stop

/etc/init.d/iptables stop
 
 
systemctl stop firewalld.service
 

[root@bigdata-server-01 myrestserver]# firewall-cmd --state
not running
[root@bigdata-server-01 myrestserver]# systemctl stop firewalld.service
[root@bigdata-server-01 myrestserver]# firewall-cmd --state
not running
[root@bigdata-server-01 myrestserver]# systemctl start firewalld.service
[root@bigdata-server-01 myrestserver]# firewall-cmd --state
running
[root@bigdata-server-01 myrestserver]# systemctl stop firewalld.service
[root@bigdata-server-01 myrestserver]# firewall-cmd --state

posted @ 2017-10-17 19:17  papering  阅读(822)  评论(0编辑  收藏  举报