1. 程式人生 > >CentOS7更改運行級別

CentOS7更改運行級別

centos moved emd mov symlink ted bsp 查看系統 運行

Step 1:查看系統默認運行級別

[root@node-1 html]# systemctl get-default //圖形界面
graphical.target

[root@node-1 html]# systemctl list-units --type=target //查看支持的運行級別

Step 2:更改運行級別為level3

[root@node-1 html]# systemctl set-default multi-user.target
Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target.
[root@node-1 html]#

Step 3:reboot

CentOS7更改運行級別