Use Yum to install or uninstall the centos GUI package

Source: Internet
Author: User

Source: http://moneypy.blog.51cto.com/blog/745631/586101

Previously, the graphic interface was installed by default when I installed the company's servers. The next day, the company's engineers told me that the graphic interface could not be installed. I had to reinstall all the servers and I was always in doubt, after the GUI is installed, cannot it be uninstalled? In Linux, the graphic interface is only a software package, not the core. Today, when I read a book, I think of this problem. I found a simple method on the Internet, directly use Yum to install or uninstall it! Run the command line interface Yum grouplist to check the installed group Yum groupinstall "X Window System" yum groupinstall "GNOME desktop environment" startx or init 5. The centos system with graphic interface mode is re-installed to uninstall the graphic interface in Yum mode: yum groupremove "GNOME desktop environment" yum groupremove "X Window System" after Linux is installed on a GUI, an error init: ID "X" respawning too fast: the solution of disabled for 5 minutes is to find the text in VI/etc/inittab and change the number following the ID in the text to 3 ID: 3: initdefault enables the system to start the text interface to find the text section X: 5: respawn:/etc/X11/preofdm-nodaemon and comment it out!

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.