当前位置: 首页 > Linux

centos6.6学习笔记:关闭防火墙

时间:2023-04-06 21:15:04 Linux

1、关闭SELINUXvi/etc/selinux/config#SELINUX=enforcing#commentout#SELINUXTYPE=targeted#commentoutSELINUX=disabled#add2、关闭防火墙:turnoff命令:serviceiptablesstop永久关闭防火墙:chkconfigiptablesoff操作完成后,查看防火墙serviceiptablesstatus的关闭状态