Centos7设置开机启动界面:图形化or命令行

进入root模式下


1.获取当前默认界面

systemctl get-default

2.设置命令行界面

systemctl set-default multi-user.target

3.设置图形化界面

systemctl set-default graphical.target

转载自:https://www.jianshu.com/p/f4f93e25c2e9

原文地址:https://www.cnblogs.com/fengyun2019/p/12972951.html