In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to modify the default startup level of the system in Linux, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Modify the system startup level: modify the system to start to 3 multi-user state by default, there are 7 startup levels in Linux, the default is X-Window, like the window mode of Windows, and the operation and configuration of Linux are generally completed by entering commands, like the DOS operating system, how to make Linux enter this mode as soon as it starts?
Step 1: enter Linux as an administrator and modify the file: / etc/inittab file.
Step 2: find "id:5:initdefault:", where 5 is X-Window. For the default run level, we can change 5 to 3.
# 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 operator level:
0 means shutdown and the machine shuts down.
1 is a single-user mode, similar to the security mode under Win9x.
2 is multi-user mode, but there is no NFS support.
3 is a complete multi-user mode, which is the standard running level.
4 generally not, it can be used to do some things in some special cases. For example, when the laptop battery runs out, you can switch to this mode to make some settings.
5 is X11, which is in the X Window system.
6 to restart, the machine running init 6 will restart.
0 and 6 are generally not used.
Run startx to boot to level 5.
The above is how to change the default startup level of the system in Linux. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.