The modification method in centOS is as follows:
1. Log in as root to avoid sudo
2. Open the /etc/inittab file
#vim /etc/inittab
3. In the default run level setting, you can see that the first line is written as: id:5:initdefault:(The default run level is 5, that is, the graphical
interface )
4. Change the 5 in the first line to 3.
5. After saving the file, restart the system and you can see the text interface that is started.
CentOS sets the default startup command line (does not start the graphical interface)
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327077014&siteId=291194637
Recommended
Ranking