1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/ctdb/web/building.html
Amitay Isaacs a6d9b6f473 web: Update instructions for building from tarball
Signed-off-by: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit ceac026713a7ee30ea865ed4a9422900ed76fdf6)
2012-10-31 12:19:08 +11:00

43 lines
984 B
HTML

<!--#set var="TITLE" value="Building CTDB" -->
<!--#include virtual="header.html" -->
<H2 align="center">Building CTDB and Samba</h2>
<h2>CTDB</h2>
To build a copy of CTDB code from a git tree you should do this:
<pre>
cd ctdb
./autogen.sh
./configure
make
make install
</pre>
To build a copy of CTDB code from a tarball you should do this:
<pre>
tar xf ctdb-x.y.tar.gz
cd ctdb-x.y
./configure
make
make install
</pre>
You need to install ctdb on all nodes of your cluster.
<h2>Samba3</h2>
To build a copy of Samba3 with clustering and ctdb support you should do this:
<pre>
cd samba_3_0_ctdb/source
./autogen.sh
./configure --with-ctdb=/usr/src/ctdb --with-cluster-support --enable-pie=no
make proto
make
</pre>
Once compiled, you should install Samba on all cluster nodes.<br><br>
The /usr/src/ctdb path should be replaced with the path to the ctdb sources that you downloaded above.
<!--#include virtual="footer.html" -->