minor doc updates
[metze/ctdb/wip.git] / web / building.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>CTDB</TITLE>
5 </HEAD>
6 <!--#include virtual="header.html" -->
7
8 <H2 align="center">Building CTDB and Samba</h2>
9
10 <h2>CTDB</h2>
11 To build a copy of the CTDB code you should do this:
12 <pre>
13    cd ctdb
14    ./autogen.sh
15    ./configure
16    make
17    make install
18 </pre>
19
20 You need to install ctdb on all nodes of your cluster.
21
22
23 <h2>Samba3</h2>
24
25 To build a copy of Samba3 with clustering and ctdb support you should do this:
26 <pre>
27     cd samba_3_0_ctdb/source
28     ./autogen.sh
29     ./configure --with-ctdb=/usr/src/ctdb --with-cluster-support --enable-pie=no
30     make proto
31     make
32 </pre>
33
34 Once compiled, you should install Samba on all cluster nodes.<br><br>
35
36 The /usr/src/ctdb path should be replaced with the path to the ctdb sources that you downloaded above.
37
38 <!--#include virtual="footer.html" -->