Centos7 modify run level
Systemd uses a more free target concept than the sysvinit runtime level as an alternative to the third runtime level: multi-user.target fifth runtime level: graphical.targetruntime the front is a symbolic chain pointing to the back targetrunlevel3.tar get-> multi-user.targetrunlevel5.target-> graphical.tar get # Switch: run level 3 # both can systemctl isolate multi-user.targetsystemctl isolate runlevel3.target # Switch: running Level 5 # both of them can be systemctl isolate graphical.tar getsystemctl isolate runleve5.target # modify the default running level when starting the system. systemd uses the link to point to the default running level. It is determined by the/etc/systemd/system/default.tar get file to switch to runtime Level 3: delete first: /etc/systemd/system/default.tar getln-sf/lib/systemd/system/multi-user.target/etc/systemd/system/default.tar getln-sf/lib/systemd/system/runlevel3.target/etc /systemd/system/default.tar get # With this can also systemctl set-default multi-user.target switch to the runtime level 5ln-sf/lib/systemd/system/graphical.tar get/etc/systemd/system/default.tar getln-sf/lib/systemd/system/runlevel5.target/etc/systemd/system/default.tar get # use this function to set systemctl-default graphical.tar get # view runlevel// Still available