zl程序教程

您现在的位置是:首页 >  系统

当前栏目

centos7上关闭防火墙

2023-09-27 14:25:20 时间

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  这个命令了)