-
原理: Linux 启动时,会指向一个
.target
文件,例如图形化界面是graphical.target
-
实现不启动图形界面:
$ sudo systemctl set-default multi-user.target
ref: https://www.cyberciti.biz/faq/switch-boot-target-to-text-gui-in-systemd-linux/
原理:
Linux 启动时,会指向一个 .target
文件,例如图形化界面是 graphical.target
实现不启动图形界面:
$ sudo systemctl set-default multi-user.target
ref: https://www.cyberciti.biz/faq/switch-boot-target-to-text-gui-in-systemd-linux/