Boot Setup networking vim/etc/sysconfig/network-scripts/ifcfg-eth0 Onboot=yes
First command executed yum-y install gcc gcc-c++ automake pcre pcre-devel zlib zlib-devel open openssl-devel wget vim
Modify the/etc/selinux/config file to change the selinux=enforcing to selinux=disabled restart the machine
1) Permanent, no recovery after restart: Chkconfig iptables on off: chkconfig iptables off2) immediate effect, restart after restart: Service iptables start off: Service Ipta Bles stop
Vim/etc/inittab set to 3
Reboot
#/sbin/iptables-i input-p TCP--dport 80-j accept#/sbin/iptables-i input-p tcp--dport 22-j accept#/sbin/iptables-i Input-p TCP--dport 3306-j accept# Open port: 8080/sbin/iptables-i input-p TCP--dport 8080-j accept# then save #/etc/rc.d/init.d/ Iptables Save #查看防火墙信息/etc/init.d/iptables status
...
Centos SELINUX, I can't remember the name