Prevent a crash in Python modules that try to authenticate by ensuring we reject...
[Samba.git] / ctdb / web / building.html
blob74750789429bb8241c6422830c0377fc107fa59d
1 <!--#set var="TITLE" value="Building CTDB" -->
2 <!--#include virtual="header.html" -->
4 <H2 align="center">Building CTDB and Samba</h2>
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>
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.
27 <h2>Samba3</h2>
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>
38 Once compiled, you should install Samba on all cluster nodes.<br><br>
40 The /usr/src/ctdb path should be replaced with the path to the ctdb sources that you downloaded above.
42 <!--#include virtual="footer.html" -->