HowTo: Install VirtualBox on Ubuntu server 14.04

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

HowTo: Install VirtualBox on Ubuntu server 14.04

Post by ^rooker »

I want to install VirtualBox on a headless Ubuntu server (14.04. 3 64bits) host.
I've never done that before in that way, so I'll take notes here.

First of all:
Seems, whatever I'm doing, Falko Timme did it first - and wrote a HowTo about it! :shock:
They're usually very excellent. So here's another one:
VBoxHeadless - Running Virtual Machines With VirtualBox 4.3 On A Headless Ubuntu 14.04 LTS Server

It seems that VirtualBox can be installed from Ubuntu's default repositories (instead of requiring to add the ones from Oracle):

Code: Select all

$ apt-get install virtualbox
According to Information on the VirtualBox website:
Before version 4.0, there were two editions of VirtualBox: a full binary containing all features and an "Open Source Edition" (OSE) with source code. With version 4.0, there is only one version any more, which is open source, and the closed-source components have been moved to a separate extension pack.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Manage VirtualBox VMs from the command line

Post by ^rooker »

Exporting to "Open Virtualization Format" (.ovf):

Code: Select all

$ VBoxManage export "vm_name" --output VM_CLONE_FILE.ovs
Importing from OVF files:

Code: Select all

$ VBoxManage import VM_CLONE_FILE.ovs

Further notes for headless handling of VirtualBox VMs:
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply