Installing ViewVC (Debian 6)

This follows on from previous tutorial to install SVN in Debian:

Download and install ViewVC

sudo apt-get install viewvc

Edit the SVN configuration file (if you don’t know how to use vim, you can download this file and edit it using a text editor)

sudo vim /etc/apache2/mods-enabled/dav_svn.conf

Add this line to the end of the dav_svn.conf file

ScriptAlias /viewvc /usr/lib/cgi-bin/viewvc.cgi

Now edit the viewvc.conf file

sudo vim /etc/viewvc/viewvc.conf

Look for root_parents and uncomment this (remove # symbol), change the line to:

root_parents = /var/www : svn

Restart apache server

sudo /etc/init.d/apache2 restart

You can now access viewvc at:

Join the conversation

1 Comment

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.