Title Image
Twitter Logo
http://tiny.cc/cznl3 gotta love Harry. 5 days ago
Follow me on twitter @stewartmatheson

Tutorial: Installing Nginx, Apache and SVN

7th
4 / 2010

In this video I install Nginx Apache and SVN. Download links are here…

http://mirror.lividpenguin.com/pub/apache/httpd/httpd-2.2.15.tar.gz

http://subversion.tigris.org/downloads/subversion-1.6.9.tar.gz

http://nginx.org/download/nginx-0.7.65.tar.gz

Here are the apache configurations I used

<IfModule mpm_prefork_module>
    StartServers          1
    MinSpareServers       1
    MaxSpareServers       1
    MaxClients           10
    MaxRequestsPerChild   0
</IfModule>
 
<Location /repos>
    DAV svn
    SVNPath /usr/local/nginx_svn_test/testrepos
    SVNAutoversioning on
    Options Indexes FollowSymLinks
    Order allow,deny
    Allow from all
</Location>

This is the Nginx proxy pass configuration

location / {
  proxy_pass http://localhost:86;
}

The following is the line that configures the apache compile.

./configure --enable-dav --enable-dav-fs --prefix=/usr/local/nginx_svn_test --disable-alias --disable-userdir --disable-actions --disable-dir --disable-negotiation --disable-cgi --disable-cgid --disable-status      --disable-autoindex --disable-asis --disable-mime --disable-version --disable-setenvif --disable-env --disable-log-config --disable-include --disable-filter --disable-auth-basic --disable-authz-default --disable-authz-user --disable-authz-groupfile --disable-authz-host --disable-authn-default --disable-authn-file

The following is the configure line for the SVN install.

./configure --prefix=/usr/local/nginx_apache_svn_test --with-apxs=/usr/local/nginx_apache_svn_test/bin/apxs