[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 515
  • Last Modified:

Best Method for Using Linux/Ubuntu as a Hypervisor

Hey Everyone,

I've used HyperV so far for virtualizing my clients' servers, but I want a solution for those that don't have licensing to install a 2008 R2 Server for HyperV.  So I was thinking of using Linux to transfer their Servers from the hardware to a virtual environment.  Unfortunately my Linux knowledge is almost none aside from using Ubuntu here and there.

From what I've seen the only real differences for Ubuntu Desktop and Server editions is that server has no GUI and different applications/services installed.

After researching for quite a bit I've found that Virtual Box is probably the best way to go, I was leaning towards Xen for a while but after a few posted test results it swayed me back to VirtualBox.  

So here's what I was thinking of doing, I could install the Ubuntu Server with virtualization services checked off then drop in a core GUI like Gnome and run VirtualBox from within that and run their servers virtually.  Is this a viable solution?  Will it be reliable and run 32 and 64 bit servers?  Etc.

Any info as always is greatly appreciated!

Thanks,
Adam
0
blue92lx
Asked:
blue92lx
  • 4
  • 2
1 Solution
 
vaderjCommented:
I agree that in your case (the asumption is that it is Windows which will be VM'ed) that VirtualBox is the way to go.
Dont even bother checking the box for Virtualization Host, that installs KVM and for things to work right, you cant have KVM modules running.
So basically, install Ubuntu Server (which is also what I use on my server and desktop) with out Virt. Host, once you get down to a command line after the install you want to perform an update and then install the Ubuntu-Desktop  (for Gnome) package, type the following to do that:
sudo apt-get update
sudo apt-get install ubuntu-gnome

after that is installed, you can issue the command:
sudo init 5
to make it boot into a graphic login manager.  You can also throw the following lines in at any point to get VirtualBox in your apt configuration:

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-4.1

Enjoy and cheers
0
 
blue92lxAuthor Commented:
Awesome and thanks!  One last question then, if I'm installing the server and then putting the GUI on top, why not just install Desktop Ubuntu?  What's the real difference, is it really just some additional programs that install with desktop or is the architecture actually different between desktop and server?
0
 
blue92lxAuthor Commented:
For instance could I just install the Ubuntu Desktop and remove some software or do I have to install server and then add the GUI?
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
vaderjCommented:
Haha glad you asked. This is actually the exact process I use for installing Ubuntu - I only use Ubuntu Server and install Ubuntu-Desktop.  If I recall, Ubuntu Server has a different kernel (different scheduler), however I cant quite remember the specifics.  Just a hint, the Ubuntu-Desktop package download is over 1GB, so plan your time  accordingly.
0
 
blue92lxAuthor Commented:
Yes I've done a server install once in HyperV to test it out and thought that the desktop download would be done lickity split.  About 1.5 hours later I found out how extensive it is!  haha.  Thanks for your help!
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Why not use

Microsoft Hyper-V Server 2008 R2 with Service Pack 1 (SP1)
http://technet.microsoft.com/en-us/evalcenter/dd776191.aspx

it's free?
0
 
blue92lxAuthor Commented:
Because Server 2008 R2 is not free.  I'm going to use Linux for clients that don't have the Server 2008 R2 license, otherwise I'll be using HyperV, a couple of my clients are already setup on it and I like it.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now