Book Image

Oracle Linux Cookbook

By : Erik Benner, Erik B. Thomsen, Jonathan Spindel
Book Image

Oracle Linux Cookbook

By: Erik Benner, Erik B. Thomsen, Jonathan Spindel

Overview of this book

Discover the power of Oracle Linux 8, the free and enterprise-grade Linux distribution designed for use in any environment, with this recipe-style book. Starting with instructions on how to obtain Oracle Linux for both X86 and ARM-based platforms, this book walks you through various installation methods, from running it as a Windows service to installing it on a Raspberry Pi. It unravels advanced topics such as system upgrades using Leapp for major version transitions and using a PXE server and kickstart files for more advanced installations. The book then delves into swapping kernels to take advantage of Oracle’s UEK, exploring boot options, managing software with DNF, and achieving high availability. Detailed recipes involving security topics will assist with tasks such as data encryption, both at rest and in motion. For developers, it offers guidance on building RPM files, using Docker and Podman in a containerized environment, working with AppStreams, and more. For large-scale deployments, the book introduces Oracle Linux Automation Manager for enterprise-level Ansible utilization, from setting up the Ansible server to basic playbook writing. Finally, you’ll discover strategies for cloud migration. By the end of this book, you’ll possess a comprehensive toolkit that will elevate your skills as a Linux administrator.
Table of Contents (16 chapters)

What this book covers

Chapter 1, Oracle Linux 8 – Get It? Got It? Good!, covers how you can get Oracle Linux, upgrade Oracle Linux versions, and run them on ARM systems and the cloud!

Chapter 2, Installing with and without Automation Magic, is where we will automate the installation of Oracle Linux with PXE and kickstart the process.

Chapter 3, Exploring the Various Boot Options and Kernels in Oracle Linux, explores what a kernel is and how UEK is different.

Chapter 4, Creating and Managing Single-Instance Filesystems, provides tricks and tips to better manage Btrfs, xfs, and RAID.

Chapter 5, Software Management with DNF, we will look at how to build local reops, make custom RPMs, and better leverage DNF.

Chapter 6, Eliminate All the SPOFs! An Exercise in Redundancy, covers eliminating single points of failure through load balancing, proxies, clusters, cluster filesystems, and network redundancy options.

Chapter 7, Oracle Linux 8 – Patching Doesn’t Have to Mean Rebooting, covers how to patch without rebooting. We will also look at what Ksplice is and why you should be using it.

Chapter 8, DevOps Automation Tools – Terraform, Ansible, Packer, and More, looks at automating the management with Terraform, Vagrant, and Packer.

Chapter 9, Keeping the Data Safe – Securing a System, looks at how to keep out of the news by securing your systems. We will cover encrypting your data, using SELinux, scanning systems for vulnerabilities, and managing GPG keys for signing things.

Chapter 10, Revisiting Modules and AppStreams, looks at how AppStreams has changed software deployment and modernizing application deployments.

Chapter 11, Lions, Tigers, and Containers – Oh My! Podman and Friends, looks at what Podman is, how to use it as a Docker replacement, and how to use Podman, Buildah, and Skopeo to facilitate all your containerized needs.

Chapter 12, Navigating Ansible Waters, covers everything Ansible, from deploying Ansible at the enterprise level with Oracle Linux Automation Manager (OLAM) to writing playbooks.

Chapter 13, Let’s All Go to the Cloud, moves us to the cloud, where we will look at building custom images for AWS and OCI, as well as how to build new VMs in the cloud.