Centos 8 is just released days, the world is full busy to download create his own test lab
Let me explain in this tutorials how to switch between run levels in Centos 8/ Redhat 8. i try to do that in 2 Ways.
First List all run levels called also targets
# systemctl list-units --type=target
Display my running runlevel
as you can see I’m now in Graphical mode
Change default to multi-user.target old name called runlevel 3 (TEXT MODE!)
# systemctl set-default multi-user.target
Check again the default Run level to boot with in the next reboot
# systemctl get-default
Now you can reboot
How to set Multiusertarget in Centos 8 /Redhat 8 ?
What we did above we can do it with the following easy commands.
#rm '/etc/systemd/system/default.target' #ln -s '/usr/lib/systemd/system/multi-user.target' '/etc/systemd/system/default.target'
Check the running target
To back to Graphical mode ( Graphical target)
#rm '/etc/systemd/system/default.target' #ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
#systemctl set-default graphical.target
Reboot to back to Graphical mode
Thank you .Please share ..