mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
add a page (based on the wiki) on how to build samba3 and ctdb
(This used to be ctdb commit 4abbf1b75f3c3d7b5c220078d5adb5b4fec43db1)
This commit is contained in:
parent
c0a34e287c
commit
5471c6ebf6
39
ctdb/web/building_samba_ctdb.html
Normal file
39
ctdb/web/building_samba_ctdb.html
Normal file
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Building CTDB and Samba</TITLE>
|
||||
</HEAD>
|
||||
<BODY BGCOLOR="#ffffff" TEXT="#000000" VLINK="#292555" LINK="#292555" ALINK="#cc0033">
|
||||
|
||||
<h1>Building CTDB and Samba</h1>
|
||||
|
||||
<h2>CTDB</h2>
|
||||
To build a copy of the CTDB code you should do this:
|
||||
<pre>
|
||||
cd ctdb
|
||||
./autogen.sh
|
||||
./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.
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -62,6 +62,7 @@ README file</a> for some description of how TDB is used.
|
||||
<h2>Documentation</h2>
|
||||
|
||||
<a href="./getting_the_code.html">Getting the code</a><br>
|
||||
<a href="./building_samba_ctdb.html">Building Samba and CTDB</a><br>
|
||||
|
||||
<br>
|
||||
Documentation on how to install and configure CTDB is available in the
|
||||
|
Loading…
x
Reference in New Issue
Block a user