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