1、切换到root用户,执行yum groupinstall “X Window System” -y
2、执行yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts -y安装相关组件
3、设置默认启动图形界面
systemctl set-default graphical.target(如果改回命令行: systemctl set-default multi-user.target)
4、安装中文语言包
[root@localhost ~]# yum list|grep fonts |grep chinese
google-noto-sans-simplified-chinese-fonts.noarch
google-noto-sans-traditional-chinese-fonts.noarch
[root@localhost ~]# yum install -y google-noto-sans-simplified-chinese-fonts.noarch
5、重启系统生效
reboot
#感谢这篇文章(https://blog.csdn.net/wangkai_123456/article/details/79077932)的指导