近来从华为客服系统维护转到了华为大数据系统维护,新项目里面的系统安装的都是SUSE12SP1,发现之前在suse11下关闭防火墙的方法不行了,google了一下,总结如下:
service SuSEfirewall2_init stop
chkconfig SuSEfirewall2_init off
启动操作为:service SuSEfirewall2_setup startservice SuSEfirewall2_init start
取消开机启动防火墙:chkconfig SuSEfirewall2_init onchkconfig SuSEfirewall2_setup on
suse12下操作为:关闭防火墙 systemctl stop SuSEfirewall2.service 取消开机启动防火墙 systemctl disable SuSEfirewall2.service 开启防火墙 systemctl enable SuSEfirewall2.service 开机启动防火墙 systemctl start SuSEfirewall2.service
时间: 2024-10-09 22:08:41