浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Howto disable the iptables firewall and SELInux in Linux - xencao的日志 - 网易博客

Howto disable the iptables firewall and SELInux in Linux   

2011-03-13 13:48:50|  分类: L系统类 |  标签:firewall  selinux   |字号  订阅

1. Iptables firewall

Task: Disable / Turn off Linux Firewall 

# /etc/init.d/iptables save
# /etc/init.d/iptables stop

Task: Enable / Turn on Linux Firewall

# /etc/init.d/iptables start

2. SElinux

Turning off SELinux temporarily

echo 0 > /selinux/enforce
echo 1 > /selinux/enforce

Completely turning off SELinux

vi /etc/selinux/config
SELINUX=permissive or 
SELINUX=disabled
posted on 2013-01-21 11:44  lexus  阅读(295)  评论(0编辑  收藏  举报