Increase the GNOME desktop after minimal installation of CentOS

Source: Internet
Author: User

Background: After downloading the CentOS 7 installation package, install it on the virtual machine.

Come up with a problem: prompted to open Intel Vt-x.

This enters the BIOS and opens in the settings of the CPU.

Then with the excitement of the mood, began the various next installation, unexpectedly only a few minutes will be loaded.

Boot into the system only to find the minimal installation, only the character interface.

Overcoming the urge to reinstall the system, I believe Linux can install the desktop later (which is unthinkable in Windows).

Record the entire process step:

① a powerful virtual machine, mount the disc file from the virtual machine first.

② log in to the system with the root user.

③mount/dev/sr0/media mount the installation disc file.

The ④ configuration disc is a local Yum source.

1 vi /etc/yum. repos.d/local.repo2 Enter the following in the editor:3[local]  4 name=local5 baseurl=file://media/6 enabled=17 gpgcheck=0

⑤ Reload the Yum cache.

1 mkdir /tmp/repo    2mv /etc/yum. REPOS.D/*  /tmp/repo  3mv/tmp/repo/local.repo  /etc/yum.repos.d/4yum Clean all && rm-rf/var/cache/yum/*5Yum Makecache

⑥ view the groups that can be installed.

Yum grouplist

⑦ Select the GNOME desktop.

Yum groupinstall-y  "GNOME Desktop"

⑧ set the boot mode to graphical mode.

LN -sf/lib/systemd/system/graphical.target/etc/systemd/system/default.target

OK, after restarting, is it a graphical interface?

Increase the GNOME desktop after minimal installation of CentOS

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.