In this post I will cover installing Oracle's virtualbox on Ubuntu 14.04. This will allow me to run Windows and tableau , a program for putting together interactive visualizations. If you are running Ubuntu and taking Coursera's introduction to data science class you might find this post useful as well. However, having virtualbox installed and available is always a good thing for those situations where Win or Mac are the only options.
The download and install will take a bit of time because virtualbox is about 70MB. Note: this also installs dkms, as suggested in the original instructions. Finally, we want to install the virtualbox extensions. I downloaded the latest version at this time:
At this point you can install windows from an image, official media, or other source. I'll be using a version of Windows 7 that I bought for occasions just like this. Checkout the virtualbox first steps guide for help setting up your virtual machine and installing the OS.
We have an OSX host and an ubuntu 10.04 vagrant instance running on virtualbox. While attempting to send an email to emailtests.com (for email testing purposes) we noticed that the DNS was not resolving appropriately.
The natdns Vagrantfile settings that work for us (Vagrant 1.6.3, tested on OSX (using VirtualBox 4.3.14) and Windows8 (using Virtual Box 4.3.15 r95286 - my colleague had different unrelated problem using 4.3.14 with windows8 so is using a beta build that appears to work properly with vagrant)
The reason appears to be that Vagrant defaults --natdnsproxy1 to on, and virtualboxs' proxied DNS for mx lookups seems flawed/broken/flakey - if you set it to off the vm will use the IP addresses the host uses for the DNS rather than trying to proxy them via 10.0.2.3 - et voila you get the full mx records from DNS (or at least we do).
# The following items were fixed and/or added:* VMM: fixed reboot hang of 32-bit Windows SMP guests * VMM: proper Math Fault handling with certain legacy guests * VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT on older CPUs that don't support MSR-bitmaps (VT-x only)* GUI: fix 3D overlay window re-parenting issue when VM goes to full screen mode on X11 hosts.* GUI: fix occasional loss of focus in full-screen mode on X11 host systems (4.3.16 regression)* GUI: Mac OS X: wizards should have Cancel button* GUI: added a global option to prevent automatic raising of the new window by mouse move with multi-screen guests * API: accept remote display port 0 as the default RDP port (bug #8534)* VBoxManage: fixed crash when executing showvminfo command under certain circumstances * ACPI: fixed occasional Guru Meditations in ACPI timer code (4.3.18 regression)* EFI: improved performance of IDE disk access* EFI: fixed a bug in the EFI video driver which prevented Windows to boot in UEFI mode * EFI: properly announce the amount of RAM for big VMs * Storage: fixed a crash under certain circumstances when a medium was ejected from a drive attached to the SATA controller without inserting a new medium before pausing or closing the VM (4.3.16 regression)* Storage: fixed an interrupt acknowledge issue causing hanging guests or slower I/O (4.3.18 regression)* Storage: fixed broken resume after the VM was suspended due to a full disk if host I/O caching is used* Storage: fixed a Guru Meditation under certain conditions when using the DevLsiLogic controller with VMs running in raw mode (4.3 regression)* Guest Control: fixed a bug which might lead to a crash during recursive copy* SDK: Java COM bindings fixes* iPXE: enable the HTTP download protocol * Runtime: do not use a fixed stack size creating temporary threads during initialization * Windows hosts: fixed more startup problems on certain Windows hosts due to conflicts with anti-virus software; better error reporting (4.3.14 regression)* Windows hosts: fixed DirectSound host audio failure under certain conditions * Windows hosts: fixed additional cases of 4.3.14 regression whereby AltGr stopped working for some people * Windows Additions: preserve guest monitor layout when resizing Windows 7 or newer guests* Linux Additions: Linux 3.18 compile fixes 2b1af7f3a8