phi default gets level ica etc spa col there
查看/etc/inittab如下:
# systemd uses ‘targets‘ instead of runlevels. # by default, there are two main targets: # # multi-user.target: analogous to runlevel 3 # graphical.target: analogous to runlevel 5 # # To view current default target, run: # systemctl get-default # # To set a default target, run: # systemctl set-default TARGET.target
新版本的CentOS 系統裏使用’targets’ 取代了運行級別的概念。系統有兩種默認的’targets’: 多用戶.target 對應之前版本的3 運行級別; 而圖形.target 對應之前的5運行級別。
查看默認的target,執行:
systemctl get-default
開機以命令模式啟動,執行:
systemctl set-default multi-user.target
開機以圖形界面啟動,執行:
systemctl set-default graphical.target
CentOS 7 關閉圖形界面