Skip to content

Setup script for Ubuntu 15.10

Zachary Claret-Scott edited this page Sep 4, 2016 · 8 revisions

This script has been tested only on Ubuntu 15.10. It doesn't work on Ubuntu 14.04 (some dependencies are not satisfied), and as it uses systemd commands, it should work on Ubuntu 16.04 and newer.

#!/bin/bash

# Now, we need to install Kimchi to get a good web interface needed to drive the VMs.
# Kimchi is an open source project, backed by IBM. It is made from 3 components, Wok, Ginger and Kimchi.
apt-get -y install python-cherrypy3 python-jsonschema python-m2crypto nginx python-ldap python-psutil fonts-font-awesome texlive-fonts-extra python-configobj python-parted sosreport python-imaging websockify novnc nfs-common python-ethtool open-iscsi python-guestfs libguestfs-tools spice-html5 python-paramiko
wget http://kimchi-project.github.io/wok/downloads/wok-2.2.0-0.noarch.deb
wget http://kimchi-project.github.io/gingerbase/downloads/ginger-base-2.2.0-0.noarch.deb
wget http://kimchi-project.github.io/kimchi/downloads/kimchi-2.2.0-0.noarch.deb

# Do not try to install the stack on a single line, it doesn't work.
dpkg -i wok-*.deb 
dpkg -i ginger-base-*.deb
dpkg -i kimchi-*.deb

# By default, Kimchi <= 2.0.0 has a wrong dependency on libvirt.
# Remove the following comment if you're installing version <= 2.0.0
#sed -i 's/libvirtd.service/libvirt-bin.service/g' /etc/systemd/system/wokd.service.d/kimchi.conf

# Reload the wok service
systemctl daemon-reload
systemctl restart wokd

# Now, check Kimchi is correcly setup by opening a browser to: https://localhost:8001

Now, you can point your browser to https://localhost:8001 and you should see Kimchi up and running.

Here is a link to a blog post with setup guide

Clone this wiki locally