centos8安装图形桌面 yum groupinstall “Server with GUI” -y 安装图形桌面的软件包 systemctl set-default graphical 设置图形模式为默认模式启动 shutdown -r now 重启