Installing Windows Server 2012 R2 VM on Ubuntu 14.04

This entry is part 1 of 2 in the series Installing Windows Server 2012 R2 VM on Ubuntu 14.04  
This entry is part 1 of 2 in the series Installing Windows Server 2012 R2 VM on Ubuntu 14.04

I was pleasantly surprised at how simple it was to get Ubuntu and Windows Servers running simultaneously on the same machine.  I know there are many more comprehensive guides out there but here are the steps I used to get everything up and running.

 Requirements

The main requirement was to be able to run WIndows Server 2012 R2 as a virtual host on my Ubuntu server.  Another requirement was that I was able to connect to the Windows server via remote desktop and any other services that I set up (Web, FTP, etc).  This meant that the Windows server required its own IP address.

 Setup Overview

1.  Server:  HP DL360 G5 – I got this server on ebay for $62 with shipping!  Check this article out as I go into more detail on how I set it up as my home server.

  • 2 X 2.33 GHZ quad core Xeon processors (8 total cores).
  • 8 GB RAM.
  • Processors support virtual machines.

2.  Host OS:  Ubuntu Server 14.04

3.  Guest OS:  Windows Server 2012 R2 with an allocation of 8 virtual cores and 4 GB RAM.

The Process

1.  Enable Virtualization Technology

Before starting, you may need to enable VT or Virtualization Technology for your processors.  In my case (DL360 G5), it was under the following bios menu:  Advanced Options -> Processor Options -> Intel(R) Virtualization Technology.  For some reason, this is disabled by default.

Here is a photo of my DL360 G5 bios settings for enabling VT.

Here is a photo of my DL360 G5 bios settings for enabling VT.

2.  Install VirtualBox on Ubuntu

Execute the following at the command prompt:

sudo apt-get install virtualbox

Next, you will need to download and install the VirtualBox extensions.  This is as simple as downloading the file and then double-clicking it if you have a desktop running.  If you are only using the command line, enter the following at the command prompt:

VBoxManage extpack install <filename.vbox-extpack>

Since this tutorial got more detailed than I originally planned, it has been broken up into a series of articles.  That way you can check them all out or just the one that interests you.  Check out the next step in the process.

Series NavigationVirtualBox – Creating The Windows Server VM on Ubuntu 14.04 >>

2 Comments



  1. Can you do this the other way around?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *