查看当前状态
sudo systemctl get-default
gracphical.target为图形化启动
multi-user.target为终端形式
使用sudo systemctl set-default multi-user.target设置