更改centos 7 的默认启动为命令界面
vi /etc/inittab
可以看到这样两行:
# To set a default target, run:
# systemctl set-default TARGET.target
故: sudo systemctl set-default multi-user.target
即可
vi /etc/inittab
可以看到这样两行:
# To set a default target, run:
# systemctl set-default TARGET.target
故: sudo systemctl set-default multi-user.target
即可