CentOS 4.7 + VPS + Cpanel + Redmine + Subversion + Auto Repo Creation

I have been trying to get all of this working on our web box and this is what I have so far.

1.  Ruby and Ruby-Gems were already installed.

2.  Install Rails, mongrel and mongrel_cluster.

gem install rails -v=2.1.2
gem install mongrel
gem install mongrel_cluster

3.  Install Redmine

4. Set up the MySQL database.

Copy config/database.yml.example to config/database.yml and edit this file in order to configure your database settings for “production” environment.

5. Install the Redmine database.

rake db:migrate RAILS_ENV="production"
rake redmine:load_default_data RAILS_ENV="production"

6. Start the Mongrel Cluster

mongrel_rails cluster::configure -e production -p 3000 -N 2 -c /home/<AccountName>/redmine
mongrel_rails cluster::start –clean

7. Install Apache2 and configure

8. Set up automatic repository creation.

~ by Tide on March 20, 2009.

Leave a Reply

You must be logged in to post a comment.