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)
- Download the Oracle Linux from official or community page.
- After downloading the ISO file, install the VirtualBox (if not already).
- Run the VirtualBox
- Click on the New icon on the top VirtualBox menu.
- Named your Oracle VirtualMachine.
- Select the Type Linux and 64-bit or 32bit version.
- Assign the RAM and Virtual Hard disk
- Go to Settings and click on the Storage option.
- Click on Empty CD icon and then on the CD icon given under the Attributes.
- Assign the Oracle ISO image and press OK button.
- 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.
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.
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.
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.
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.
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.
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.
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.
Step 12: Installation Destination
Click on the Installation Destination option to set the partition.
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.
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.
Enter the root password two times and then click on the Done button.
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.
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.
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.
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.
Other useful Tutorials
- Best Free Virtualbox Alternative for Linux
- How to install Bliss os X86 on PC and VirtualBox
- How to use Virtualbox drag and drop from Windows 10 to Ubuntu 18 VM
- Install pfSense on Virtualbox or Vmware player – tutorial
- Install Android VM Image on Virtualbox or Vmware
- Install Portable Virtualbox on USB to Run Virtual Machines Anywhere