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)

For everyone else, let’s make custom images for AWS

It seems very simple: build an image, export the image, and import the image (wash, rinse, and repeat). The concept isn’t much more complicated than that. However, there are steps to go through, and some of those steps have catches.

You’ll first have to walk through the steps of setting up and configuring the AWS CLI. Much like the OCI CLI, AWS’s CLI is a direct command line executing against the AWS API. After the CLI is installed and configured, we’ll walk through setting up an S3 bucket, configuring that bucket, and changing access to allow upload. The following figure shows the stages and their touchpoints throughout this recipe. The AWS CLI is the common thread in staging and executing, along with the GUI. The storage factors in AWS are managed by access control and authentication, which allow us to create, store, and manipulate stored objects and buckets.

Figure 13.70 – AWS CLI storage connections

Figure...