yum grouplist
yum groupinstall "GNOME Desktop"
systemctl set-default multi-user.target #设置成命令模式 systemctl set-default graphical.target #设置成图形模式
reboot
yum groupremove “GNOME Desktop”