Skip to content

Instantly share code, notes, and snippets.

@abelboldu
Last active December 15, 2015 10:29
Show Gist options
  • Save abelboldu/5246297 to your computer and use it in GitHub Desktop.
Save abelboldu/5246297 to your computer and use it in GitHub Desktop.
Hypervisor agnostic libvirt in Ubuntu 12.04
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