Are you trying to install VirtualBox on your DigitalOcean Server droplet running Ubuntu ? We can help you.
VirtualBox is a powerful free tool by Oracle for running a virtual operating system on your computer.
Here at Ibmi Media, we shall look into how to install VirtualBox on your DigitalOcean Server droplet.
VirtualBox is free and open-source software that allows you to virtualize the x86 computing architecture. It functions as a hypervisor, generating a VM (virtual machine) in which the user can run another operating system (operating system).
The operating system on which VirtualBox runs is referred to as the "host" OS. The operating system that runs in the VM is referred to as the "guest" OS. As a host operating system, VirtualBox supports Windows, Linux, and macOS.
When configuring a virtual machine, the user can specify how many CPU cores, RAM, and disc space the VM should have. The VM can be "paused" while it is running. At that point in time, system execution is paused, and the user can resume using it later.
1. To begin, use an ssh client to connect to the instance.
After that, type as root or sudo:
$ sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms
2. Then, use the below commands to add the Vbox repository and key:
$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list'
3. Now we can update and install by running the below command:
$ sudo apt-get update
$ sudo apt-get install virtualbox-5.2
4. Finally, we can install the extension pack with the below commands:
$ curl -O http://download.virtualbox.org/virtualbox/5.2.4/Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack
$ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack
This article covers how to install VirtualBox on a Digitalocean Droplet running Ubuntu.
To Launch the VirtualBox interface , run the following command:
$ virtualbox