How to Install Redmine on CentOS 8

Install Redmine on CentOS 8

In this article, we will have explained the necessary steps to install and configure Redmine on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Redmine is a popular open source project management web application. It is cross-platform and cross-database and built on top of the Ruby on Rails framework. Redmine includes support for multiple projects, wikis, issue tracking system, forums, calendars, email notifications, and much more.

Install Redmine on CentOS 8

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

Step 2. Install MariaDB.

Run the following command as root or user with sudo privileges to install MariaDB on CentOS 8:

Once the installation is complete, start the MariaDB service and enable it to automatically start on boot using following command:

When the installation is complete, run the following command to secure your installation:

Then, we need to create a database for our Redmine installation:

Step 3. Creating New System User.

Create a new user and group, with home directory /opt/redmine that will run the Redmine instance:

Step 4. Install Passenger, Apache and Ruby.

Install Ruby, Apache and Passenger using following commands:

Start the Apache service and enable it to start on boot:

Then, configuring Apache:

Restart the Apache service by typing:

Step 5. Install Redmine.

First, download the Redmine archive with the following curl command:

Once the download is completed extract the archive:

Configure database settings:

Open the file with your favorite text editor:

Step 6. Install Ruby dependencies.

Now, we switch to the redmine-4.1.0 directory and install the Ruby dependencies:

Next, we run the following command to generate keys and migrate the database:

Step 7. Accessing Redmine.

Finally your can start your browser and access your new Redmine installation at: http://your-domian.com.

The default login credentials for Redmine are:

  • Username: admin
  • Password: admin

Congratulation, you have learned how to install and configure Redmine on CentOS 8. If you have any question, please leave a comment below.