Tutorial

How to Install OpenProject on Debian 12

1 install deps

OpenProject is a project management software written in Ruby on Rails and AnguilarJS. It’s mainly a fork of ChiliProject, which was a fork of Redmine. It can be used to manage projects across teams and departments. Also provides a wide range of features such as agile and scrum, bug tracking, Wikis, forums, task management, team collaboration, project roadmap, and release management.

This tutorial will walk you through the OpenProject project management software installation on the Debian 12 server. You’ll set up OpenProject with PostgreSQL as the database backend, and Apache as a reverse proxy.

Prerequisites

Before you begin, make sure you have the following requirements:

  • A Debian 12 server with at least 4GB of memory
  • A non-root user with sudo privileges
  • A domain name pointed to your server IP address

Let’s get started.

Installing OpenProject

OpenProject is free and open-source project management software for both classical and agile types. It helps you to keep track of your project life cycle. It supports more than 30 languages and comes with two versions, free and paid subscription.

OpenProject can be installed in multiple ways, via package managers or in the container environment such as Kubernetes. For most Linux distributions such as Ubuntu, Debian, or CentOS, OpenProject provides a binary package that you can install easily via the package manager.

First, install basic dependencies to your Debian system using the following command. Type y to confirm the installation.

sudo apt install apt-transport-https ca-certificates wget gpg
image 69

Now add the GPG key for the OpenProject repository by running the command below.

wget -qO- https://dl.packager.io/srv/opf/openproject/key | gpg --dearmor > /etc/apt/trusted.gpg.d/packager-io.gpg

Then add the OpenProject repository for the Debian 12 version with the following command.Ezoic

wget -O /etc/apt/sources.list.d/openproject.list \
https://dl.packager.io/srv/opf/openproject/stable/13/installer/debian/12.repo
image 70

After adding the GPG key and repository, run the command below to update your Debian package list. You will see the OpenProject repository is added.

sudo apt update
image 71

Now you can install the OpenProject package to your Debian system with the apt command below. Input Y to proceed with the installation.

sudo apt install openproject
image 72
Ezoic

Once the installation is complete, you will see the following instructions.

image 73

Configuring OpenProject

Now that you have installed OpenProject, you can start configuring it via the command line. The command line openproject is created by default on your system which allows you to configure OpenProject from your terminal shell.

The openproject command allows you to set up OpenProject in an interactive way, you can set up PostgreSQL, Apache web server, Memcached, and also set up Git/SVN integration.

To configure OpenProject, execute the openproject command below. This will set up OpenProject interactively from your shell.

sudo openproject configure

Select the OpenProject version as default. The default version is for general project management, while the bim version is used for specific industry sections such as the construction industry.

image 74

Select Install the new PostgreSQL as the database for your OpenProject installation.

image 75

Select Install Apache web server when asked. You’ll be using Apache as a reverse proxy for OpenProject.

image 76

Now input the domain name of your OpenProject installation.

image 77

Leave blank for path installation. You’ll install OpenProject in your root domain/sub-domain.

image 78

For SSL configuration, select Yes or No. You need to provide details of your SSL certificates.

image 79

Skip the subversion repository integration.

image 80

You can also install Git integration to your OpenProject installation.

image 81

Enter the path directory for the Git repository. By default, it will use the/var/db/subversion/git directory.

image 82

Leave the git CGI backend pat as default.

image 83

Select Install memcached server to continue.

image 84

Now enter your admin email address for OpenProject installation.

image 85

Then, select the default language to English.

image 86

After the process is finished, you will see the following:

image 87

With the command below, you can now check services for PostgreSQL, Apache, and Memcached servers. Make sure all those three services are running.

sudo systemctl status postgresql apache2 memcached
image 88

Lastly, check OpenProject services with the following command. Ensure all of those services are running.

sudo systemctl status openproject openproject-web openproject-worker
image 89

Accessing OpenProject

Launch your web browser and visit http://project.hwdomain.io/login. You will be displayed on the login page for OpenProject. Input the default user **admin** and password **admin**, then click Sign In.

image 90

Now, change the default admin password to a new strong password and click Save to confirm.

image 91

Once the process is complete, you will see the OpenProject dashboard like the following:

image 92

You can see classic and agile project management via Scrum from the available demo project.

Đăng ký liền tay Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !

Add Comment

Click here to post a comment

Đăng ký liền tay
Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !