TMP: add a ctdb snapshot of current ctdb master (git://git.samba.org/ctdb.git) to...
[obnox/samba/samba-obnox.git] / ctdb / 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 the CTDB code you should do this:
8 <pre>
9    cd ctdb
10    ./autogen.sh
11    ./configure
12    make
13    make install
14 </pre>
15
16 You need to install ctdb on all nodes of your cluster.
17
18
19 <h2>Samba3</h2>
20
21 To build a copy of Samba3 with clustering and ctdb support you should do this:
22 <pre>
23     cd samba_3_0_ctdb/source
24     ./autogen.sh
25     ./configure --with-ctdb=/usr/src/ctdb --with-cluster-support --enable-pie=no
26     make proto
27     make
28 </pre>
29
30 Once compiled, you should install Samba on all cluster nodes.<br><br>
31
32 The /usr/src/ctdb path should be replaced with the path to the ctdb sources that you downloaded above.
33
34 <!--#include virtual="footer.html" -->