Installing Redmine & Subversion on CentOS 5.5

In this CentOS 5.5 tutorial we will be installing Redmine and Subversion with LDAP authentication on a CentOS 5.5 i386 server. The assumption is that you have a basic to medium understanding of Apache and MySQL but if you follow this tutorial you should be able to complete the task successfully. A bit on the software that we’ll be using:

Redmine is a flexible project management web application. Written using Ruby on Rails framework, it is cross-platform and cross-database. An online demo can be found here:

Subversion is a free/open-source version control system. That is, Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your data, or examine the history of how your data changed.

Preliminary Note:
I am using a CentOS 5.5 i386 base installation in this tutorial.

* (IP CentOS 5.5 i386 base installation
* (IP CentOS 5.5 i386 base installation
* (IP CentOS 5.5 i386 base installation

Lets begin by installing the framework required by the Redmine, Subversion and LDAP platform.

Next a couple of Ruby Gems

Now lets add the software to startup and start MySQL and Apache.

Configure Thin

(application-name) = redmine
(rails-app-root-path) = /opt/redmine
(number-of-threads) = 3
(environment) = production

Download, install and configure the Redmine framework.

Configure Apache and add a Redmine config file

NameVirtualHost *:80

Setup Redmine to email

Start thin and Redmine

Create a Subversion repository and start the SVN deamon

Add a Subversion Apache configuration file

Restart Apache for changes to take effect

Browse to newly setup Redmine and Subversion setup