1、安装图形化(安装包较多时间比较久)
所以可以先加速一下yum
#配置yum源自行配置后可加速yum
yum -y install epel-release
yum -y install yum-plugin-fastestmirror
##安装tab补齐
yum -y install bash-completion
立即生效
source /etc/profile.d/bash_completion.sh
或者退出终端重新登录
2、yum grouplist ##查看安装组
yum groupinstall -y "GNOME Desktop" "Server with GUI" "Development Tools"
查看当前模式
systemctl get-default
graphical.target 图形化
multi-user.target 命令行
可以通过 systemctl set-default graphical.target multi-user.target来回切换