Would you like to learn how to do a Redmine installation on Ubuntu Linux? In this tutorial, we are going to show you how to install Redmine on a computer running Ubuntu Linux.

• Ubuntu 18.04
• Ubuntu 19.04
• Redmine 4.0.1-2

Hardware List:

The following section presents the list of equipment used to create this Redmine tutorial.

Every piece of hardware listed above can be found at Amazon website.

Redmine – Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Redmine.

Tutorial Redmine – Installation on Ubuntu Linux

Install Redmine required package list.

Copy to Clipboard

Install the MySQL database service

Copy to Clipboard

Access the MySQL command-line

Copy to Clipboard

Set a Password for the MySQL root user

Copy to Clipboard

In our example, we set the root password kamisama123.

Install the Apache web server and the required modules.

Copy to Clipboard

Install Redmine with MySQL support.

Copy to Clipboard

Answer Yes to create the MySQL settings automatically.

redmine install ubuntu mysql

Enter the MySQL root password.

redmine install ubuntu database

Confirm the MySQL root password.

redmine mysql install

The Redmine installer will use the MySQL root password to create the required database.

Use the following command to verify the Redmine MySQL configuration.

Copy to Clipboard

As an example, here is our debian.cnf file content.

Copy to Clipboard

Update the RubyGems package manager.

Use the RubyGems package manager to install the Bundle package.

Copy to Clipboard

RubyGems is a package manager for the Ruby language

Edit the passenger.conf file.

Copy to Clipboard

Here is the file before our configuration.

Copy to Clipboard

Here is the file after our configuration.

Copy to Clipboard

Link the Redmine web interface to Apache.

Copy to Clipboard

Edit the Apache 000-default.conf file.

Copy to Clipboard

Here is the file before our configuration.

Copy to Clipboard

Here is the file after our configuration.

Copy to Clipboard

Create a Gemfile.lock file and set the correct permission.

Copy to Clipboard

Restart the Apache service.

Copy to Clipboard

Open a browser software, enter the IP address of your Redmine server plus /redmine.

In our example, the following URL was entered in the Browser:

• https://192.168.15.11/redmine

The Redmine web interface should be presented

Redmine web interface

Click on the Sign-in option to access the Redmine login screen.

On the login screen, use the default username and default password.

• Redmine Default Username: admin
• Redmin Default Password: admin

redmine login

Change the default admin password.

Redmine admin password

You will be sent to the Administrator account properties page.

Redmine install ubuntu admin account

Congratulations! You have finished the Redmine installation on Ubuntu Linux.