centos6.6学习笔记:关闭防火墙
文章目录
1、关闭SELINUX
vi /etc/selinux/config
#SELINUX=enforcing #注释掉
#SELINUXTYPE=targeted #注释掉
SELINUX=disabled #增加
2、关闭防火墙:
关闭命令:
service iptables stop
永久关闭防火墙:
chkconfig iptables off
运行完成后查看防火墙关闭状态
service iptables status
1、关闭SELINUX
vi /etc/selinux/config
#SELINUX=enforcing #注释掉
#SELINUXTYPE=targeted #注释掉
SELINUX=disabled #增加
2、关闭防火墙:
关闭命令:
service iptables stop
永久关闭防火墙:
chkconfig iptables off
运行完成后查看防火墙关闭状态
service iptables status
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论