HowTo: Installing the latest Subversion on SuSE Linux Enterprise Server 9.1 and configure it to use OpenLDAP
From: <ark-d_at_betasystems.com>
Date: 2004-11-25 13:20:20 CET
I became some headache installing the latest Subversion on SuSE Linux
Best regards
##########################################################################
In this HowTo I'm going to show how Subversion can be installed on
Download Apache 2 latest Source disrtibution from:
and unpack the package to e.g. /tools
1. Apache Custom Installation from httpd-2.0.52 Source
sles9-subversion:/tools/httpd-2.0.52 #
make clean # only used if something was gone wrong with previous
./configure --prefix=/usr/local/apache2 --with-mysql --with-susexec
after this apache will be installed under /usr/local/apache2
2. Subversion Installation:
Download the latest Subversion Installation Package from:
(the latest version at this time of writing this document is Subversion
./configure --enable-maintainer-mode
By update:
Copy mod_dav_svn.so and mod_authz_svn.so _from_ the Custom Installation
cp /usr/local/apache2/modules/mod_dav_svn.so /usr/lib/apache2-prefork/
3. Create /svn repository using the fsfs file system type
svnadmin create --fs-type fsfs /svn
4. Apache LDAP Configurtion
On SuSE Linux Enterprise Server the Apache is installed under:
create a file named svn_mod.conf.ldap under /etc/apache2
vi /etc/apache2/svn_mod.conf.ldap
copy / paste and customize the following snippet to svn_mod.conf.ldap
User wwwrun
<Location /svn>
Require valid-user
5. write the following attribute:
APACHE_CONF_INCLUDE_FILES="/etc/apache2/svn_mod.conf.ldap"
into /etc/sysconfig/apache2
6. restart Apache:
sles9-subversion:/tools/httpd-2.0.52 # rcapache2 restart
7. test your Installation:
svn ls https://sles9-subversion/svn/<imported_modules>
now your clients shall be prompted for:
"LDAP Authentication for /svn repository"
Written by Arash on Novemver/25/2004
##########################################################################
This HowTo will be maintained on:
http://www.pomegranate.de:90/cms/forum/viewthread?thread=3
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.