This guide will walk you through installing Oracle Linux 9, a high-performance, secure, and enterprise-ready RHEL fork.
Oracle Linux has a history dating back more than 15 years of consistent stability and reliability, being a popular choice among the large enterprise segment.
The distro is fully 1:1 binaries compatible with Red Hat Enterprise Linux (RHEL) and is entirely free (available under the GNU General Public License) to download and use.
It is a trustworthy Linux distro backed by the enormous financial power of an IT behemoth like Oracle. Security updates are promptly, and stability and reliability are ensured even under heavy workloads.
But, before we get into the meat of the guide, let’s first address a key question.
Why Choose Oracle Linux?
Oracle Linux includes several essential characteristics that make it suitable for running enterprise-class workloads.
One such key feature is KSplice. It is an open-source Linux kernel extension that allows security fixes to be applied to a running kernel without requiring a reboot, avoiding downtime.
The following thing that makes the difference between Oracle Linux and other RHEL-based derivatives is the Unbreakable Enterprise Kernel (EUK). It is a Linux kernel built by Oracle, included and enabled by default in Oracle Linux.
Of course, if you intend to use the Oracle database, selecting Oracle Linux as the operating system is more than reasonable. With little effort, Oracle Linux can enhance Oracle DB performance. Additionally, most of the Oracle products are tested under it.
Last but not least, the distribution is free and available under the GNU General Public License. In other words, you can freely and legally download and use it on your production systems without any additional commitment to Oracle.
With those brief explanations out of the way, let’s get to the meat of this guide: how to install Oracle Linux 9.
1. Download Oracle Linux 9 Installation ISO Image
The first step, of course, is to get the installation ISO image. Oracle Linux, as previously stated, is entirely free to download.
So, open the following URL in your browser: https://yum.oracle.com/oracle-linux-isos.html and download the most recent “Full ISO” version, “OracleLinux-R9-U0-x86_64-dvd.iso.”
This guide will use the “Full ISO” option for the installation image. However, the file is large (9.1 GB) because it contains all packages for offline installation.
Therefore, it’s a good idea to consider downloading it with software like wget, which will ensure that you can resume where you left off if the download is interrupted.
You can use one of the other two options, “Boot ISO” (840 MB) or “UEK boot ISO” (880 MB), if you think it is a better idea. They are significantly lower in size, but all required software will be downloaded from the Internet during installation.
2. Create Bootable USB
If you’re installing Oracle Linux 9 on a physical machine, you may need to make a bootable USB medium and boot from it.
So, after downloading the installation ISO image, make it bootable by burning it to a USB drive.
Various bootable USB creation tools are available, but we will use the most straightforward option by using the
dd command. First, don’t forget to replace
/dev/sda with the correct path to your USB device.
sudo dd if=OracleLinux-R9-U0-x86_64-dvd.iso of=/dev/sda status=progress
However, if you prefer to use a graphical application (GUI), here are some excellent guides we can offer you on the subject:
- How To Burn An ISO File To A USB Drive In Linux Using Etcher
- Ventoy: How to Create a Multiboot USB Drive with Multiple ISO Files
Of course, there is no need to create a bootable USB if you will install Oracle Linux 9 into a virtual machine.
3. Install Oracle Linux 9
3.1 Boot from Oracle Linux 9 Installation Media
To start the installation process, boot from your Oracle Linux 9 installation media. You will get the following screen:
Use the up arrow key to pick the “Install Oracle Linux 9.0.0” option and hit “Enter.”
3.2 Choose Your Preferred Language
The Welcome Screen is the first screen to appear once the system has finished booting. Here you should select a language for Oracle Linux 9 installation, so choose the appropriate one for your setup.
3.3 Preparing RHEL 8 Installation
On the next screen, you will be greeted by the “Installation Summary” screen containing 11 settings. It serves as the main or home screen.
Since we’ll leave the default options for some of them, we’ll only focus on the ones we need to change. We will leave the following unchanged because they meet our requirements:
- Keyboard: English (US)
- Language Support: English (United States)
- Time & Date: America/New York timezone
- Installation Source: Local media
- KDUMP: Kdump is enabled
So let’s start by configuring our installation.
Network & Host Name
- Select the “Network & Hostname” option from the installation summary. In the “Host Name” box, enter a custom hostname, for example, “oracle9.”
- Confirm the new hostname by pressing the “Apply” button.
- When finished, click the “Done” button to return to the “Installation Summary” screen.
For our installation, we will use automatic partitioning of the disk. This ensures the selected destination storage disk will automatically be partitioned with required LVM logical volumes and formatted with the XFS file system.
- Select your machine’s storage under the “Local Standard Disks” heading.
- Confirm the changes by pressing the “Done” button.
Of course, if you want to change the partitioning configuration, tick the “Custom” option, click the “Done” button, and go through the partitioning screens.
Here you will be presented with a list of predefined Base Environment options and optional add-ons. Of course, this is entirely dependent on your requirements.
The screen is divided into “Base Environment” on the left and “Additional Software for Selected Environment” on the right. Each profile represents a collection of functionalities and the packages and software required to fulfill those functionalities.
In the “Base Environment” section, you choose an environment that best matches the system’s intended use. Then, in the “Additional Software for Selected Environment” section, select the software you want to add to your chosen Base Environment.
By default, the “Server with GUI” base environment installs the GNOME desktop, which will be our choice.
- Select your desired “Base Environment” installation type.
- Click the “Done” button.
Of course, if you want a different configuration, you can choose whichever option comes closest to your needs.
Click “Root Password” to display the ROOT PASSWORD screen.
- Enter the root password in the “Root Password” and “Confirm” fields. The screen provides a visual indication of the strength of the password.
- Click the “Done” button to return to the “Installation Summary” screen.
Let’s now create the user account we’ll use for everyday work. First, click “User Creation” from the “Installation Summary” screen.
- Enter the information for the new local user account.
- Select “Make this user administrator” if you want the user to run administrative tools using the
- Set the user’s password. Again, there is a visual indication of the password’s strength.
- Once configuring the user, click “Done” to return to the “Installation Summary” screen.
3.4 Start Oracle Linux 9 Installation Process
Finally, we’re ready to install our Oracle Linux 9 system! So, once everything is set up according to your liking, hit “Begin Installation.” This will start the initial installation process.
Be patient as the installation takes some time, so wait for the process to complete.
The installer will prompt you to restart the system when the installation is finished. Click on “Reboot System.”
4. Post-Installation Steps
The Oracle Linux 9 GRUB menu will welcome you at boot time.
Next, we will get the GNOME login screen because we installed Oracle Linux 9 server with GUI, so use the username and password we created earlier.
Congratulations! Oracle Linux 9 has been installed successfully and is ready for use!
Of course, the first and most crucial step is to apply all available security updates and bug fixes using the DNF package manager.
sudo dnf update
It is a good idea to reboot your machine after installing the updates. From now on, you may enjoy the seamless and stable operation that Oracle Linux guarantees.
This step-by-step guide covers Oracle Linux 9 installation. As you can see, the installation is the same as other RHEL-based distros such as AlmaLinux and Rocky Linux.
Oracle Linux 9 is undoubtedly a rock-solid Linux operating system and a reliable option for your server.
I hope you found this helpful guide. Thanks for using it! Feel free to share your thoughts in the comments box below.