mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
bd5ce86789
(This used to be ctdb commit f0a787f2e6ac98b13b61316f410cbb299042242b)
57 lines
1.4 KiB
HTML
57 lines
1.4 KiB
HTML
<!--#set var="TITLE" value="Downloading CTDB" -->
|
|
<!--#include virtual="header.html" -->
|
|
|
|
<H2 align="center">Getting the code</h2>
|
|
|
|
You need two source trees, one is a copy of Samba3 with clustering
|
|
patches, and the other is the ctdb code itself.<p>
|
|
|
|
Both source trees are stored in git repositories.<p>
|
|
|
|
<h2>CTDB</h2>
|
|
To get an initial checkout of the ctdb code do this:
|
|
<pre>
|
|
git clone git://git.samba.org/tridge/ctdb.git ctdb
|
|
</pre>
|
|
|
|
To update this tree when improvements are made in the upstream code do this:
|
|
<pre>
|
|
cd ctdb
|
|
git pull
|
|
</pre>
|
|
|
|
If you don't have git and can't easily install it, then you can
|
|
instead use the following command to fetch ctdb or update it:
|
|
<pre>
|
|
rsync -avz samba.org::ftp/unpacked/ctdb .
|
|
</pre>
|
|
|
|
|
|
<h2>Samba3 ctdb version</h2>
|
|
To checkout the samba-ctdb tree do this:
|
|
<pre>
|
|
git clone git://git.samba.org/tridge/samba-ctdb.git samba_3_0_ctdb
|
|
</pre>
|
|
|
|
To update this tree when improvements are made in the upstream code do this:
|
|
<pre>
|
|
cd samba_3_0_ctdb
|
|
git pull
|
|
</pre>
|
|
|
|
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:
|
|
<pre>
|
|
rsync -avz samba.org::ftp/unpacked/samba_3_0_ctdb .
|
|
</pre>
|
|
|
|
<h2>Binary Packages</h2>
|
|
|
|
Note that packages are so far only available for RHEL5. Other packages
|
|
may come later. <p>
|
|
|
|
See <a href="packages/">packages</a> directory for package
|
|
downloads.
|
|
|
|
|
|
<!--#include virtual="footer.html" -->
|