Installing Redmine (Project and Bug Tracking) on Ubuntu 10.04
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
- Install MySQL and Apache on Ubuntu 10.04 using
sudo apt-get install mysql-server apache2
- 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.
- Once this is complete; redmine will be installed in /usr/share/redmine. You need to do some configuration changes to get redmine working.
- Create a link as below
sudo ln -s /usr/share/redmine/public/ /var/www/redmine/
- Add following line in /etc/apache2/mods-available/passenger.conf
PassengerDefaultUser www-data
- 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 ![]()
Related posts:

October 14th, 2010 at 7:31 am
Simple instructions that worked. Thank you very much for this!
October 18th, 2010 at 8:01 am
[...] Installing Redmine (Project and Bug Tracking) on Ubuntu 10.04 [...]
December 2nd, 2010 at 6:29 am
Thanks for this; simple and effective.
January 10th, 2011 at 9:13 am
[...] 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 [...]
May 11th, 2011 at 7:54 am
nice comments!
July 5th, 2011 at 3:20 pm
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?
July 12th, 2011 at 11:13 am
Very useful article