- Lab
- A Cloud Guru
Using systemctl to Configure systemd
Knowing how to use `systemctl` is one of the most important and foundational skills to have when managing systemd-based systems. The `systemctl` utility is used for so many tasks and contains such a large amount of subcommands that it can be slightly intimidating at first for those familiar with individual commands for most management tasks. In this lab, we'll get you used to using `systemctl` to view systemd's environment, settings, view status on services, show and set parameters that affect service function, and understand what happens when you set settings, both from a `systemd` daemon perspective, as well as drop-in directories and additional configuration add-ins. You'll come out of this lab feeling more confident with `systemctl` than ever and ready to start managing your systemd-based systems right away!
Path Info
Table of Contents
-
Challenge
Investigate the systemd Environment and Service Status
- Show the systemd environment.
- View service status.
- Become familiar with the systemd directory contents and query and display service parameters.
-
Challenge
Install a systemd-Managed Service and Change Its Parameters
- Install CUPS
- View its status and start and stop the service
- Change a service parameter and find out what changed as a result
-
Challenge
Reverse a Parameter Change to a Service
- You'll stop the service, remove the setting, change directory, and override files, reload systemd's daemon and restart the service, and confirm it is back to factory settings.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.