安装
yum groupreinstall "GNOME Desktop" "Graphical Administration Tools" # 安装
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
systemctl set-default graphical.target
reboot # 重启
卸载
yum groupremove "GNOME Desktop" "Graphical Administration Tools" # 安装
ln -b /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
systemctl set-default multi-user.target
reboot # 重启