install-open-project-on-debain11

2024-11-18 linux

環境

  • OS: Debain 11
  • RAM: 4G
  • CPU: 4 Core

新增資料庫

su postgres -c psql
CREATE DATABASE openprojectdb;
CREATE USER openprojectap WITH PASSWORD 'Pass@wd';
GRANT ALL ON DATABASE openprojectdb to openprojectap;
ALTER USER openprojectap WITH PASSWORD 'paddww';

安裝指令

apt install -y apt-transport-https ca-certificates wget gpg
wget -qO- https://dl.packager.io/srv/opf/openproject/key | gpg --dearmor > /etc/apt/trusted.gpg.d/packager-io.gpg
wget -O /etc/apt/sources.list.d/openproject.list https://dl.packager.io/srv/opf/openproject/stable/15/installer/debian/11.repo
apt update
apt install openproject
sudo openproject configure

–base-url https://10.1.4.43/openproject