merge from tridge
[ctdb.git] / web / download.html
1 <!--#set var="TITLE" value="Downloading CTDB" -->
2 <!--#include virtual="header.html" -->
3
4 <H2 align="center">Getting the code</h2>
5
6 You need two source trees, one is a copy of Samba3 with clustering
7 patches, and the other is the ctdb code itself.<p>
8
9 Both source trees are stored in bzr repositories.<p>
10
11 See http://bazaar-vcs.org/ for more information on bzr.<p>
12
13 <h2>CTDB</h2>
14 To get an initial checkout of the ctdb code do this:
15 <pre>
16    rsync -avz samba.org::ftp/unpacked/ctdb .
17 </pre>
18
19 To update this tree when improvements are made in the upstream code do this:
20 <pre>
21     cd ctdb
22     bzr merge http://samba.org/~tridge/ctdb
23 </pre>
24
25 If you don't have bzr and can't easily install it, then you can instead use the following command to update your tree to the latest version:
26 <pre>
27     cd ctdb
28     rsync -avz samba.org::ftp/unpacked/ctdb/ .
29 </pre>
30
31
32 <h2>Samba3 ctdb verion</h2>
33 The fastest way to checkout an initial copy of the Samba3 tree with clustering patches is:
34 <pre>
35   rsync -avz samba.org::ftp/unpacked/samba_3_0_ctdb .
36 </pre>
37
38 To update this tree when improvements are made in the upstream code do this:
39 <pre>
40    cd samba_3_0_ctdb
41    bzr merge http://samba.org/~tridge/samba_3_0_ctdb
42 </pre>
43
44 If you don't have bzr and can't easily install it, then you can instead use the following command to update your tree to the latest version:
45 <pre>
46     cd samba_3_0_ctdb
47     rsync -avz samba.org::ftp/unpacked/samba_3_0_ctdb/ .
48 </pre>
49
50 <h2>Binary Packages</h2>
51
52 Note that packages are so far only available for RHEL4. Other packages
53 will come later. <p>
54
55 See <a href="packages/">packages</a> directory for package
56 downloads.
57
58
59 <!--#include virtual="footer.html" -->