In the previous posts we saw how to install Oracle Linux 8.5 in a VirtualBox VM, how to perform the end user initial setup during its first connection, how to install the VirtualBox Guest Additions and how to backup a VirtualBox Appliance. We are now going to see how to install Oracle DB 19c using an RPM package.

Oracle BI Server requires a supported database for its installation. The simplest choice here was to install Oracle DB 19c using the preconfigured RPM packages for Oracle Linux 8.5. The process is rather straightforward, so let’s see how to do it.
I logged in as root to be sure to have all the necessary permissions required to change the system settings.
First I wanted to assign a static IP address to the VM in order to be able to quickly access it from the host computer (or any other computer in my local network). So I edited the “/etc/hosts” file using the “vi /etc/hosts” command and I added a line with the static IP address used by the oraclelinux VM:

I chose a private IP address from my local network (192.168.1.X) because the VM would only be used for testing purpose.
Then I configured the “Adapter 1” network in the VirtualBox Network Settings so that it would be attached to a “Bridged Adapter“: the laptop Wireless Network card in that case.

And finally I configured the network adapter with its static IP, the proper network mask, gateway and DNS using the “Oracle Linux Network Settings“:

I was not sure these changes were going to take effect immediately so I decided to reboot the VM before going on. It was maybe a bit overkill… but at this stage, the VM took only a few seconds to reboot.
After the reboot, I pinged the VM from host computer to check that it was reachable using the static IP.

I logged in as root again to install the Oracle 19c packages. I could have also performed the installation with the oracle user using sudo command.
I opened a shell window and I executed the “dnf install -y oracle-database-preinstall-19c” command to install the Oracle database preinstallation requisites:

Some additional dependencies were required and would be installed too.

It took something like a minute to download, install and verify the packages.
The next step was to install the oracle database package. I downloaded the RPM package from the Oracle Technology Network website: http://www.oracle.com/technetwork/indexes/downloads/index.html
I copied the RPM file into the shared folder between the host and the VM.
The shared folder was available as “/media/sf_SharedFolder/” in the VM machine. I used the “cd /media/sf_SharedFolder/” command to change the current directory. Then I used the “yum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm” command to install the oracle-database:

The installation started:


… it went on…

… and finally took something like 5 minutes to complete. Oracle DB 19c was now installed in the VM. The next step was to configure a sample database for testing purpose.
Disclaimer
The post How to install Oracle DB 19c in Oracle Linux 8.5 VM appeared first on MyBIJourney