Set centos as text Startup Mode

Source: Internet
Author: User

CentosThe graphic interface must use a large amount of memory and CPU resources of the system. For the server, high efficiency is the most important. Therefore, centos is started by default and changed to the text mode.

Enter:

VI/etc/inittab

Description text:
# Default runlevel. The runlevels used by RHS are:
#0-halt (do not set initdefault to this)
#1-single user mode ------- Single User Mode
#2-multiuser, without NFS (the same as 3, if you do not have networking) -- text interface without Network Services
#3 -Full multiuser mode ------------- text interface with network service, this is generally the case unless it is a single machine
#4-unused
# 5 -X11 ------------ is the image
#6-Reboot (do not set initdefault to this)
ID: 5: initdefault:


Change 5 to 3, that is ID: 5: initdefault:

Press ESC and then: WQ. Then reboot OK!

To enter the graphic interface: startx, you can.



Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.