summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2013-10-22 13:29:13 -0700
committerJohn Wilkins <john.wilkins@inktank.com>2013-10-22 13:29:13 -0700
commit105fb61f87957095d20f315d4bb12aaab3487577 (patch)
treeb03e590144258541de0edbb4837500074f2a5f30
parent6c88d405466501788ccdc6a4c0535d7f7d759576 (diff)
downloadceph-105fb61f87957095d20f315d4bb12aaab3487577.tar.gz
doc: Added install for libvirt.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
-rw-r--r--doc/install/install-libvirt.rst51
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/install/install-libvirt.rst b/doc/install/install-libvirt.rst
new file mode 100644
index 00000000000..7b17b0ea200
--- /dev/null
+++ b/doc/install/install-libvirt.rst
@@ -0,0 +1,51 @@
+=================
+ Install libvirt
+=================
+
+To use ``libvirt`` with Ceph, you must have a running Ceph Storage Cluster, and
+you must have installed and configured `QEMU`_.
+
+
+Debian Packages
+===============
+
+``libvirt`` packages are incorporated into Ubuntu 12.04 Precise Pangolin and
+later versions of Ubuntu. To install ``libvirt`` on these distributions,
+execute the following::
+
+ sudo apt-get update && sudo apt-get install libvirt-bin
+
+
+RPM Packages
+============
+
+To use ``libvirt`` with a Ceph Storage Cluster, you must have a running Ceph
+Storage Cluster and you must also install a version of QEMU with ``rbd`` format
+support. See `QEMU`_ for details.
+
+
+``libvirt`` packages are incorporated into the recent CentOS/RHEL distributions.
+To install ``libvirt``, execute the following::
+
+ sudo yum install libvirt
+
+
+Build ``libvirt``
+=================
+
+For Ubuntu distributions 11.10 oneiric and earlier, you must build ``libvirt``
+from source. Clone the ``libvirt`` repository, and use `AutoGen`_ to generate
+the build. Then, execute ``make`` and ``make install`` to complete the
+installation. For example::
+
+ git clone git://libvirt.org/libvirt.git
+ cd libvirt
+ ./autogen.sh
+ make
+ sudo make install
+
+See `libvirt Installation`_ for details.
+
+.. _libvirt Installation: http://www.libvirt.org/compiling.html
+.. _AutoGen: http://www.gnu.org/software/autogen/
+.. _QEMU: ../install-qemu