Ubuntu server 16.04 as a Hypervisor using KVM and Kimchi for VM Management

How to install Kimchi in Ubuntu 16.04


In this guide we will be making our own Hypervisor in Ubuntu 16.04 by installing KVM (Kernel-based Virtual Machine) as well as Kimchi which is a free, open-source web based virtualization management platform so we can manage our hypervisor easily through the web browser.

You can find more info on Kimchi here

Installing kvm

Connect to your server as the admin user via SSH.

ssh [email protected]
Update and upgrade your web server
sudo apt-get update && sudo apt-get upgrade -y

Install KVM and all dependencies required

sudo apt-get install qemu qemu-kvm libvirt-bin

Verify the kvm installation

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

Installing Kimchi

sudo apt-get install nginx

wget http://kimchi-project.github.io/wok/downloads/latest/wok.noarch.deb

wget http://kimchi-project.github.io/gingerbase/downloads/latest/ginger-base.noarch.deb

wget http://kimchi-project.github.io/kimchi/downloads/latest/kimchi.noarch.deb 
sudo apt-get install nginx

sudo dpkg -i wok.noarch.deb

sudo apt-get install -f

sudo service wokd start

sudo dpkg -i ginger-base.noarch.deb

sudo apt-get install -f

sudo service wokd restart

#reboot here
sudo shutdown -r now

sudo dpkg -i kimchi.noarch.deb

sudo apt-get install -f

#reboot here
sudo shutdown -r now

Now open the web interface on


You should see the following
Kimchi Login Now lets create our first VM, we need to log in using your normal ubuntu username and password.
Kimchi For testing we will download an Ubuntu Server image to the /var/lib/kimchi/isos directory which is the default path to the ISO repository

cd /var/lib/kimchi/isos

sudo wget http://releases.ubuntu.com/16.04.2/ubuntu-16.04.2-server-amd64.iso

Now from the web interface we go to Virtualization > Templates > + Add Template

In this case i am selecting the 16.04.2 Template and then click on Create this should add a new template as shown below
Kimchi Template

Feel free to add more ram,cpu, disk space as desired using the actions > edit button, at this point it is just a template and not yet a vm.

Now we will create a vm using this template.

From the web interface we go to Virtualization > Guests > + Add Guest

Then we choose the VM Name and the template to use and hit create.

Important Note: Do not include any spaces in your VM name or you will be unable to start your VM.

Kimchi Add Guest

Once this is done, it is time to start your VM by pressing the Actions Menu > Start option

That's it you now have a working Ubuntu VM running, you can press the view console link to access your VM's console.

Kimchi VM

10$ off on me with This Link, if you don't have your own server visit DigitalOcean servers starting at 5$ a month
10$ off on me with

Jaco Toledo

Hi, I am a System Administrator that Lives in Jacksonville Florida and loves to experiment with anything IT, my favorite Linux Distro is Ubuntu I Love its simplicity.

Jacksonville, FL http://www.ubuntuboss.com

Subscribe to UbuntuBoss: Easy Ubuntu Tutorials | How to for Ubuntu Linux

Get the latest posts delivered right to your inbox.

or subscribe via RSS with Feedly!