linux_apache_Subversion安裝配置

wangzhensheng發表於2009-07-25

==============================
cd zlib/
./configure --prefix=/home/nagios/usr/local/zlib && make && make install


cd ../sqlite-amalgamation
./configure --prefix=/home/nagios/usr/local/sqlite-amalgamation && make && make install

cd ../apr/
./configure --prefix=/home/nagios/usr/local/apr && make && make install

cd ../apr-util/
./configure --prefix=/home/nagios/usr/local/apr-util --with-apr=/home/nagios/usr/local/apr && make && make install

cd ../serf/
./configure --prefix=/home/nagios/usr/local/serf --with-apr-util=/home/nagios/usr/local/apr-util && make && make install

cd ../neon/
./configure --prefix=/home/nagios/usr/local/neon && make && make install

====================================
./configure --prefix=/home/nagios/apa2063 --enable-so --enable-dav --enable-maintainer-mode
--with-apr=/home/nagios/usr/local/apr/bin/apr-1-config
--with-apr-util=/home/nagios/usr/local/apr-util/bin/apu-1-config
&& make && make install

cd subversion-1.6.3/
./configure
--prefix=/home/nagios/svn
--with-apr-util=/home/nagios/apa2063
--with-apr=/home/nagios/apa2063
--with-apache-libexecdir=/home/nagios/apa0263/modules
--without-berkeley-db
--with-sqlite=/home/nagios/usr/local/sqlite-amalgamation
--with-apxs=/home/nagios/apa2063/bin/apxs


./configure --prefix=/home/nagios/apa2058 --enable-so --enable-dav --enable-maintainer-mode && make && make install

./configure
--prefix=/home/nagios/svn
--with-apxs=/home/nagios/apa2063/bin/apxs
--with-apr-util=/home/nagios/usr/local/apr/bin/apu-1-config
--with-apr=/home/nagios/usr/local/apr/bin/apr-1-config
--with-apache-libexecdir=/home/nagios/apa2058/modules
--without-berkeley-db


==========================

./configure --prefix=/home/nagios/apa2211 --enable-so --enable-dav --enable-maintainer-mode
--with-apr=/home/nagios/usr/local/apr/bin/apr-1-config
--with-apr-util=/home/nagios/usr/local/apr-util/bin/apu-1-config

make
make install

./configure
--prefix=/home/nagios/svn
--with-apxs=/home/nagios/apa2211/bin/apxs
--with-sqlite=/home/nagios/usr/local/sqlite-amalgamation
--with-apr-util=/home/nagios/usr/local/apr-util/bin/apu-1-config
--with-apr=/home/nagios/usr/local/apr/bin/apr-1-config
--with-apache-libexecdir=/home/nagios/apa2211/modules
--without-berkeley-db


==========================================
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so


DocumentRoot /home/nagios/svnroot

Options Includes
AllowOverride All
Order allow,deny
Allow from all


DAV svn
SVNParentPath /home/nagios/svnroot
AuthzSVNAccessFile /home/nagios/svnroot/conf/accessfile
Require valid-user
AuthType Basic
AuthName "Subversion System"
AuthUserFile /home/nagios/svnroot/conf/passwdfile

ServerName svn.mydomain.net
DirectoryIndex index.html

/home/nagios/svnroot/conf/accessfile

[groups]
user = wang
anonymous = test

[/]
* = r
@user = rw
@anonymous = r

/home/nagios/svnroot/conf/passwdfile

htpasswd -c /home/nagios/svnroot/conf/passwdfile wang

===================

svnserve -d -r /home/nagios/svnroot/

netstat -anlp | grep svnserv

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8806316/viewspace-1024588/,如需轉載,請註明出處,否則將追究法律責任。

相關文章