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,400 courses taught by industry experts or purchase this course individually.
Make systemd services persistent
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
Make systemd services persistent
- [Instructor] When a Linux system boots up certain services are run automatically by system D. We can enable services so they start automatically or disable them so they don't. To see what services are enabled or disabled, type into a terminal: systemctl list-unit-files -at services and hit enter. Let's choose a service that's enabled and disable it. I'm going to choose atd.service. Press Q to quit and then type in: sudo systemctl disable atd and hit enter. Type in your password and hit enter again. We can press the up arrow key twice to bring back our list unit files line and hit enter. We can now see our atd.service is disabled. Press Q to quit. We can also use a simpler command, type in: systemctl is-enabled atd and hit enter. To re-enable atd we'll use the systemctl command again. Type in: sudo systemctl enable atd and hit enter and verify with: systemctl is-enabled atd and hit enter. We could also check the status…
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
-
-
-
-
Understand the Linux boot process2m
-
Boot into the emergency target5m 54s
-
Introduction to systemd services2m 32s
-
Get systemd service status3m 56s
-
Manage systemd services2m 33s
-
Make systemd services persistent1m 40s
-
Configure networking4m 41s
-
Configure a system to use network time protocol4m 9s
-
Manage one-time jobs with AT4m 4s
-
Manage reccuring user jobs with cron5m 2s
-
Manage reccuring system jobs with cron2m 41s
-
Limiting access to AT and cron3m 41s
-
-
-
-