~ubuntu-branches/ubuntu/vivid/ctdb/vivid-proposed

« back to all changes in this revision

Viewing changes to web/building.html

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Parent
  • Date: 2008-04-26 15:21:27 UTC
  • Revision ID: james.westby@ubuntu.com-20080426152127-58mv5ojv5q362ise
Tags: upstream-1.0.34+git200804242206
ImportĀ upstreamĀ versionĀ 1.0.34+git200804242206

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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" -->