CentOS 7 開機自動進入 GUI 或 CLI

目前狀態

sudo systemctl get-default

進入CLI

systemctl set-default multi-user.target

進入GUI

systemctl set-default graphical.target