Howto disable the iptables firewall and SELInux in Linux - xencao的日志 - 网易博客
1. Iptables firewall
Task: Disable / Turn off Linux Firewall
# /etc/init.d/iptables save
# /etc/init.d/iptables stopTask: Enable / Turn on Linux Firewall
# /etc/init.d/iptables start2. SElinux
Turning off SELinux temporarily
echo 0 > /selinux/enforce
echo 1 > /selinux/enforce
Completely turning off SELinux
vi /etc/selinux/configSELINUX=permissive or
SELINUX=disabled