Oracle Linux is an enterprise Linux server operating system built on the same code used by the RedHat Enterprise Linux. The core difference is the branding and touches that Oracle has given to improve the performance of Oracle Linux. It is free to download and distribute.
In this article, we simply see the way to install Oracle Linux on VirtualBox for testing purposes. The process is the same for Windows, Linux, FreeBSD, and MacOS.
How to install Oracle Linux 7 on VirtualBox (Windows/MacOS/Linux)
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, 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. after that give some to your machine to identify it later but easily on VirtualBox. For example, we have given “Oracle 7″ you can given whatever you would like. After this, from the ISO image drop-down box click on the ‘Other‘ option and navigate to the Oracle Linux image you have downloaded.
In the Type drop box select Linux, and then check the box given for the “Skip unattended installation” future because don’t want to use that. Finally, click on the “Next” button.
![Create Oracle Linxu 7 virtual machine](https://www.how2shout.com/wp-content/uploads/2024/03/Create-Oracle-Linxu-7-virtual-machine.png)
Step 4: Set the RAM
Assign the amount of RAM you want to give to your Oracle Virtual machine. The 2GB is recommended for the proper functioning of an Oracle server with a GUI interface. If you install the minimal version, you can assign a lower amount than this. You can also increase or decrease the assigning of CPU cores as per the requirement.
![Set RAM and Processor for ORacle Linux 7 VM](https://www.how2shout.com/wp-content/uploads/2024/03/Set-RAM-and-Processor-for-ORacle-Linux-7-VM.png)
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’.
The default file size for storage is 20Gb, use the slider to set the disk size as per your requirements, and click on the Next button.
![VHD for ORacle Linux](https://www.how2shout.com/wp-content/uploads/2024/03/VHD-for-ORacle-Linux.png)
Step 6: Start the 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 color START button given in the menu of Virtualbox.
Step 7: 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 on what you have downloaded.
![Oracle Linux GUI mode](https://www.how2shout.com/wp-content/uploads/2019/02/Oracle-Linux-GUI-mode.jpg)
Step 8: Select the Language
The first screen that 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](https://www.how2shout.com/wp-content/uploads/2019/02/Oracle-Linux-Installtion-1-Select-language.jpg)
Step 9: 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](https://www.how2shout.com/wp-content/uploads/2019/02/minimal-installation-or-full-installaton-of-Oracle.jpg)
Step 10: Software Selection
The Oracle server offers multiple base environments such as Minimal Install, Infrastructure, File and print server, Basic web server, Virtualization Host, and Server with GUI. As per the server environment, the Add-Ons are also listed on the right side.
Select the Server with GUI and from Add-Ons for Selected Environment – choose any other server software you want to install.
![Oracle server with GUI](https://www.how2shout.com/wp-content/uploads/2019/02/Oracle-server-with-GUI.jpg)
Step 11: Installation Destination
Click on the Installation Destination option to set the partition.
![Install the Oracle Linux enterprise on VirtualBox](https://www.how2shout.com/wp-content/uploads/2019/02/Install-the-Oracle-Linux-enterprise-on-VirtualBox.jpg)
If you want to perform some custom portioning for installation then select “I will configure the partitioning” Otherwise just leave the default option and click the DONE button.
![Disk partioning Oracle Linux 3](https://www.how2shout.com/wp-content/uploads/2019/02/Disk-partioning-Oracle-Linux-3-1.jpg)
Now click on the Network & Hostname option selection and simply use the toggle button to turn ON for network configuration to get the internet connection.
After all this click on the Begin Installation button.
Step 12: Set root Password and User
On the Installation summary screen while the installer installs 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](https://www.how2shout.com/wp-content/uploads/2019/02/create-root-password.jpg)
Enter the root password two times and then click on the Done button.
![set the root password for Oracle Linux enterprise](https://www.how2shout.com/wp-content/uploads/2019/02/set-the-root-password-for-Oracle-Linux-enterprise.jpg)
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 the Oracle server plus the username and password you want to assign to that. Finally, click on the Done button.
![Create user](https://www.how2shout.com/wp-content/uploads/2019/02/Create-user.jpg)
Step 13: Reboot
Finally, after the installation is completed we have to click the Reboot button. But before clicking that go to the Devices option in the Menu and remove/unmount the OracleLinux ISO file.
![Reboot the oracle Linux](https://www.how2shout.com/wp-content/uploads/2019/02/Reboot-the-oracle-Linux.jpg)
Step 14: 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](https://www.how2shout.com/wp-content/uploads/2019/02/Oracle-license-acceptance.jpg)
![accept the license agreemen](https://www.how2shout.com/wp-content/uploads/2019/02/accept-the-license-agreemen.jpg)
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](https://www.how2shout.com/wp-content/uploads/2019/02/Login-Oracle-server.jpg)
![Sucessful ORacle server installtion on Virtualbox](https://www.how2shout.com/wp-content/uploads/2019/02/Sucessful-ORacle-server-installtion-on-Virtualbox.jpg)
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
Related Posts
What’s new in Android 15? All that we know after the release of Android 15
6 Best Free and Open-source Alternatives to WinZip & WinRAR
10 Top Best Free & Open Source Social Network Platforms to Start Your Own
How to enable Virtualbox nested VTX/Amd-V on Windows 10/11 or Linux
How to install Winget package manager in Windows 2022 Server
How to View Listening Ports Using Netstat