O'Reilly logo
live online training icon Live Online training

Mastering systemd

Topic: System Administration
Sander van Vugt

Take your Linux skills to the next level with systemd. systemd is more than a service manager. It's the manager of everything that runs on top of the Linux kernel. systemd is like the dashboard in a new high-end car; there are a ton of features that most people don’t even know about. So if you want to learn not only what those features are, but how you can make the most of them, this course is for you. Mastering systemd provides you with background information on common systemd tasks, such as managing services, as well as how to perform tasks that are not so common, such as working with mounts and automount, timers, systemd containers in nspawn, cgroups, and more. This is the course you need to truly understand systemd.

What you'll learn-and how you can apply it

  • Advanced service management techniques
  • Managing mounts and automount with systemd
  • Schedule jobs using systemd timers
  • Manage resource allocation with cgroups

This training course is for you because...

  • You have learned about the systemd basics, and now are ready to unleash its full powers

Prerequisites

Course Set-up

  • To follow along with the demos in this course, participants are required to have access to any running instance of a recent Linux distribution.

Recommended Preparation

  • (Live Online Training) Linux Fundamentals Bootcamp with Sander van Vugt (search the O'Reilly Learning Platform for an upcoming date)

Recommended Follow-up

About your instructor

  • Sander van Vugt started working with Linux in 1992. He wrote his first book about Linux in 1999, and up to date has completed 62 different books on Linux related topics, including the best selling titles like the RHCSA Complete Video Course and the Certified Kubernetes Application Developer (CKAD) Crash Course as well as many other open source platform titles. He also works as a Linux instructor, teaching on-site and on-line classes for customers around the world.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Segment 1: Advanced systemd service management (35 minutes)

  • Configuring vim to be the default systemd editor
  • Managing service dependencies
  • Managing service autostart
  • Systemd targets deep-dive
  • Managing advanced service properties

Segment 2: Managing mounts and automounts (20 minutes)

  • Understanding fstab-generator
  • Managing mounts and automounts with systemd
  • Towards Linux without fstab

Break (10 mins)

Segment 3: Managing systemd timers (15 minutes)

  • Understanding systemd timers
  • Scheduling jobs with systemd timers

Segment 4: Working with systemd paths (15 minutes)

  • Understanding systemd paths
  • Using systemd paths

Segment 5: Creating containers with systemd nspawn (20 minutes)

  • Understanding nspawn
  • Running containers with systemd-nspawn

Break (10 mins)

Segment 6: Managing resource allocation with systemd cgroups (35 minutes)

  • Understanding cgroups
  • Running services with resource limitations
  • Managing slices and scopes

Segment 7: Managing networks with systemd (15 minutes)

  • Understanding network management options
  • Configuring systemd-networkd

Q&A (10 mins)