Last active
December 15, 2015 10:29
-
-
Save abelboldu/5246297 to your computer and use it in GitHub Desktop.
Hypervisor agnostic libvirt in Ubuntu 12.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libyajl-dev libopenwsman-dev gcc make pkg-config \ | |
libxml2-dev libgnutls-dev libdevmapper-dev libcurl4-openssl-dev python-dev \ | |
libxen-dev | |
wget http://libvirt.org/sources/libvirt-1.0.0.tar.gz | |
tar xvzf libvirt-1.0.0.tar.gz | |
cd libvirt-1.0.0 | |
./configure --prefix=/usr --localstatedir=/var \ | |
--sysconfdir=/etc --with-esx=yes --with-hyperv=yes --with-xen=yes | |
make | |
sudo make install | |
sudo service libvirt-bin stop | |
sudo service libvirt-bin start | |
echo \#\# libvirt version: | |
livbirtd --version | |
echo Enjoy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment