1、查看默认的target,执行: systemctl get-default 2、开机以命令模式启动,执行: systemctl set-default multi-user.target 3、开机以图形界面启动,执行: systemctl set-default graphical.target