Linux Basic & mdash; modify the startup mode./etc/inittabLinux treats X-Window (X) as a program instead of being bound to its kernel. In UNIX/Linux, the running level is generally divided into 7 levels (Level 9, but the actual application is Level 6, Level 1 reserved): 0 system downtime 1 single use... linux basics-modify the startup mode/etc/inittab Linux regards X-Window (X) as only one program, not bundled into its kernel. In UNIX/Linux, the running level is generally divided into 7 levels (Level 9, but the actual application is Level 6 and the level 1 is retained ): 0 system downtime 1 single-user mode 2 Multi-User Mode 3 network multi-user mode 4 reserved 5 X11 mode (entering the graphic interface mode) 6. to change the Linux startup mode (console or GUI), you only need to modify the/etc/inittab file. /Etc/inittab File (partial): # Default runlevel. the runlevels used by RHS are: #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) # id: 5: initdefault: to modify the startup level, change the number (5 by default) after "id:" In the "id: 5: initdefault:" line to the level you want. Note: do not change to 0, 0, indicating shutdown; do not change to 6. Otherwise, the instance will be restarted continuously ~
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.