Linux Service Management Made Easy with systemd
Author | : Donald A. Tevault |
Publisher | : Packt Publishing Ltd |
Total Pages | : 420 |
Release | : 2022-02-03 |
ISBN-10 | : 9781801815031 |
ISBN-13 | : 1801815038 |
Rating | : 4/5 (31 Downloads) |
Book excerpt: A comprehensive guide for teaching system administrators, developers, and security professionals how to create their own systemd units and maintain system security Key Features Maintain and troubleshoot systemd services with ease Learn to create, modify, and reload service files and use systemd utilities Use cgroups to control resource usage and enhance security Book DescriptionLinux Service Management Made Easy with systemd will provide you with an in-depth understanding of systemd, so that you can set up your servers securely and efficiently.This is a comprehensive guide for Linux administrators that will help you get the best of systemd, starting with an explanation of the fundamentals of systemd management.You’ll also 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 find out how to analyze and fix boot-up challenges and set system parameters. An overview of cgroups that'll help you control system resource usage for both processes and users will also be covered, alongside a practical demonstration on how cgroups are structured, spotting 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 best suited for Linux administrators who want to learn more about maintaining and troubleshooting Linux servers. It will also be useful for aspiring administrators studying for a Linux certification exam, developers looking to learn how to create systemd unit files, and security administrators who want to understand the security settings that can be used in systemd units and how to control resource usage with cgroups. Before you dive into this book, you’ll need a solid working knowledge of basic Linux commands.