开启图形界面
1. 安装图形界面⚓
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
2. 设置文本界面⚓
systemctl set-default multi-user.target
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
3. 设置图形界面⚓
systemctl set-default graphical.target