Recently installed the Oracle database configuration under CentOS Linux, always display EM because the network port caused the installation to fail, then the intention to close at the firewall.
Chance to see the firewall configuration instructions, it feels good. Execute "setup" command to start the text mode configuration utility, select "Firewall Configuration" in the "Select a tool" and then select "Run tool" button, the firewall configuration interface, the "security level" to "Disabled" then select the "OK" button.
Or use the command:
# / Sbin / iptables -I INPUT -p tcp -dport 80 -j ACCEPT
# / Sbin / iptables -I INPUT -p tcp -dport 22 -j ACCEPT
# / Etc / rc.d / init.d / iptables save
After this restart the computer, the default firewall has open ports 80 and 22
It should also be not restart the computer:
# / Etc / init.d / iptables restart
Firewall close, close to its services:
View firewall information:
# / Etc / init.d / iptables status
Turn off the firewall service:
# / Etc / init.d / iptables stop
Permanently closed? I do not know how permanent law:
#chkconfig -level 35 iptables off