执行如下命令查看当前开机启动模式
systemctl get-default
graphical.target代表开机时启动图形化界面;multi-user.target代表开机时启动dos界面
最后输入如下命令设置开机启动图形界面
systemctl set-default graphical.target
推荐教程:centos教程
The above is the detailed content of How to set up centos7 to boot into the graphical interface. For more information, please follow other related articles on the PHP Chinese website!