首页 > 其他 > 详细

centos7上关闭防火墙

时间:2017-12-04 12:31:53      阅读:257      评论:0      收藏:0      [点我收藏+]

centos7上默认开启的是+firewalld,关闭了iptables

停止防护墙:

systemctl stop firewalld.service

开机不启动:

systemctl disable firewalld.service

关闭防火墙:

systemctl stop iptables.service

开机不启动:

 systemctl disable iptables.service

 

加入到开机自启动:

chkconfig --add elasticsearch
systemctl enable elasticsearch.service   (此处不能再用chkconfig  xxx  on  这个命令了)

centos7上关闭防火墙

原文:http://www.cnblogs.com/kaishirenshi/p/7976419.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!