1,命令模式 systemctl set-default multi-user.target 2,图形模式 systemctl set-default graphical.target 接着 reboot 即可