KVM vs VirtualBox - hqzhang/cloudtestbed GitHub Wiki

VirtualBox and KVM are very popular Hypervisor that used to create Virtual Machine. Following is installation method for them. Vagrant and Virtual can crate VM locally. #VirualBox installation

1. download the Ubuntu version from this link:
https://virtualbox.org/wiki/Linux_Downloads
Ubuntu 13.04/13.10/14.04 (64bit)
http://download.virtualbox.org/virtualbox/4.3.18/virtualbox-4.3_4.3.18-96516~Ubuntu~raring_amd64.deb

2. installed with terminal like explained here
wget -q https:// virtualbox .org/download/oracle_vbox.asc -O- | sudo apt-key add -

3. run virtualbox and launch ubuntu .iso file.

#VirualBox installation

1.check >=1
egrep -c '(vmx|svm)' /proc/cpuinfo

2.install kvm
sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils

3.add user
sudo adduser `id -un` libvirtd

4.install gui
sudo apt-get install virt-manager

5. run virt-manager and launch ubuntu .iso file.

#Vagrant installation

1.need virtualbox as hypervisor
sudo apt-get install virtualbox

2.install vagrant
sudo apt-get install vagrant

3.set environemnt
vagrant box add precise32 http://files.vagrantup.com/precise32.box

4.used default vagrantfile or create one
vagrant init

5.start deployment
vagrant up