Book Image

Red Hat Enterprise Linux 8 Administration

By : Miguel Pérez Colino, Pablo Iranzo Gómez, Scott McCarty
Book Image

Red Hat Enterprise Linux 8 Administration

By: Miguel Pérez Colino, Pablo Iranzo Gómez, Scott McCarty

Overview of this book

Whether in infrastructure or development, as a DevOps or site reliability engineer, Linux skills are now more relevant than ever for any IT job, forming the foundation of understanding the most basic layer of your architecture. With Red Hat Enterprise Linux (RHEL) becoming the most popular choice for enterprises worldwide, achieving the Red Hat Certified System Administrator (RHCSA) certification will validate your Linux skills to install, configure, and troubleshoot applications and services on RHEL systems. Complete with easy-to-follow tutorial-style content, self-assessment questions, tips, best practices, and practical exercises with detailed solutions, this book covers essential RHEL commands, user and group management, software management, networking fundamentals, and much more. You'll start by learning how to create an RHEL 8 virtual machine and get to grips with essential Linux commands. You'll then understand how to manage users and groups on an RHEL 8 system, install software packages, and configure your network interfaces and firewall. As you advance, the book will help you explore disk partitioning, LVM configuration, Stratis volumes, disk compression with VDO, and container management with Podman, Buildah, and Skopeo. By the end of this book, you'll have covered everything included in the RHCSA EX200 certification and be able to use this book as a handy, on-the-job desktop reference guide. This book and its contents are solely the work of Miguel Pérez Colino, Pablo Iranzo Gómez, and Scott McCarty. The content does not reflect the views of their employer (Red Hat Inc.). This work has no connection to Red Hat, Inc. and is not endorsed or supported by Red Hat, Inc.
Table of Contents (25 chapters)
1
Section 1: Systems Administration – Software, User, Network, and Services Management
9
Section 2: Security with SSH, SELinux, a Firewall, and System Permissions
14
Section 3: Resource Administration – Storage, Boot Process, Tuning, and Containers
21
Section 4: Practical Exercises

What this book covers

Chapter 1, Installing RHEL8, covers the installation of RHEL, from obtaining the software and the subscriptions to the installation of the system itself.

Chapter 2, RHEL8 Advanced Installation Options, introduces advanced use cases for the installer, including deploying instances in the cloud and automating the installation.

Chapter 3, Basic Commands and Simple Shell Scripts, explains the daily commands that will be used during system administration, and how they can be automated via shell scripting.

Chapter 4, Tools for Regular Operations, shows which simple tools are available in our system that can be used for regular daily operations such as starting or enabling a system service or reviewing what is going on in the system through logs.

Chapter 5, Securing Systems with Users, Groups, and Permissions, covers how to manage users, groups, and permissions in any Linux system, with some specifics on Red Hat Enterprise Linux.

Chapter 6, Enabling Network Connectivity, goes through the steps to connect a system to the network and the possible ways it can be configured.

Chapter 7, Adding, Patching, and Managing Software, reviews the steps to add, remove, and update can be managed in our system, including examples for upgrades and rollbacks.

Chapter 8, Administering Systems Remotely, covers how to remotely connect to your system in order to be more effective. It includes using ssh connections to create keys and using the terminal multiplexer (tmux).

Chapter 9, Securing Network Connectivity with firewalld, instructs you on how the network firewall configuration works in RHEL and how to properly manage it, including managing zones, services, and ports.

Chapter 10, Keeping Your System Hardened with SELinux, covers the usage and basic troubleshooting of SELinux.

Chapter 11, System Security Profiles with OpenSCAP, explains how to run security profiles with OpenSCAP and check compliance in RHEL with typical regulations.

Chapter 12, Managing Local Storage and Filesystems, covers filesystem creation, mount points, and general storage management.

Chapter 13, Flexible Storage Management with LVM, explains how LVM empowers more flexible storage management by being able to add disks and extend logical volumes.

Chapter 14, Advanced Storage Management with Stratis and VDO, introduces VDO and how it can be used in our system to deduplicate storage, as well as using Stratis to manage storage more easily.

Chapter 15, Understanding the Boot Process, explains how the system boots and the details that make it important.

Chapter 16, Kernel Tuning and Managing Performance Profiles with tuned, explains how kernel tunning works and how to use tuned for predefined profile usage.

Chapter 17, Managing Containers with Podman, Buildah, and Skopeo, covers containers and tools for managing and building them.

Chapter 18, Practice Exercises – 1, allows you to test your acquired knowledge.

Chapter 19, Practice Exercises – 2, provides more complex testing of your acquired knowledge.