【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
Centos7.x关闭防火墙
在Centos6.0版本的时候,我们可以使用service iptables stop这样的命令来停止防火墙,但是在Centos7.x里面防火墙没有使用iptables,而是改成firewalld了,而且也在使用systemctl来替换service,所以在centos7.x版本的时候,我们如果想要关闭防火墙,可以使用如下命令
systemctl stop firewalld.service
如果想要永久关闭,可以使用如下命令来实现
systemctl disable firewalld.service
来源:oschina
链接:https://my.oschina.net/mingshashan/blog/3151362