Linux Service Management Made Easy with systemd: Advanced techniques to effectively manage, control, and monitor Linux systems and services Front Cover

Linux Service Management Made Easy with systemd: Advanced techniques to effectively manage, control, and monitor Linux systems and services

  • Length: 420 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2022-02-03
  • ISBN-10: 1801811644
  • ISBN-13: 9781801811644
  • Sales Rank: #1725253 (See Top 100 Books)
Description

A comprehensive guide for teaching system administrators, developers, and security professionals how to create their own systemd units and maintain system security

Key Features

  • Get well-versed with maintaining and troubleshooting systemd services
  • Learn to create, modify, and reload service files and use systemd utilities
  • Use cgroups to control resource usage and enhance security

Book Description

systemd is a new type of Linux init system for today’s high-performance, multi-CPU, and multi-core hardware that is now used on all major enterprise-grade Linux distros. The main goal of this Linux systemd book is to help you get an in-depth understanding of systemd to set up your servers securely and efficiently.

This book starts by explaining systemd management, which will help you manage your servers effectively. You’ll then learn how to edit and create your own systemd units, which will be particularly helpful if you need to create custom services or timers and add features or security to an existing service. Next, you’ll understand how to analyze and fix boot-up challenges and set system parameters. Later, you’ll come across cgroups, that’ll help you control system resource usage for both processes and users. The book also shows you how cgroups are structured, the differences between cgroups Version 1 and 2, and how to set resource limits on both. Finally, you’ll learn about the systemd way of performing time-keeping, networking, logging, and login management. You’ll discover how to configure servers accurately and gather system information to analyze system security and performance.

By the end of this Linux book, you’ll be able to efficiently manage all aspects of a server running the systemd init system.

What you will learn

  • Use basic systemd utilities to manage a system
  • Create and edit your own systemd units
  • Create services for Podman-Docker containers
  • Enhance system security by adding security-related parameters
  • Find important information with journald
  • Analyze boot-up problems
  • Configure system settings with systemd utilities

Who this book is for

This book is for Linux administrators who want to learn more about maintaining and troubleshooting Linux servers. Aspiring administrators studying for a Linux certification exam and developers looking to learn how to create systemd unit files will also find this book useful. Additionally, this book will be helpful for security administrators who want to understand the security settings that can be used in systemd units and how to control resource usage with cgroups. Working knowledge of basic Linux commands is assumed.

Table of Contents

  1. Understanding the Need for systemd
  2. Understanding systemd Directories and Files
  3. Understanding Service, Path, and Socket Units
  4. Controlling systemd Services
  5. Creating and Editing Services
  6. Understanding systemd Targets
  7. Understanding systemd Timers
  8. Understanding the systemd Boot Process
  9. Setting System Parameters
  10. Understanding Shutdown and Reboot Commands
  11. Understanding cgroups Version 1
  12. Controlling Resource Usage with cgroups Version 1
  13. Understanding cgroup Version 2
  14. Using journald
  15. Using systemd-networkd and systemd-resolved
  16. Understanding Timekeeping with systemd
  17. Understanding systemd and Bootloaders
  18. Understanding systemd-logind
To access the link, solve the captcha.