In this article, we will explain how to install Oracle Virtual Machine VirtualBox on your Ubuntu 18.04 LTS server. We will also provide some basic usage examples of this virtualization software.
Oracle VM VirtualBox is a cross-platform virtualization application that allows users to create and run guest operating systems on a host computer.
This application is great for testing software or creating a virtual environment for training purposes.
Unlike other virtualization software, VirtualBox allows users to install almost any operating system on top of it, including Windows, Linux, Solaris and more.
In this guide, we will install the latest version of Oracle VM VirtualBox on an Ubuntu 18.04 server.

Contents
Oracle VM Manager
Oracle VM Manager is a server application that enables you to centrally manage all aspects of your Oracle VM environment, including server pools, storage, and virtual machines.
It is web based, so you can manage your environment from any web browser. Oracle VM Manager runs on top of Oracle WebLogic Server and uses an embedded Oracle Database for storing configuration information.
To install Oracle VM Manager on Oracle Linux:
- Download the latest Oracle VM Manager Installer from the Oracle Software Delivery Cloud.
- Unzip the installer file to create a directory called vm-manager.
- In a terminal, change to the vm-manager directory and run the installer using the following command:
$JAVA_HOME/bin/java -jar ovm-manager-installer.jar
- The installer launches in your default web browser. If it does not launch automatically, open a web browser and enter https://localhost:7005/ovm in the address bar.
- Follow the instructions in the installer wizard to complete the installation process.
Oracle VM Server
You can install Oracle VM Server on an Ubuntu system using the ISO image from the Oracle website.
The Oracle VM Server for x86 installation ISO file is a bootable image that includes all the files necessary to install Oracle VM Server.
The following instructions assume you are using a BIOS-based system.
- Download the Oracle VM Server for x86 installation ISO file from the Oracle website:
- Burn the ISO image to a CD or DVD and make sure the CD or DVD drive is connected to your system before starting the installation process. If you are using a USB flash drive, make sure it is connected to your system before starting the installation process.
- To boot from the CD or DVD, select it as the first boot device in your system BIOS settings. If you are using a USB flash drive, select it as the first boot device in your system BIOS settings.
- The Oracle VM Server for x86 installer starts and presents you with various language options for the installer user interface. Choose your preferred language and press Enter to continue with the Oracle VM Server for x86 installation process:
Oracle VM Client
To install the Oracle VM Client on Ubuntu, you’ll first need to add the Oracle Virtualization repository to your sources.list file. You can do this by running the following command:
echo ‘deb https://oss.oracle.com/ol6/Oracle_VM_Client/ /’ | sudo tee -a /etc/apt/sources.list.d/oracle-virtualization.list
Once the repository has been added, you’ll need to import the GPG key for the repository so that Ubuntu will trust the packages that are coming from it. You can do this by running the following command:
curl -L ‘https://oss.oracle.com/ol6/RPM-GPG-KEY-oracle-ol6’ | sudo apt-key add –
Now that the repository is setup, you can install the Oracle VM Client by running the following command:
sudo apt-get update && sudo apt-get install oracle-vm-client
Installation
- Wanted to install oracle virtual machine on ubuntu,download the installation file from oracle website
- After download the installation file you need to install some dependencies
- Then you need to unzip the installation file
- Run the installation and follow the instruction
- After finish the installation you can run you oracle virtual machine
Configuration
If you have not done so already, you will need to configure your machine to enable hardware virtualization support.
This is typically done in the BIOS or UEFI boot firmware configuration tool. On an Intel CPU, look for any of the following VM-related entries and ensure they are enabled: VT-x, VT-d, VT-c, and Intel Virtualization Technology (Intel VT).
On an AMD CPU, look for the following VM-related entries and ensure they are enabled: AMD virtualization (AMD-V).
Additionally, on newer systems with UEFI boot firmware and GPT partitions, you may also need to enable BIOS support for hardware virtualization (sometimes called “hypervisor launch type” or “map_video_memory”).
Enabling hardware virtualization support should not cause any stability problems on your system; however, if you experience any issues after enabling it, you can try disabling it to see if that fixes the problem.
Administration
Installing oracle virtual machine on ubuntu:
- Download the oracle virtual machine from the oracle website.
- Unzip the file and open the oracle virtual machine.
- Read the terms and conditions and accept them.
- Select the “installation” option.
- Select the “create a new virtual machine” option.
- Select the “typical” installation type.
- Select your language and location.
- Select the “memory size” for your virtual machine. we recommend at least 2048 mb for best performance.
- Select the “hard disk” type. we recommend selecting “create a new hard disk”.
- Select the “size” of your hard disk. we recommend at least 40 gb for best performance.
- Select whether you want to “enable usb controller”. we recommend enabling this option for best compatibility with usb devices.
- Select whether you want to “install operating system later”. we recommend selecting this option so that you can install any operating system that you want on your virtual machine (including ubuntu!).
- Click on the “finish” button to complete the creation of your virtual machine.
- Now, you will be prompted to install an operating system on your virtual machine. insert your ubuntu installation disc into your computer’s disc drive and click on the “next” button to continue.
- Follow the prompts to complete the installation of ubuntu on your new virtual machine! once the installation is complete, you can begin using your oracle virtual machine!
Tips and Tricks
If you’re using Ubuntu, you can install Oracle’s Virtual Machine (VM) on your system. Here are some tips and tricks to get the most out of your installation.
- Download the Oracle VM from the Oracle website.
- Unzip the file you downloaded. You’ll now have a folder called “Oracle_VM.”
- Open a terminal window and change into the “Oracle_VM” directory.
- Type “./runInstaller” to start the installation process.
- Follow the prompts to complete the installation.
- Once the installation is complete, you can launch Oracle VM by clicking on the “Oracle VM VirtualBox” icon in your Applications menu.
Conclusion:
After reading this tutorial, you will be able to install Oracle Virtual Machine on Ubuntu.
In addition, you will learn how to optimize the virtual machine for performance and troubleshoot any issues that may occur.
By following these steps, you can easily create a versatile platform for running Oracle applications in a secure environment.
Finally, make sure to take advantage of our other tutorials dedicated to installing and configuring different software on Ubuntu!