0% found this document useful (0 votes)
107 views

Install OpenProject on Linux Ubuntu 24.04.01LTS with Docker

This document provides a step-by-step guide for installing Docker and OpenProject on an Ubuntu server, including commands for updating the system, installing necessary packages, and configuring Apache as a reverse proxy. It also includes instructions for securing OpenProject with SSL using Certbot. Default credentials for accessing OpenProject are provided, along with commands to check the status of Docker and Apache services.

Uploaded by

Aissata
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views

Install OpenProject on Linux Ubuntu 24.04.01LTS with Docker

This document provides a step-by-step guide for installing Docker and OpenProject on an Ubuntu server, including commands for updating the system, installing necessary packages, and configuring Apache as a reverse proxy. It also includes instructions for securing OpenProject with SSL using Certbot. Default credentials for accessing OpenProject are provided, along with commands to check the status of Docker and Apache services.

Uploaded by

Aissata
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

sudo apt update && sudo apt upgrade -y

sudo apt-get update

sudo apt-get install ca-certificates curl

sudo install -m 0755 -d /etc/apt/keyrings

sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o


/etc/apt/keyrings/docker.asc

sudo chmod a+r /etc/apt/keyrings/docker.asc

echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc]
https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \

sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin


docker-compose-plugin -y

sudo docker run hello-world

systemctl status docker

docker run -dit -p 8080:80 -e OPENPROJECT_SECRET_KEY_BASE=secret -e


OPENPROJECT_HOST__NAME=127.0.0.1:8080 -e OPENPROJECT_HTTPS=false
openproject/community:13

docker images

docker ps

apt install apache2 -y

a2enmod proxy_http headers rewrite

nano /etc/apache2/sites-available/openproject.conf

<VirtualHost *:80>
ServerName your_domain or IP here;

RewriteEngine on
RewriteRule "^$" "/" [R,L]

ProxyRequests off

<Location "/">
ProxyPreserveHost On
ProxyPass http://127.0.0.1:8080/
ProxyPassReverse http://127.0.0.1:8080/
</Location>

</VirtualHost>
a2ensite openproject.conf

systemctl reload apache2

systemctl status apache2

apt install net-tools -y

ifconfig

Access the server http://ip:8080/

Default credentials are:

Username - admin
Password - admin

Secure OpenProject with SSL

apt install python3-certbot-apache -y

certbot --apache -d your_verified_doamin

You might also like