Tuesday, May 2, 2017

How to setup CentOS 7 to boot up to text mode

systemctl -f enable multi-user.target   <= boot to TEXT mode

ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target <= TEXT mode

ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target <=GUI mode