Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Red Hat Enterprise Linux 9 Administration
Red Hat Enterprise Linux 9 Administration

Red Hat Enterprise Linux 9 Administration: A comprehensive Linux system administration guide for RHCSA certification exam candidates , Second Edition

Arrow left icon
Profile Icon Pablo Iranzo Gómez Profile Icon Scott McCarty Profile Icon Miguel Pérez Colino Profile Icon Pedro Ibañez Requena
Arrow right icon
S$36.99 S$53.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (8 Ratings)
eBook Nov 2022 530 pages 2nd Edition
eBook
S$36.99 S$53.99
Paperback
S$67.99
Subscription
Free Trial
Arrow left icon
Profile Icon Pablo Iranzo Gómez Profile Icon Scott McCarty Profile Icon Miguel Pérez Colino Profile Icon Pedro Ibañez Requena
Arrow right icon
S$36.99 S$53.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (8 Ratings)
eBook Nov 2022 530 pages 2nd Edition
eBook
S$36.99 S$53.99
Paperback
S$67.99
Subscription
Free Trial
eBook
S$36.99 S$53.99
Paperback
S$67.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

Red Hat Enterprise Linux 9 Administration

Getting RHEL Up and Running

The first step to start working with Red Hat Enterprise Linux (RHEL) is to have it running. Whether on your own laptop as the main system, on a virtual machine, or on a physical server, its installation is necessary in order to get your hands on the system you want to learn to use. It is highly encouraged that you get yourself a physical or virtual machine to use the system while reading this book.

In this chapter, you will deploy your own RHEL 9 system to be able to follow all the examples mentioned in this book, as well as discover more about Linux.

The topics to be covered in this chapter are as follows:

  • Obtaining RHEL software and a subscription
  • Installing RHEL 9

Technical requirements

The best way to get started is by having an RHEL 9 virtual machine to work with. You can do it on your main computer as a virtual machine or using a physical machine. In the following section, we will review both options and you will be able to run your own RHEL 9 system.

Tip

A virtual machine is a way to emulate a complete computer. To be able to create this emulated computer on your own laptop, if you are using macOS or Windows, you will need to install virtualization software such as VirtualBox, for example. If you are running Linux, it is already prepared for virtualization, and you will only need to add the virt-manager package.

Obtaining RHEL and a subscription

To be able to deploy RHEL, you will need a Red Hat subscription to obtain the images to be used, as well as access to repositories with software and updates. You can obtain, free of charge, a developer subscription from the developers’ portal site of Red Hat using the following link: https://developers.redhat.com/. You then need to follow these steps:

  1. Log in or create an account at https://developers.redhat.com/.
  2. Click on the Log in button:
Figure 1.1 – The developers.redhat.com home page, indicating where to click to log in

Figure 1.1 – The developers.redhat.com home page, indicating where to click to log in

  1. Once on the login page, use your account or, if you do not have one, create one by clicking on Register in the top-right corner or on the Register for a Red Hat account button directly in the registration box, as follows:
Figure 1.2 – Red Hat login page (common to all Red Hat resources)

Figure 1.2 – Red Hat login page (common to all Red Hat resources)

You can choose to use your credentials in several services (in other words, Google, GitHub, or Twitter) if you prefer to do so.

  1. Once you have logged in, go to the Products section in the top bar. You can find the Red Hat Enterprise Linux section in the navigation bar before the content:
Figure 1.3 – Accessing the Linux page at developers.redhat.com

Figure 1.3 – Accessing the Linux page at developers.redhat.com

Click on Download RHEL at no-cost, which appears as a red button on the next page:

Figure 1.4 – Accessing the RHEL download page at developers.redhat.com

Figure 1.4 – Accessing the RHEL download page at developers.redhat.com

Then, the ISO image for the x86_64 (8 GB) architecture will start downloading:

Figure 1.5 – Download dialog for RHEL 9

Figure 1.5 – Download dialog for RHEL 9

The ISO image is a file that contains an exact copy of the contents of a full DVD (even when we are not using a DVD). This file will later be used to install our machines, whether dumping it to a USB drive for bare metal installations, unpacking it for network installations, or attaching it for virtual machine installations (or using out-of-band capabilities in servers such as IPMI, iLO, or iDRAC)

Tip

To verify the ISO image, and ensure that the one we have obtained is not corrupted or altered, a mechanism called checksum can be used. Checksums are a way to review a file and provide a set of letters and numbers that can be used to verify that the file is precisely the same one as in the origin. Red Hat provides a list of sha256 checksums for doing so in the downloads section of the customer portal (access.redhat.com). An article describing the process is available here: https://access.redhat.com/solutions/8367.

We have the software, in this case, the ISO image, to install RHEL 9 on any computer. These are the same bits that are used in production machines worldwide, and that you can use yourself for learning purposes with your developer subscription. Now, it is time to give them a go in the next section.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Become a pro at system administration from installation to container management
  • Secure and harden your Linux environment using SSH, SELinux, firewall, and system permissions
  • Gain confidence to pass the RHCSA exam with the help of practice tests

Description

With Red Hat Enterprise Linux 9 becoming the standard for enterprise Linux used from data centers to the cloud, Linux administration skills are in high demand. With this book, you’ll learn how to deploy, access, tweak, and improve enterprise services on any system on any cloud running Red Hat Enterprise Linux 9. Throughout the book, you’ll get to grips with essential tasks such as configuring and maintaining systems, including software installation, updates, and core services. You’ll also understand how to configure the local storage using partitions and logical volumes, as well as assign and deduplicate storage. You’ll learn how to deploy systems while also making them secure and reliable. This book provides a base for users who plan to become full-time Linux system administrators by presenting key command-line concepts and enterprise-level tools, along with essential tools for handling files, directories, command-line environments, and documentation for creating simple shell scripts or running commands. With the help of command line examples and practical tips, you’ll learn by doing and save yourself a lot of time. By the end of the book, you’ll have gained the confidence to manage the filesystem, users, storage, network connectivity, security, and software in RHEL 9 systems on any footprint.

Who is this book for?

This book is for Red Hat Enterprise Linux system administrators and Linux system administrators. It's also a good resource for any IT professional who wants to learn system administration. RHCSA certification candidates will find this book useful in their preparation for the certification exam.

What you will learn

  • Become well versed with the fundamentals of RHEL9—from system deployment to user management
  • Secure a system by using SELinux policies and configuring firewall rules
  • Understand LVM to manage volumes and maintain VDO deduplication
  • Manage a system remotely using SSH and public key authentication
  • Get the hang of the boot process and kernel tunable to adjust your systems
  • Automate simple tasks using scripts or Ansible Playbooks

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 18, 2022
Length: 530 pages
Edition : 2nd
Language : English
ISBN-13 : 9781803247540
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Nov 18, 2022
Length: 530 pages
Edition : 2nd
Language : English
ISBN-13 : 9781803247540
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$ 199.97
Red Hat Enterprise Linux 9 Administration
S$67.99
Mastering Ubuntu Server
S$74.99
Ansible for Real-Life Automation
S$56.99
Total S$ 199.97 Stars icon

Table of Contents

25 Chapters
Part 1 – Systems Administration – Software, User, Network, and Services Management Chevron down icon Chevron up icon
Chapter 1: Getting RHEL Up and Running Chevron down icon Chevron up icon
Chapter 2: RHEL 9 Advanced Installation Options Chevron down icon Chevron up icon
Chapter 3: Basic Commands and Simple Shell Scripts Chevron down icon Chevron up icon
Chapter 4: Tools for Regular Operations Chevron down icon Chevron up icon
Chapter 5: Securing Systems with Users, Groups, and Permissions Chevron down icon Chevron up icon
Chapter 6: Enabling Network Connectivity Chevron down icon Chevron up icon
Chapter 7: Adding, Patching, and Managing Software Chevron down icon Chevron up icon
Part 2 – Security with SSH, SELinux, a Firewall, and System Permissions Chevron down icon Chevron up icon
Chapter 8: Administering Systems Remotely Chevron down icon Chevron up icon
Chapter 9: Securing Network Connectivity with firewalld Chevron down icon Chevron up icon
Chapter 10: Keeping Your System Hardened with SELinux Chevron down icon Chevron up icon
Chapter 11: System Security Profiles with OpenSCAP Chevron down icon Chevron up icon
Part 3 – Resource Administration – Storage, Boot Process, Tuning, and Containers Chevron down icon Chevron up icon
Chapter 12: Managing Local Storage and Filesystems Chevron down icon Chevron up icon
Chapter 13: Flexible Storage Management with LVM Chevron down icon Chevron up icon
Chapter 14: Advanced Storage Management with Stratis and VDO Chevron down icon Chevron up icon
Chapter 15: Understanding the Boot Process Chevron down icon Chevron up icon
Chapter 16: Kernel Tuning and Managing Performance Profiles with tuned Chevron down icon Chevron up icon
Chapter 17: Managing Containers with Podman, Buildah, and Skopeo Chevron down icon Chevron up icon
Part 4 – Practical Exercises Chevron down icon Chevron up icon
Chapter 18: Practice Exercises – 1 Chevron down icon Chevron up icon
Chapter 19: Practice Exercise – 2 Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(8 Ratings)
5 star 62.5%
4 star 0%
3 star 12.5%
2 star 25%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




antonio vasquez Dec 30, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Those lessons inside the book are amazing.
Amazon Verified review Amazon
Eric Lajoie Mar 09, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I enjoyed jumping to topics I needed in this well written book and recommend picking it up to everyone. Maybe even follow with DO294 course after to get some automation skills as well. (Posted March 2023)
Amazon Verified review Amazon
Amazon Customer Apr 24, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a longtime user of RHEL, it’s always exciting to see a new version that highlights performance, security, and manageability improvements. I’ve relied heavily on RHEL for over 20 years to run critical web-based workloads that include Python, Java, NodeJS, PHP, MySQL, and Postgres applications. RHEL has never let me down. Occasionally, I’ve tried other Linux distributions that may have offered more cutting versions of core components or features at the time. Still, I’ve always gone back to using RHEL for its stability and long-term support. If you need stability, then RHEL is for you.The RHEL 9 Administration book, co-authored by four Red Hatters, is a comprehensive guide for beginners and those targeting a Red Hat Certified System Administrator certificate. The authors included guided exercises to help readers apply their knowledge to practical use cases. The book weighs in at 530 pages and covers various topics such as installation, best practices, and recommendations for configuration, tooling, and getting started with Ansible for the automation of provisioning and administration of RHEL 9.The authors are careful to call out topics not covered RHSCA exam so the readers know not to spend too much time on specific subjects if they plan to take the test. The authors target newbies who have never installed RHEL to experienced system administrators who might want to know how to install RHEL on a hyper-scaler such as AWS or Google Cloud. Overall, the authors do a great job of targeting the middle so that there is something for everyone at all technical levels.If you have an eye for the future, the authors end the book with a comprehensive overview of Podman, Buildah, and Skopeo. These are tools used for building and managing containers. According to Gartner, 75% of organizations globally will be running containerized workloads in production in 2022, up from around 30% in 2020. (Casey, 2022) Podman is an open-source Docker-compatible replacement that readers can run on Linux, macOS, and Windows.Overall, this book is of great value and an essential reference book for anyone who needs or wants to use RHEL 9.
Amazon Verified review Amazon
Shashank May 11, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book covers all the basic topics with clear explanations and it’s very helpful for anyone looking to learn Linux basics or pass the certification exam. Highly recommended this book
Amazon Verified review Amazon
Franz K. Jan 24, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Its's very clear, complete and easy to follow, step by step; I a would recommend it for everyone who likes to learn with the help of a book. Of course the focus is on RedHat but it's perfect to learn Linux anyway, focusing on admin tasks and taylored for the RHCS9. Thank's to the authors, this is a lot of work.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.