From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Manage systemd services
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
Manage systemd services
- [Instructor] System services are processes started by the OS, and they're managed by the systemctl command. With systemctl, we can start, stop, and restart services. Let's look at all unit files. In a terminal, type in systemctl space list dash unit dash files space dash at space service and hit enter. This will show which services are enabled or disabled. Let's pick the at service since it's enabled. Let's stop the at service using systemctl. You'll need to elevate privileges using sudo. Press Q to quit and then type in sudo space systemctl space stop space atd and hit enter. Type in your password and hit enter again. Now let's check the status of the atd service. Type in systemctl space status space atd and hit enter. We can see that the atd service is enabled, but is not currently running. We can start the atd service backup using the systemctl command. We'll need to elevate privileges using sudo space systemctl…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Understand the Linux boot process2m
-
(Locked)
Boot into the emergency target5m 54s
-
(Locked)
Introduction to systemd services2m 32s
-
(Locked)
Get systemd service status3m 56s
-
(Locked)
Manage systemd services2m 33s
-
(Locked)
Make systemd services persistent1m 40s
-
(Locked)
Configure networking4m 41s
-
(Locked)
Configure a system to use network time protocol4m 9s
-
(Locked)
Manage one-time jobs with AT4m 4s
-
(Locked)
Manage reccuring user jobs with cron5m 2s
-
(Locked)
Manage reccuring system jobs with cron2m 41s
-
(Locked)
Limiting access to AT and cron3m 41s
-
(Locked)
-
-
-