1. Installation X Window System commands
yum groupinstall "X Window System" -y
2. Install GNOME graphical interface software
yum groupinstall "GNOME Desktop" -y process given the Transaction error Check: File / Boot / EFI / the EFI / RedHat from the install of the fwupdate-EFI-12-5.el7.x86_64 Conflicts with Package from File-Common-grub2. 1: 2.02 0.65.el7_4.2.noarch solution yum update grub2-common; yum install grub2-efi fwupdate after performing re-run yum groupinstall "GNOME Desktop" -y
The default system run level 3. Update
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
4. Restart System
reboot
CentOS7 the command line and each GUI switching manner
systemctl get-default // Get the current system startup mode systemctl set-default graphical.target // changed by the command-line mode to graphical mode // change systemctl set-default multi-user.target by a graphical interface to the command line mode