Oracle Linux Cookbook: Embrace Oracle Linux and master Linux Server Management 9781803249285

Get to grips with cloud security fundamentals, uncover cloud exploits, and safeguard your organization's network th

131 43 60MB

English Pages 691 Year 2023

Report DMCA / Copyright

DOWNLOAD EPUB FILE

Table of contents :
Oracle Linux Cookbook
Foreword
Contributors
About the authors
About the reviewers
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Sections
Getting ready
How to do it…
How it works…
There’s more…
See also
Get in touch
Reviews
Share Your Thoughts
Download a free PDF copy of this book
1
Oracle Linux 8 – Get It? Got It? Good!
Technical requirements
Oracle Linux 8 – which ISO is right? USB? Does anyone use DVDs?
Getting ready
How to do it…
Burning an ISO so it’s bootable
Getting ready
How to do it…
How it works…
Two for the price of one – running Oracle Linux on Windows Subsystem for Linux (WSL)
Getting ready
How to do it…
Arm'ing for the future of IT – it’s not just a slice of Raspberry Pi
Getting ready
How to do it…
Leapping from Oracle Linux 7 to 8
Getting ready
How to do it…
How it works…
There’s more…
Migrating from CentOS to Oracle Linux
CentOS is dead as we know it, have you looked at Oracle Linux yet?
Getting ready
How to do it…
How it works…
2
Installing with and without Automation Magic
Technical requirements
Automating the OS install options with kickstart
Getting ready
How to do it…
How it works…
DHCP server – more than just IPs
Getting ready
How to do it…
Setting up the web server – HTTPD
Getting ready
How to do it…
Serving up the boot – TFTPD
Getting ready
How to do it…
How it works…
Back in the day – a manual installation
Getting ready
How to do it…
How it works…
Appendix – kickstart options
3
Exploring the Various Boot Options and Kernels in Oracle Linux
Kernel basics – UEK and RHCK
Kernel basics – UEK and RHCK
Getting ready
How to do it…
How it works…
Playing with UEFI
Getting ready
How to do it…
How it works…
Playing with Secure Boot
Getting ready
How to do it…
How it works…
TrenchBoot – improving boot security and integrity
How it works…
Removing the RHCK
Getting ready
How to do it…
4
Creating and Managing Single-Instance Filesystems
Technical requirements
What you need to know about local filesystems
Getting ready
How to do it…
How it works…
Btrfs – creating, resizing, and monitoring
Getting ready
How to do it…
How it works…
Btrfs – subvolumes, snapshots, quotas, and more
Getting ready
How to do it…
There’s more…
Protecting data with mdadm – a software RAID solution
Getting ready
How to do it…
How it works…
Playing with logical volume management
Getting ready
How to do it…
How it works…
XFS – creating, modifying, and more
Getting ready
How to do it…
How it works…
5
Software Management with DNF
What have they done to YUM, moving to DNF?
Getting ready
How to do it…
Using the DNF time machine
Getting ready
How to do it…
Building a DNF/YUM mirror from ULN
Getting ready
How to do it…
Creating a new RPM package
Getting ready
How to do it…
6
Eliminating All the SPOFs! An Exercise in Redundancy
Technical requirements
Getting 99.999% availability and beyond
Getting ready
How to do it…
Load balancing a website
Getting ready
How it works…
Making HAProxy highly available with Keepalived
Getting ready
How to do it…
HA clustering for all with Corosync and Pacemaker
Getting ready
How to do it…
How it works…
Sharing a filesystem across multiple machines – cluster or distribute?
Getting ready
How to do it…
How it works…
Generating, configuring, and monitoring Ethernet traffic over bond
Getting ready
How to do it…
How it works…
7
Oracle Linux 8 – Patching Doesn’t Have to Mean Rebooting
Setting up Ksplice with internet access
What’s all the fuss about Ksplice?
Getting ready
How to do it…
How it works…
Using Ksplice with no internet access
Getting ready
How to do it…
How it works…
Installing and enabling Known Exploit Detection
Getting ready
How to do it…
How it works…
8
DevOps Automation Tools – Terraform, Ansible, Packer, and More
Technical requirements
Ansible
Packer, Vagrant, and Terraform
Downloading the source code
Do it once manually – rinse and repeat with Terraform
Getting started
How to do it…
Creating portable roles for Ansible
Getting started
How to do it…
Managing secrets with Ansible Vault
Getting started
How to do it…
Cooking up the perfect lab environment with Vagrant
Getting ready
How to do it…
Using Packer to modify source images
Getting ready
How to do it…
Pack it up, pack it in, let me begin, err, umm… build
Getting started
How to do it…
9
Keeping the Data Safe – Securing a System
Technical requirements
Signing Git commits with GPG
Getting ready
How to do it…
How it works…
Encrypting all web traffic
Getting ready
How to do it…
How it works…
Encrypting all data at rest
Getting ready
How to do it…
How it works…
Validating adherence to a compliance policy
Getting ready
How to do it…
How it works…
Port protection and restricting network access
Getting ready
How to do it…
How it works…
Keeping SELinux active
Getting ready
How to do it…
How it works…
10
Revisiting Modules and AppStreams
Technical requirements
Searching and listing AppStream modules
How to do it…
Installing applications and development tools via AppStream
How to do it…
Using AppStreams to install different versions of software
How to do it…
Removing packages via AppStream
How to do it…
There’s more…
11
Lions, Tigers, and Containers – Oh My! Podman and Friends
Technical requirements
Ridding yourself of demons – err um – daemons, with Podman
Getting ready
How to do it…
Giving your containers a root canal
Getting ready
How to do it…
Creating handy-dandy utility containers
Getting ready
How to do it…
Docker Compose with Podman
Getting ready
How to do it…
Managing stacks with pods
Getting ready
How to do it…
Containerized databases
Getting ready
How to do it…
Buildah and Skopeo – Podman’s friends with benefits
Getting ready
How to do it…
12
Navigating Ansible Waters
Installing OLAM
Getting ready
How to do it…
Zip through configuring and managing OLAM from the foundation up
Getting ready
How to do it…
OLAM isn’t fantasy football, but they both use playbooks
Getting ready
How to do it…
Controlling the patching chaos
Getting ready
How to do it…
Look beyond automation
Getting ready
How to do it…
Set it and forget it
Getting ready
How to do it…
13
Let’s All Go to the Cloud
Technical requirements
Oracle Linux in the cloud
Getting ready
How to do it…
Making Docker Desktop more manageable with Portainer
Getting ready
How to do it…
Using VirtualBox to springboard VMs to OCI
Getting ready
How to do it…
For everyone else, let’s make custom images for AWS
Getting ready
How to do it…
Index
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Share Your Thoughts
Download a free PDF copy of this book

Oracle Linux Cookbook: Embrace Oracle Linux and master Linux Server Management
 9781803249285

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
Recommend Papers