New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1363 votes ~ 15 comments )

 

Weblog entry #2 for jurrit

Managing Subversion with Submin
Posted by jurrit on Wed 11 Aug 2010 at 09:48
Tags: none.
Submin is a web-based administration tool for subversion (svn), it is a nice alternative for User-friendly SVN and doing it by hand. It's features include user management, repository management and integration with trac. It uses apache2 for access to the repository and management interface. Unfortunately, submin isn't included in the stable Debian packages repository, but the project provides it's own debian repository which eases the installation process.

Requirements
Clean Debian 5.0 Lenny install. Submin uses apache2 and the apache2-svn module for user access.

Installation
We first add the supmerind repository to apt by editing the sources.list:
vi /etc/apt/sources.list
Add the following line:
deb http://debian.supermind.nl/ current main
Before we can use the new repository, we need to add it's key:
wget -q -O - http://supermind.nl/debian.key | apt-key add -
And update the repository:
apt-get update
The next step is to install submin:
apt-get install submin
This will automatically install all the required packages, such as apache2 & subversion:
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-common ca-certificates file
libapache2-mod-python libapache2-svn libapr1 libaprutil1 libdb4.5 libexpat1 
libldap-2.4-2 libmagic1 libmysqlclient15off libneon27-gnutls libpcre3 libpq5 
libserf-0-0 libsqlite3-0 libsvn1 libxml2 mime-support mysql-common openssl 
openssl-blacklist perl perl-modules python python-central python-minimal 
python-subversion python-support python2.5 python2.5-minimal sgml-base 
ssl-cert submin subversion xml-core
After the packages are installed. It is necessary to create the default submin configuration files that will be placed in /etc/submin:
submin-admin create default
Next we need to use the newly create apache config file for submin in the apache2 configuration. You can add the content of /etc/submin/default-apache-cgi.conf into a virtualhost section, but the following will also work:
ln -s /etc/submin/default-apache-cgi.conf /etc/apache2/conf.d/submin.conf
The only thing left, is to edit the default config since we don't use trac:
vi /etc/submin/default.conf
Change this in the trac section:
[trac]
enabled = False
basedir = /tmp
Change this in the www section
[www]
trac_base_url = https://example.com/trac
We finally need to enable the rewrite module and restart apache:
a2enmod rewrite
/etc/init.d/apache2 restart
All done! Get your browser and access the submin page, for example: http://127.0.0.1:8080/submin/ These are the default login credentials:
username: admin
password: admin.

Now start creating those users and svn repositories!

Original article on: http://www.virtualconcepts.nl/2010/07/managing-subversion-with-submin/

 

Comments on this Entry

Posted by Anonymous (80.69.xx.xx) on Wed 18 Aug 2010 at 07:07
thanks for this info. The project sounds very interesting and usefull!
/thorsten

[ Parent | Reply to this comment ]

 

 

Flattr