RHCSA RHEL 8 - Boot systems into different targets manually

Опубликовано: 01 Октябрь 2024
на канале: Computers, Security & Gadgets
7,639
163

Buy CSG Merchandise:
http://tee.pub/lic/csg
Patreon page:   / computers_servers  

This video is based on RHEL 8.

Video to cover the section 'Boot systems into different targets manually' for the RHCSA (Red Hat Certified System Administrator).

More information on the required learning: http://bit.ly/rhcsa8

Notes from the video:

List of common targets:
Runlevel Target Units Description
0 runlevel0.target, poweroff.target Shut down and power off the system.
1 runlevel1.target, rescue.target Set up a rescue shell.
2 runlevel2.target, multi-user.target Set up a non-graphical multi-user system.
3 runlevel3.target, multi-user.target Set up a non-graphical multi-user system.
4 runlevel4.target, multi-user.target Set up a non-graphical multi-user system.
5 runlevel5.target, graphical.target Set up a graphical multi-user system.
6 runlevel6.target, reboot.target Shut down and reboot the system.

Viewing the default target:
systemctl get-default

Viewing the current target:
systemctl list-units --type target
systemctl list-units --type target --all

Changing the default target to multi-user:
systemctl set-default multi-user.target

Changing the current target to multi-user:
systemctl isolate multi-user.target

Changing to rescue mode:
systemctl isolate rescue.target

Change to rescue without warning message:
systemctl --no-wall rescue

Changing to emergency mode
systemctl isolate emergency.target
systemctl --no-wall emergency

#rhcsa #rhel #linux