{"id":290,"date":"2015-09-07T16:28:29","date_gmt":"2015-09-07T16:28:29","guid":{"rendered":"http:\/\/onlinelab.info\/?p=290"},"modified":"2015-09-07T16:28:29","modified_gmt":"2015-09-07T16:28:29","slug":"manage-kvm-qemu-with-kimchi-web-interface","status":"publish","type":"post","link":"https:\/\/www.asianux.org.vn\/index.php\/2015\/09\/07\/manage-kvm-qemu-with-kimchi-web-interface\/","title":{"rendered":"Manage KVM (QEMU) with Kimchi (web interface)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8200\" src=\"http:\/\/www.itzgeek.com\/wp-content\/uploads\/2014\/12\/Kimchi-Logo.jpg\" alt=\"Kimchi Logo\" width=\"205\" height=\"70\" title=\"\"><\/p>\n<p>Kimchi is a HTML5 based web interface for KVM. It is provides easy and flexible interface to create and manage a guest virtual machines. Kimchi is installed and runs as a daemon on the KVM host. It manages KVM guests with the help of libvirt. Kimchi interface supports all latest version of the browsers with -1 version, it also supports mobile browsers.<\/p>\n<p>Kimchi can be installed on latest version of RHEL, Fedora, openSUSE and Ubuntu. In this guide, i used Ubuntu 14.10 as a KVM host.<\/p>\n<p>Before configuring kimchi, you must install the following dependent packages.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"dos\">$ sudo apt-get install gcc make autoconf automake gettext git python-cherrypy3 python-cheetah python-libvirt\u00a0 libvirt-bin python-imaging python-pam python-m2crypto python-jsonschema qemu-kvm libtool python-psutil python-ethtool\u00a0 sosreport python-ipaddr python-ldap python-lxml nfs-common open-iscsi lvm2 xsltproc\u00a0 python-parted nginx firewalld python-guestfs libguestfs-tools python-requests websockify novnc spice-html5 wget<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>System would ask you the following details during the installation of packages.<\/p>\n<p>1. OK on Postfix configuration.<\/p>\n<p>2. Select Internet Site on general type of mail configuration.<\/p>\n<p>3. Type your FQDN and then select OK.<\/p>\n<p>Once installed, download the latest version of kimchi from github.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"dos\"> $ wget https:\/\/github.com\/kimchi-project\/kimchi\/archive\/master.zip<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Unzip the downloaded file.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"dos\">$ unzip master.zip\n$ cd kimchi-master\/<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Build kimchi using the following command.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"dos\">$ .\/autogen.sh --system<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Install.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"dos\">$ make\n$ sudo make install\u00a0\u00a0 # Optional if running from the source tree<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Run kimchi.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"dos\"> $ sudo kimchid --host=0.0.0.0<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Access kimchi using web browser, https:\/\/localhost:8001. You would be asked to login, use your system credential which you normally use for login to system.<\/p>\n<figure id=\"attachment_8191\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8191\" src=\"http:\/\/www.itzgeek.com\/wp-content\/uploads\/2014\/12\/Kimchi-Login-Page.jpg\" alt=\"Kimchi Login Page\" width=\"640\" height=\"494\" title=\"\"><figcaption class=\"wp-caption-text\">Kimchi Login Page<\/figcaption><\/figure>\n<p>Once you logged in, you will get a page like below. This show the list of running guest virtual machines on current host, you have buttons to perform shutdown, restart and connect to console by clicking on action.<\/p>\n<figure id=\"attachment_8192\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8192\" src=\"http:\/\/www.itzgeek.com\/wp-content\/uploads\/2014\/12\/Kimchi-guest-virtual-machines.jpg\" alt=\"Kimchi guest virtual machines\" width=\"640\" height=\"367\" title=\"\"><figcaption class=\"wp-caption-text\">Kimchi guest virtual machines<\/figcaption><\/figure>\n<p>To create a new guest machine, click on the + sign in the right corner. If you use this option to create a machine, it will be done through templates.<\/p>\n<figure id=\"attachment_8194\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8194\" src=\"http:\/\/www.itzgeek.com\/wp-content\/uploads\/2014\/12\/Kimchi-Creating-Virtual-Machine.jpg\" alt=\"Kimchi Creating Virtual Machine\" width=\"640\" height=\"367\" title=\"\"><figcaption class=\"wp-caption-text\">Kimchi Creating Virtual Machine<\/figcaption><\/figure>\n<p>You can manage templates by visiting templates menu. To create a new template, click on the + sign in the right corner. You can create a template using ISO images, you can place iso images on \/var\/lib\/kimchi\/isos or use remote one.<\/p>\n<figure id=\"attachment_8195\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8195\" src=\"http:\/\/www.itzgeek.com\/wp-content\/uploads\/2014\/12\/Kimchi-Creating-Template.jpg\" alt=\"Kimchi Creating Template\" width=\"640\" height=\"369\" title=\"\"><figcaption class=\"wp-caption-text\">Kimchi Creating Template<\/figcaption><\/figure>\n<p>You can manage storage pool by going to storage menu, there you can add a new storage by clicking on + sign. It supports adding NFS, iSCSI and SCSI fibre channel storage.<\/p>\n<figure id=\"attachment_8197\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8197\" src=\"http:\/\/www.itzgeek.com\/wp-content\/uploads\/2014\/12\/Kimchi-Storage-Management.jpg\" alt=\"Kimchi Storage Management\" width=\"640\" height=\"365\" title=\"\"><figcaption class=\"wp-caption-text\">Kimchi Storage Management<\/figcaption><\/figure>\n<p>Network can be managed by going to network menu, you can create a new network with isolated, NAT and bridged networking.<\/p>\n<figure id=\"attachment_8198\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8198\" src=\"http:\/\/www.itzgeek.com\/wp-content\/uploads\/2014\/12\/Kimchi-Networking.jpg\" alt=\"Kimchi Networking\" width=\"640\" height=\"402\" title=\"\"><figcaption class=\"wp-caption-text\">Kimchi Networking<\/figcaption><\/figure>\n<p>That\u2019s All.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kimchi is a HTML5 based web interface for KVM. It is provides easy and flexible interface to create and manage a guest virtual machines. Kimchi is installed and runs as a daemon on the KVM&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-290","post","type-post","status-publish","format-standard","hentry","category-solution"],"_links":{"self":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/comments?post=290"}],"version-history":[{"count":0,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/290\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/media?parent=290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/categories?post=290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/tags?post=290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}