setup Subversion server on CentOS/Apache friends
March 23, 2007 on 4:28 pm | In SVN, Linux Admin | 4 CommentsI have no choice, the company I am working with is currently using CentOS4.4/Apache friends 1.6. But they need SVN.
The little trick is, the apache friends 1.6 could not be compiled with mod_dav_svn.so so that I could not pass the ./configure with –with-apxs=/opt/lampp/bin/apxs.
Finally, I gave up, compiled Subversion 1.4.3 without apxs. Everything worked fine but the HTTP method.
Then I looked into Apache friends 1.6, I found it comes with Apache 2.2.4.
So I used another machine to compile Apache 2.2.4 like this
#./configure –enable-dav –enable-so –enable-maintainer-mode
#make
#make install
compile Subversion 1.4.3 like this
#./configure –with-apxs=/usr/local/apache2/bin/apxs
# rm /usr/local/lib/libsvn*
# make clean && make && make install
Eventually, I got
mod_dav_svn.so and mod_authz_svn.so
I copied them to /opt/lampp/modules
In /opt/lampp/etc/httpd.conf added two lines like this
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
restart lampp, DONE !
Updated on March 28, 2007
Thanks Runge, here are the two files
mod_dav_svn.so
mod_authz.svn.so
setup Subversion server on CentOS/Apache friends
March 23, 2007 on 4:28 pm | In SVN, Linux Admin | 4 CommentsI have no choice, the company I am working with is currently using CentOS4.4/Apache friends 1.6. But they need SVN.
The little trick is, the apache friends 1.6 could not be compiled with mod_dav_svn.so so that I could not pass the ./configure with –with-apxs=/opt/lampp/bin/apxs.
Finally, I gave up, compiled Subversion 1.4.3 without apxs. Everything worked fine but the HTTP method.
Then I looked into Apache friends 1.6, I found it comes with Apache 2.2.4.
So I used another machine to compile Apache 2.2.4 like this
#./configure –enable-dav –enable-so –enable-maintainer-mode
#make
#make install
compile Subversion 1.4.3 like this
#./configure –with-apxs=/usr/local/apache2/bin/apxs
# rm /usr/local/lib/libsvn*
# make clean && make && make install
Eventually, I got
mod_dav_svn.so and mod_authz_svn.so
I copied them to /opt/lampp/modules
In /opt/lampp/etc/httpd.conf added two lines like this
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
restart lampp, DONE !
Updated on March 28, 2007
Thanks Runge, here are the two files
mod_dav_svn.so
mod_authz.svn.so
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^