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