eventscripts: Remove reconfigure check from samba and winbind eventscripts
[ctdb.git] / web / building.html
1 <!--#set var="TITLE" value="Building CTDB" -->
2 <!--#include virtual="header.html" -->
3
4 <H2 align="center">Building CTDB and Samba</h2>
5
6 <h2>CTDB</h2>
7 To build a copy of CTDB code from a git tree you should do this:
8 <pre>
9    cd ctdb
10    ./autogen.sh
11    ./configure
12    make
13    make install
14 </pre>
15
16 To build a copy of CTDB code from a tarball you should do this:
17 <pre>
18    tar xf ctdb-x.y.tar.gz
19    cd ctdb-x.y
20    ./configure
21    make
22    make install
23 </pre>
24 You need to install ctdb on all nodes of your cluster.
25
26
27 <h2>Samba3</h2>
28
29 To build a copy of Samba3 with clustering and ctdb support you should do this:
30 <pre>
31     cd samba_3_0_ctdb/source
32     ./autogen.sh
33     ./configure --with-ctdb=/usr/src/ctdb --with-cluster-support --enable-pie=no
34     make proto
35     make
36 </pre>
37
38 Once compiled, you should install Samba on all cluster nodes.<br><br>
39
40 The /usr/src/ctdb path should be replaced with the path to the ctdb sources that you downloaded above.
41
42 <!--#include virtual="footer.html" -->