图形化界面安装
查询出需要安装的是 Server with UKUI GUI
yum grouplist
安装Server with UKUI GUI
yum groupinstall "Server with UKUI GUI"
查看当前的启动模式
systemctl get-default
手动切换图形
startx
设置启动级别为图形化
systemctl set-default
启动图形化
systemctl start
重启服务器reboot
查看当前的启动模式
systemctl get-default
显示(图形化) 即可
设置开机进入命令行模式
systemctl set-default
图形化桌面卸载
yum groupremove "Server with UKUI GUI"