Signed-off-by: Valerio Pachera <[email protected]> --- doc/installation.rst | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 doc/installation.rst
diff --git a/doc/installation.rst b/doc/installation.rst new file mode 100644 index 0000000..1d50b9e --- /dev/null +++ b/doc/installation.rst @@ -0,0 +1,63 @@ +Installation +============ + +This guide is Debian (wheezy) related but you may adapt it easily to your +distribution. +Sheepdog, qemu and corosync are going to be build from sources because we need +use their latest version. + +We need some packages for the building process (on each node) + +:: + + # Enable source repository + nano /etc/apt/sources.list + deb http://ftp.se.debian.org/debian/ wheezy main contrib non-free + deb-src http://ftp.se.debian.org/debian/ wheezy main contrib non-free + + # Install the packages + aptitude update + aptitude install dh-autoreconf pkg-config liburcu1 liburcu-dev zlib1g zlib1g-dev libglib2.0-dev libpixman-1-dev groff build-essential git + +Note: to speed up things, use option '-j' for '*make*' command with the number +of your cores, e.g. '*make -j 4 install*' + + + +Sheepdog +******** + +Download sheepdog sources and compile them + +:: + + cd /usr/src + git clone https://github.com/sheepdog/sheepdog.git + cd sheepdog + ./autogen.sh && ./configure && make install + + +Corosync +******** + +Download latest stable version 1.x of corosync sources from http://corosync.github.io/corosync/ + + +:: + + tar -xzf corosync-1.x.x.tar.gz + cd corosync + ./configure --disable-nss + make install + +Qemu +**** + +:: + + git clone git://git.qemu.org/qemu.git + cd qemu + ./configure --enable-kvm --target-list="i386-softmmu x86_64-softmmu" + make install + + -- 1.7.10.4 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
