How to install Oracle Linux 8.5 in a VirtualBox VM

In this post we are going to see, step by step, how to install Oracle Linux 8.5 inside a VirtualBox VM.

Oracle Linux 8.5
Oracle Linux 8.5

As I was starting a new step in my BI journey, I wanted to do a full Oracle BI Server installation from scratch. I am a great fan of Virtual Machines (VM) because they allow you to test software and operating system without having to reinstall everything on your computer. I have been using VirtualBox for that purpose during years and I decided to create a new VM with VirtualBox and to start with fresh installation of Oracle Linux 9.5. I had never used Oracle Linux before, so I wanted to test it, and it had seen that it had some preconfigured Oracle packages that would ease the installation and configuration of some Oracle products.

So the first step here was therefore to create a new VM and to use it to install Oracle Linux.

I downloaded the latest Oracle Linux .iso file at that moment (that was OracleLinux 8.5) from the Oracle Linux ISOs website:

VirtualBox was already installed on my computer, you can see how to install it in this page. You can download the latest version from Oracle VirtualBox website in case of need.

The computer (the “host”) I used to create this VM is a Lenovo laptop with an 8th Gen Intel CPU (with 2 Cores and 4 threads), 32 GB DDR4 RAM and a NVME Samsung 970 EVO Plus SSD. Nothing fancy, but the amount of RAM and the fast SSD would allow the VM to load quickly.

So let’s see, step by step, how I installed Oracle Linux 8.5 in a virtual machine:

1) I launched VirtualBox and I created  a new virtual machine with 16 GB RAM, 2 CPUs, a HDD with 40 GB of capacity and a DVD drive.

Create New VM
Create New VM

 

16384 MB RAM
16384 MB RAM

 

2 CPUs
2 CPUs

 

40 GB HDD
40 GB HDD

2) I inserted the Oracle Linux 8.5 iso file in the DVD and I started the VM.

Insert Oracle Linux 8.5 iso in DVD drive
Insert Oracle Linux 8.5 iso in DVD drive

 

Start the new VM
Start the new VM

3) The VM started with the Oracle Linux installer:

Install Oracle Linux 8.5
Install Oracle Linux 8.5

I selected the first option to start the Oracle Linux 8.5.0 installation.

2) The installer started to load…

Loading Installer mini OS
Loading Installer mini OS

… and after a few seconds the welcome screen appeared with the language selection:

Language selection
Language selection

Many languages were available in case of need but I didn’t change the language so I clicked the “Continue” button.

3) The next screen was the installation summary. It had many sections and some of them had a small orange warning symbol meaning that they required some attention.

Installation summary
Installation summary

I wanted to change the keyboard layout so I clicked the Keyboard link, I added the Spanish keyboard layout (I live in Spain), I removed the English-American keyboard that I was not going to use and I clicked the “Done” button:

Add Spanish Keyboard Layout
Add Spanish Keyboard Layout

4) Then I clicked the “Installation Destination” link:

Installation destination
Installation destination

I selected the 40 GB virtual HDD I had created in the VM setup and I clicked the “Done” button.

Install on the 40 GB HDD
Install on the 40 GB HDD

5) I clicked the “Root Password” link to set a password for the root user:

Root Password
Root Password

I entered and I confirmed the password and I clicked the “Done” button:

Enter and confirm password
Enter and confirm password

6) Then I clicked the Network link

Network & Host
Network & Host

I enabled the virtual Ethernet network card, I gave the computer a name and I clicked the “Done” button:

Enable Netword card
Enable Netword card

7) I clicked the “Time & Date” link

Time & Date
Time & Date

I selected my location, I enabled the “Network Time” to automatically configure the time and date (it requires the VM to have internet access) and I clicked the “Done” button:

Set Location and enable Network Time
Set Location and enable Network Time

8) I clicked the “Software Selection” link to choose the software to be installed initially:

Software selection
Software selection

I chose “Server with GUI” and decided not to select anything else as I would add missing packages manually later, then I clicked “Done“:

Server with GUI software selection
Server with GUI software selection

9) I clicked the “User Creation” link to add an additional user:

User Creation
User Creation

I named the new user “oracle“, I chose a “strong” password and I clicked the “Done” button.

User oracle
User oracle

10) I clicked the “Begin Installation” button as I was now ready to begin the installation:

Begin Installation
Begin Installation

11) The installation started creating the file systems, the devices and later with the installation of the software packages and boot loader:

Installing software packages
Installing software packages

12) The installation took something like 10 minutes (that time depends mainly on the SSD speed and amount of packages to install) until the VM was ready to be rebooted:

Installation complete
Installation complete

13) By default, the fresh installation of Oracle Linux 8.5 Boot menu has three linux kernel entries: the first one is an “Unbreakable Enterprise Kernel“, the second one is a “Red Hat Compatible Kernel”  and the last one is a rescue kernel. I chose the first one…

Boot loader
Boot loader

… Oracle Linux 8.5 took a few second to load and…

Oracle Linux 8.5 Loading...
Oracle Linux 8.5 Loading…

… the initial setup screen with the license information was displayed:

License information
License information

14) I clicked the License Information button and accepted the license agreement after reading it:

Accept License Agreement
Accept License Agreement

15) I could now finish the initial setup:

Finish configuration
Finish configuration

16) And after a reboot I was presented with the Oracle Linux 8.5 login window:

Login window
Login window

Oracle Linux 8.5 was now up and running in the VirtualBox VM. The next step was now to configure the user preferences after the first login.

Disclaimer

The information contained in this Website is for general information purposes only. We try to keep this information up to date and correct but we make no warranties of any kind about the completeness, accuracy, reliability with respect to the website, the information or the graphics contained on the website for any purpose. Any reliance you place on such information is strictly at your own risk. In no event will we be liable for any loss or damage whatsoever from the use of this Website.

 

The post How to install Oracle Linux 8.5 in a VirtualBox VM appeared first on MyBIJourney

All trademarks are properties of their respective owners.
FacebookTwitterPinterestWhatsAppMail