In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to enter the command line mode directly after CentOS startup". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
How to enter the graphical interface and text interface in CentOS, the real server of Linux will not run the graphical interface, how can you boot directly into the command interface without uninstalling the desktop? (I installed CentOS 6. 0) here is a brief introduction to the following:
First, if you want to enter the graphical interface:
1. First of all, it must be installed with a graphical interface, usually a X-window graphical interface.
two。 Start linux and enter: startx under the terminal to enter the graphical operation interface of X11.
Second, in the graphical interface can also be switched in multiple interfaces: in the X-window graphical operation interface, press the "Alt+Ctrl+ function key Fn nomenclature 6" to enter the Console character operation interface. Press "Alt+Ctrl+F7" to return to the previous X-window.
Third, how to automatically enter the xwindos or character interface every time?
Whether to enter the graphical interface or the command line after boot depends on the configuration in the inittab file. The file is located in the etc directory.
# vi / etc/inittab
Find the following statement:
# Default runlevel. The runlevels used by RHS are:
# 1-Single user mode-single user mode
# 2-Multiuser, without NFS (The same as 3, if you do not havenetworking)-Multi-user mode, NFS is not supported
# 3-Full multiuser mode-Multi-user mode
# 4-unused-not used
# 5-X11-graphical interface
# 6-reboot (Do NOT set initdefault to this)-restart
Id:5:initdefault:-default running level is 5. Just change this to id:3:initdefault:
In addition, if you want to start the graphical interface in text mode, you can use the following methods:
# startx
This is the end of the content of "how to enter command line mode directly after CentOS starts". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.