Oracle Linux Installation on Virtualbox: Step By Step

The Oracle Linux is an enterprise Linux server operating system built on the same code which used by the RedHat Enterprise Linux. The core difference is the branding and touches which have given by the Oracle to improve the performance of the Oracle Linux. It is free to download and distribute.

Oracle Linux is available to download on the official website plus community and Distrowatch pages have also listed it.  In this article, we simply see the way to install Oracle Linux on VirtualBox for testing purposes. The given process is the same for Windows, Linux, FreeBSD and MacOS.

How to install Oracle Linux on VirtualBox (Windows/MacOS/Linux)

Steps glance:

  1. Download the Oracle Linux from official or community page.
  2. After downloading the ISO file, install the VirtualBox (if not already).
  3. Run the VirtualBox
  4. Click on the New icon on the top VirtualBox menu.
  5. Named your Oracle VirtualMachine.
  6. Select the Type Linux and 64-bit or 32bit version.
  7. Assign the RAM and Virtual Hard disk
  8. Go to Settings and click on the Storage option.
  9. Click on Empty CD icon and then on the CD icon given under the Attributes.
  10. Assign the Oracle ISO image and press OK button.
  11. And start the installation

Step 1: Download the Oracle Linux ISO

To get the Oracle Linux ISO file from the official website page which is Oracle cloud software delivery, see this article: Download Oracle officially. However, if you want to download it directly, then use this community page: https://community.oracle.com/

Step 2: Download VirtualBox

If you already have the Oracle VirtualBox on your pc or laptop then skip this step. Otherwise, go to virtualbox.org and download the VirtualBox. The Ubuntu Linux users can see this tutorial: VirtualBox installation on Ubuntu

Step 3:  Oracle VM Virtualbox setup

Run the Virtual Box and click on the New button.

Now give some name to your Oracle Linux installation on VirtualBox. For example, we have given “Oracle”. After this in Type drop box select the Linux and then type of your Oracle Linux server. We used 64bit, so we selected the same.

Name the oracle linux

Step 4: Set the RAM

Assign the amount of RAM you want to give to your Oracle Virtual machine. The 2GB is recommended for a proper functioning of an Oracle server with GUI interface. If you are installing the minimal version then you can assign a lower amount than this.

RAM for Oracle server

Step 5: Create a virtual hard disk  for Oracle Linux

The next step is to allocate an amount of space for the Oracle server installation. Select the option ‘Create a virtual hard disk now’, and click on ‘Create’. Now choose VDI or VirtualBox Disk Image. Click on the ‘Next’ button.

Select Dynamic allocation and move forward.

Create Virtual hard disk and file storage system

Step 6:  Assign the storage amount

The default file size for storage is 8Gb; use the slider and set it to least 20GB and then click on Create button to create a VM.

File allocation and size

Step 7: Start Oracle Linux virtual machine

Now, on the left side, you will see the recently created Oracle virtual machine by you. Click on that and then the green colour START button given in the menu of Virtualbox.

Step 8: Oracle Installation

The boot screen of this Oracle server will appear. From the keyboard, use the arrow keys and select the first option “Install Oracle Linux 7.6” Note: The version could be different depending upon what you have downloaded.

Oracle Linux GUI mode

Step 9: Select the Language

The first screen which appears is to set the language for your Oracle server operating system. By default it is English but you can change it. Once you defined your favourite language click on the Continue button.

Oracle Linux Installtion 1- Select language

Step 10: Oracle Linux Server GUI

By default, the Oracle server is set to Minimal installation mode which means no Graphical user interface. If you want to install the GUI then click on the Software Selection option.

minimal installation or full installaton of Oracle

Step 11: Software Selection

The Oracle server offers multiple base environments such as Minimal Install, Infrastructure, File and print server, Basic web server, Virtualization Host and Serve with GUI. And as per the server environment, the Add-Ons also listed on the right side.

Select the Server with GUI and Add-Ons  Selected Environment > Compatibility Libraries and Development Tools in case you want any other Add on select that too. After this use the Done button.

Oracle server with GUI

Step 12: Installation Destination

Click on the Installation Destination option to set the partition.

Install the Oracle Linux enterprise on VirtualBox

If you want to perform some custom portioning for installation then select the “I will configure the partitioning” otherwise just leave the default option and just click the DONE button.

Disk partioning Oracle Linux 3

Now click on the Network & Hostname option selection and simply use the toggle button turn ON for network configuration to get the internet connection.

After all this click on the Begin Installation button.

 Step 13: Set root Password and User

On the Installation summary screen while the installer is installing the Oracle Linux server, let’s set the root password and standard user for Oracle Linux.

To set the root password click on the Root password option. In this same way for the user, select the User creation.

create root password

Enter the root password two times and then click on the Done button.

set the root password for Oracle Linux enterprise

Once the root password setup is done. Go to the User creation and type the full name of the user you want to create on Oracle server plus username and password you want to assign to that. Finally, click on the Done button.

Create user

Step 14: Reboot

Finally, after the installation is completed and we have the Reboot button. But before clicking that go to Devices option in the Menu and remove/unmount the OracleLinux ISO file.

Reboot the oracle Linux

Step 15: Accept the license agreement

The initial step after rebooting is to accept the license to use the Oracle server.  Click on the License information and accept the agreement.

Oracle license acceptance

accept the license agreemen

Finally, the Oracle Linux server is successfully installed on VirtualBox. If you want to install it on a real machine, still the steps mentioned here for installation will be the same.

Login Oracle server Sucessful ORacle server installtion on Virtualbox

Other useful Tutorials

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.