centos7 linux 终端显示

查看默认的target,执行:
systemctl get-default


开机以命令模式启动,执行:
systemctl set-default multi-user.target


开机以图形界面启动,执行:

systemctl set-default graphical.target

相关推荐