1.CentOS的启动级别主要有,默认以 leve 5的方式启动

#   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)

#

2.修改/etc/inittab文件将initdefault的级别由5修改为3

3. 重启CentOS系统即可