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.
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.
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.
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.
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.