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
-
Understanding the Need for systemd
-
Understanding systemd Directories and Files
-
Understanding Service, Path, and Socket Units
-
Controlling systemd Services
-
Creating and Editing Services
-
Understanding systemd Targets
-
Understanding systemd Timers
-
Understanding the systemd Boot Process
-
Setting System Parameters
-
Understanding Shutdown and Reboot Commands
-
Understanding cgroups Version 1
-
Controlling Resource Usage with cgroups Version 1
-
Understanding cgroup Version 2
-
Using journald
-
Using systemd-networkd and systemd-resolved
-
Understanding Timekeeping with systemd
-
Understanding systemd and Bootloaders
-
Understanding systemd-logind
ارسال نظر درباره کتاب Linux Service Management Made Easy with systemd: Advanced techniques to effectively manage, control, and monitor Linux systems and services