Runlevel System State 0 Halt the system 1 Single user mode 2 Basic multi user mode 3 Multi user mode 5 Multi user mode with GUI 6 Reboot the system S, s Single user mode [root@wode003 ~]# cat /etc/inittab # inittab is no longer used when using system…
CentOS 7 之前的版本是通过 /etc/inittab 文件来定义系统运行级别: [sywu@wusuyuan ~]$ cat /etc/centos-release CentOS release 6.4 (Final) [sywu@wusuyuan ~]$ cat /etc/inittab # inittab is only used by upstart for the default runlevel. # # ADDING OTHER CONFIGURATION HERE WILL…