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.
WAY 1:
First List all run levels called also targets
# systemctl list-units --type=target
Display my running runlevel
systemctl get-default
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
#reboot
WAY 2:
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
#systemctl get-default
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'
Or
#systemctl set-default graphical.target
Reboot to back to Graphical mode
Thank you .Please share ..