جزییات کتاب
A comprehensive guide for teaching system administrators, developers, and security professionals how to create their own systemd units and maintain system securityKey FeaturesGet well-versed with maintaining and troubleshooting systemd servicesLearn to create, modify, and reload service files and use systemd utilitiesUse cgroups to control resource usage and enhance securityBook Descriptionsystemd 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 learnUse basic systemd utilities to manage a systemCreate and edit your own systemd unitsCreate services for Podman-Docker containersEnhance system security by adding security-related parametersFind important information with journaldAnalyze boot-up problemsConfigure system settings with systemd utilitiesWho this book is forThis 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 ContentsUnderstanding the Need for systemdUnderstanding systemd Directories and FilesUnderstanding Service, Path, and Socket UnitsControlling systemd Services Creating and Editing Services Understanding systemd TargetsUnderstanding 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 systemdUnderstanding systemd and Bootloaders Understanding systemd-logind