How to install Redmine on Ubuntu Step by Step

redmine_logo_v1Redmine is a free and open source, web-based project management and bug-tracking tool. It includes a calendar and Gantt charts to aid visual representation of projects and their deadlines. It handles multiple projects. Redmine provides integrated project management features, issue tracking, and support for various version control systems.
The design of Redmine is significantly influenced by Trac, a software package with some similar features.
Redmine is written using the Ruby on Rails framework. It is cross-platform and cross-database. It is part of the Bitnami app library that provides an installer and virtual machine for ease of deployment.

Prerequisites: Apache, mod-passenger, and MySQL

Now we will install apache on the box

It will ask some question while install MySQL server details as below:

Installing and configuring the Ubuntu Redmine package

You want to allow dbconfig-common to configure the database when prompted so select Yes from the prompt in the panel below.

Tell the redmine installer we are using mysql for this installation by highlighting “mysql” from the list of database choices:

Then you want to provide the “root” password for the database, so that the installer can create the redmine database. This is the password set when you installed mysql.

Now you are asked to provide a password that will be used to protect the redmine database. Redmine itself will use this when it wants to access mysql.

Now confirm the redmine password.

Configuring Apache

You need to modify two files for apache. The first is /etc/apache2/mods-available/passenger.conf which needs the text PassengerDefaultUser www-data added as seen here:

And modify /etc/apache2/sites-available/default to insert the following with the other <Directory> sections so that apache knows to follow the symlink into Rails:

Now restart apache:

You should now be able to access redmine

The default username and password is – admin/ admin. Please change the password after sigin to the application.

The following two tabs change content below.

Tapas Mishra

Sr. Engineer (DevOps)
Loves to work on Opensource products. Having experience on Linux environment. Knowledge on Public cloud services like AWS, Rackspace, DigitalOcean, Linode. Please don't hesitate to give a comment on the posts. Your comments are my strength.

Leave a Reply