Published October 17, 2017 by

Install and Configure Redmine in Ubuntu

Redmine is a project management tool that allows users to manage projects flexibly while offering robust tracking tools and an extensive library of plug-ins. This free and open source solution offers an alternative to paid project management tools and includes support for wikis, forums, calendars, and data visualization tools.

This guide will show you how to install and set up Redmine on Ubuntu.

Step 1 : Install Apache and Mysql

# apt-get install apache2 libapache2-mod-passenger mysql-server mysql-client

It will ask for "root" user password, so set password and click <ok>, you can use the Tab button for change elements.

Confirm Password.

Step 2: Install Redmine

# apt-get install redmine redmine-mysql

Click <Yes> and press Enter

Choose mysql and press <ok>

Provide mysql password which you set earlier.

Confirm Password.

Step 3

# gem update

# gem install bundler

Step 4

# vim /etc/apache2/mods-available/passenger.conf

Add below line in <IfModule> tag according below image:

PassengerDefaultUser www-data

Step 5

# ln -s /usr/share/redmine/public /var/www/html/redmine

Step 6

# vim /etc/apache2/sites-available/000-default.conf

Add below line in <VirtualHost *:80>tag according below Image:

<Directory /var/www/html/redmine>
 RailsBaseURI /redmine
 PassengerResolveSymlinksInDocumentRoot on

Step 7

# service apache2 restart

Step 8

# touch /usr/share/redmine/Gemfile.lock

# chown www-data:www-data /usr/share/redmine/Gemfile.lock

# chown -R www-data:www-data /etc/redmine/default/

# chmod -R a+w,a+r /etc/redmine/default/

Step 9

Now Redmine is installed, Go to browser and hit url http://localhost/redmine OR http://ip_address/redmine

For login press sign in button

When it asks for login and password provide default credentials. Your default login is admin and Password is also admin.

Now redmine is ready to use.