[sheepdog] [PATCH 02/11] Doc. "Sheepdog Basic" add chapter "installation"

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Oct 23 09:19:45 CEST 2013


At Sun, 20 Oct 2013 10:40:55 +0200,
Valerio Pachera wrote:
> 
> Signed-off-by: Valerio Pachera <sirio81 at gmail.com>
> ---
>  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

I'd suggest using ftp.debian.org instead of ftp.se.debian.org.

> +
> +    # 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

Are dh-autoreconf and zlib really necessary?

> +    
> +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

git://github.com/sheepdog/sheepdog.git looks better.


> +    cd sheepdog
> +    ./autogen.sh && ./configure && make install
> +
> +
> +Corosync
> +********
> +
> +Download latest stable version 1.x of corosync sources from http://corosync.github.io/corosync/

I think corosync 2.x would work with sheepdog too.

Thanks,

Kazutaka



More information about the sheepdog mailing list