Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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!

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 15m
Published
Clock icon Sep 18, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Investigate the systemd Environment and Service Status

    1. Show the systemd environment.
    2. View service status.
    3. Become familiar with the systemd directory contents and query and display service parameters.
  2. Challenge

    Install a systemd-Managed Service and Change Its Parameters

    1. Install CUPS
    2. View its status and start and stop the service
    3. Change a service parameter and find out what changed as a result
  3. Challenge

    Reverse a Parameter Change to a Service

    1. 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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans