new version 1.0.82-8
[sahlberg/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 git repositories.<p>
10
11 <h2>CTDB</h2>
12 To get an initial checkout of the ctdb code do this:
13 <pre>
14    git clone git://git.samba.org/tridge/ctdb.git ctdb
15 </pre>
16
17 To update this tree when improvements are made in the upstream code do this:
18 <pre>
19     cd ctdb
20     git pull
21 </pre>
22
23 If you don't have git and can't easily install it, then you can
24 instead use the following command to fetch ctdb or update it:
25 <pre>
26     rsync -avz samba.org::ftp/unpacked/ctdb .
27 </pre>
28
29
30 <h2>Samba3 ctdb version</h2>
31 To checkout the samba-ctdb tree do this:
32 <pre>
33    git clone git://git.samba.org/tridge/samba-ctdb.git samba_3_0_ctdb
34 </pre>
35
36 To update this tree when improvements are made in the upstream code do this:
37 <pre>
38    cd samba_3_0_ctdb
39    git pull
40 </pre>
41
42 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:
43 <pre>
44     rsync -avz samba.org::ftp/unpacked/samba_3_0_ctdb .
45 </pre>
46
47 <h2>Binary Packages</h2>
48
49 Note that packages are so far only available for RHEL5. Other packages
50 may come later. <p>
51
52 See <a href="packages/">packages</a> directory for package
53 downloads.
54
55
56 <!--#include virtual="footer.html" -->