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)

Burning an ISO so it’s bootable

Once you have the ISO downloaded, you may need to do some additional preparations. If you are installing using a USB device, simply copying the file to a flash drive will not work, as the ISO is not actually unpacked on the media. If the ISO is not correctly unpacked and the media is not made bootable, you will be unable to boot and install from the media. The process of burning the ISO file to media correctly unpacks the media into individual files and directories as well as making the media bootable. If this is not done, all the media will have is a copy of the single ISO file.

There are several tools available to do this. With most systems no longer using optical media, the most common way is to boot a server from a flash drive or a virtual disk.

Getting ready

Before you start, you will first need to download an ISO image. You also will need a USB flash drive, ideally with more than 16 GB of space. As the distro grows, 8 GB drives...