1.对yum进行配置安装。//这是重点
[root@localhost ~]# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
2.更新系统运行级别
[root@localhost ~]# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
4.重启
[root@localhost ~]#reboot