Installing Redmine (Project and Bug Tracking) on Ubuntu 10.04

written by

Every software development organisation needs bug tracking software to track the problems in the software they are creating and so does Target Integration. We were relying on Bugzilla so far but the complex architecture and user interface kept a lot of non technical users away and the absence of creating trouble tickets from emails was one of the feature which was missing as well. So we decided on using Redmine for the Project Management and Bug tracking. Here are the steps used to install Redmine Version 0.9 on Ubuntu 10.04

  1. Install MySQL and Apache on Ubuntu 10.04 using
    sudo apt-get install mysql-server apache2
  2. Install Redmine for MySQL using the following command
    sudo apt-get install redmine redmine-mysql

    this will install all the dependencies required for Redmine. If you would like to use Redmine on a different database than MySQL you may replace redmine-mysql to redmine-pgsql or redmine-sqllite. Just make sure you install the database in first step. Also, during the installation it will ask you questions like MySQL root password and Redmine database password.

  3. Once this is complete; redmine will be installed in /usr/share/redmine. You need to do some configuration changes to get redmine working.
  4. Create a link as below
    sudo ln -s /usr/share/redmine/public/ /var/www/redmine/
  5. Add following line in /etc/apache2/mods-available/passenger.conf 
    PassengerDefaultUser www-data
  6. Add following lines in /etc/apache2/sites-available/default just above the </VirtualHost>
    RailsEnv production
     
     
    RailsBaseURI /redmine
    <Directory /opt/redmine/public/>
      Options FollowSymLinks
      AllowOverride None
      Order deny,allow
      Allow from all
    </Directory>

And that's it. Now you can access Redmine by going to http://YourServerIPAddress/redmine/ and logging in using default admin username and password of admin/admin. 

Happy {De}-Bugging :)

Short URL: http://bit.ly/ecpANU
Quick Response (QR) Code:

Related posts:

  1. Reset a Forgotten osCommerce Admin Password
  2. Installing Alternative PHP Cache (APC) on Ubuntu 8.04 PHP5 Apache2
  3. How to install Self Signed SSL Certificate in Apache with OpenSSL
  4. Shoutcast Server on Windows

Tags: ,

Please leave a comment

  1. ScottW Says:

    Simple instructions that worked. Thank you very much for this!

  2. Redmine continue… | KB :-) Says:

    [...] Installing Redmine (Project and Bug Tracking) on Ubuntu 10.04 [...]

  3. Beruh Says:

    Thanks for this; simple and effective.

  4. Upgrade Redmine from 0.9.3 to 1.0.5 | Knowledgement from Target Integration Says:

    [...] may have installed Redmine 0.9.3 with this method to track bugs and manage your projects and we hope that you like it. But now you need [...]

  5. vpills Says:

    nice comments!

  6. Relsi Says:

    Hi!
    I run the steps, but how enter in url http://my-domain.com/redmine-dir just show: The directory “/var/www” does not appear to be a valid Ruby on Rails application root. Anyone ever had this problem?

  7. onkar Says:

    Very useful article

Leave a Comment

CAPTCHA Image
Refresh Image
*