Oracle Linux 8 is an enterprise grade Linux distribution based on Red Hat Enterprise Linux 8 release. This Linux operating system is packaged and freely distributed by Oracle, and is available partially under the GNU General Public License. Oracle Linux 8 is compiled from Red Hat Enterprise Linux 8 source code, while replacing Red Hat branding with Oracle’s branding in the distribution. In today’s post we shall perform an installation of Oracle Linux 8 operating system on both physical hardware and on Virtualized environments – VMware Workstation, VirtualBox, KVM and any other virtual environment.

Oracle Linux 8 is available for installation on the following hardware platforms:

  • Intel 64-bit (x86_64)
  • AMD 64-bit (x86_64)
  • 64-bit Arm (aarch64)

In this guide we will perform an installation of Oracle Linux 8 on Intel 64-bit (x86_64) CPU architecture. Oracle Linux 8 images are available for Oracle Cloud Infrastructure and a running instance can be created in a matter of seconds.

Download Oracle Linux 8 ISO File

Visit Oracle Linux 8 ISO downloads page and pull the latest ISO for your platform. You can choose to download one of the following ISO images.

  • Full ISO: contains everything needed to boot a system and install Oracle Linux.
  • UEK Boot ISO: contains everything that is required to boot a system with Unbreakable Enterprise Kernel (UEK) and start an installation
  • Boot ISO: contains everything that is required to boot a system with Red Hat compatible kernel (RHCK) and start an installation
  • Source ISO: contains sources for the packages included in Full ISO.

Examples showing how to download Oracle Linux 8 ISO images using wget for x86_64

#Full ISO
wget https://yum.oracle.com/ISOS/OracleLinux/OL8/u5/x86_64/OracleLinux-R8-U5-x86_64-dvd.iso

#Boot ISO
wget https://yum.oracle.com/ISOS/OracleLinux/OL8/u5/x86_64/x86_64-boot.iso

#UEK boot ISO
wget https://yum.oracle.com/ISOS/OracleLinux/OL8/u5/x86_64/x86_64-boot-uek.iso

#Source ISO
wget https://yum.oracle.com/ISOS/OracleLinux/OL8/u5/source/OracleLinux-R8-U5-src-dvd.iso

Install Oracle Linux 8 – Complete Steps

Downloaded ISO image can be burned to CD/DVD ROM or Flash disk drive for installation on baremetal system. If installing on a Virtualized infrastructure, you can directly boot from the ISO image.

Creating bootable USB stick from Full ISO

sudo dd if=OracleLinux-R8-U5-x86_64-dvd.iso of=/dev/sdX

You have to write to the raw device and not a partition on it (so, /dev/sdX not /dev/sdX1). Boot from the USB stick or ISO image on a VM defined and start the installation of Oracle Linux 8.

Start Anaconda installer

Oracle Linux 8 uses the anaconda open-source system installer for Linux distributions. In the screen that is shown after boot from the ISO, select to start installation immediately or test the media and install Oracle Linux 8.

Select the language to be used during Oracle Linux 8 installation

Configure Localization Settings

In the next screen set correct keyboard layout, Language, Date and time, Installation source, and Software Selection.

Set Installation Destination and Network Settings

Under “System” section select installation Source, enable or disable KDUMP, Configure network interface, and Security Policy.

Input desired hostname and hit hit the Apply button.

For IP related information, you can use DHCP

Alternatively, set IP addressing manually.

Set root password and add standard user account

Set root user password within “USER SETTINGS” column.

Enter and confirm root user password

You should also create first admin user account. Don’t miss to check “Make this user administrator” which adds this user to wheel group.

Finalize Oracle Linux 8 installation

With all the configurations updated, begin installation of Oracle Linux 8 operating system by clicking on “Begin Installation“.

The installation process takes few minutes – includes downloading and installing all required packages.

A successful installation of Oracle Linux 8 looks similar the screenshot below.

Reboot your system to start using Oracle Linux 8

Login to Oracle Linux 8 system

Login with root or standard user configured during OS installation.

Launch the terminal and update the OS

sudo dnf check-update
sudo dnf -y update

Reboot after a successful upgrade

sudo reboot

Use the following commands to check Kernel version and OS release

$ uname -r
5.4.17-2136.301.1.2.el8uek.x86_64

$ cat /etc/oracle-release
Oracle Linux Server release 8.5

Neofetch screen output:

We hope this guide enabled you to have a working installation of Oracle Linux 8 on a Virtualized Infrastructure, or Baremetal machine. We will share more articles on the actual administration of Oracle Linux 8.

LEAVE A REPLY

Please enter your comment!
Please enter your name here