Modify the default linux Startup level
Modify the system startup level: Modify the default system startup status to 3 + users.
In Linux, there are 7 startup levels. The default value is X-Window, such as Windows Window mode. in Linux, we generally use the input command to complete operations and configurations, like the DOS operating system, how does one enable Linux to enter this mode as soon as it is started?
Log on to Linux as an administrator and modify the file:/etc/inittab.
Find "id: 5: initdefault:", 5 is X-Window, which is the default running level. We can change 5 to 3.
There are 7 startup levels:
#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)
Detailed explanation of each running level:
0 indicates that the machine is shut down.
1 is the single-user mode, just like the security mode in Win9x.
2: multi-user mode, but not supported by NFS.
3 is a complete multi-user mode, which is a standard operation level.
4. Generally, you can use it to do things in some special cases. For example, you can switch to this mode to make some settings when the battery of your laptop is exhausted.
5 is X11, And it enters the X Window System.
6. Restart the init 6 server.
0 and 6 are generally not used;
Run startx to start to level 5.