C6:chkconfig iptables on
C7:systemctl enable firewalld
二、启动流程不同
1、CentOS 6(顺序启动)
0 - halt (Do NOT set initdefault to this)
1 - Single user mode
2 - Multiuser, without NFS (The same as 3, if you do not have networking)
3 - Full multiuser mode 命令行模式
4 - unused
5 - X11 桌面模式
6 - reboot(Do NOT set initdefault to this)
一、启动和关闭服务的命令不同(以防火墙为例)1、启动/关闭/重启C6:service iptables start/stop/restartC7:systemctl start/stop/restart firewalld2、开机自启C6:chkconfig iptables onC7:systemctl enable firewalld二、启动流程不同1、CentOS 6(顺序启动)0 - halt (Do NOT set initdefault to this)1 - Singl