最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Linux/RedHat 6.4 关闭系统自带防火墙
时间:2015-12-11 编辑:简简单单 来源:一聚教程网
第一次使用RedHat很多不熟悉的地方,记录下:
检查状态:
service iptables status
停止服务:
service iptables stop
查看防火墙服务:
chkconfig --list | grep iptables
关闭状态为“开启”的:
chkconfig --level 2345 iptables off
同时关闭IP6的:
chkconfig --level 2345 ip6tables off
再次检查是否都关闭:
chkconfig --list | grep iptables
chkconfig --list | grep ip6tables
还需要修改一个设置:
vi /etc/selinux/config
注释掉原来 SELINUX= 开头的一行,重新加入以下内容:
SELINUX=disabled
保存,重启服务器。
相关文章
- Linux防火墙的关闭和开启、禁用SeLinux 04-05
- win11内核隔离和内存完整性介绍 10-31
- win10全屏缩放设置教程 10-31
- win10系统备份出错解决教程 10-31
- win10打开软件每次都要询问解决教程 10-31
- win10更新驱动后设备出现异常解决教程 10-31