Cài trên Ubuntu 22.04
https://www.openproject.org/docs/installation-and-operations/installation/packaged/
Ubuntu 22.04
Update the apt
package index and install packages to allow apt
to use a repository over HTTPS:
Import the PGP key used to sign our packages:
Add the OpenProject package source:
Download the OpenProject package:
Cài xong qua tiếp bước Configure:
To start the configuration wizard, please run the following command with sudo
, or as root:
Cách force sync LDAP group (chỉ với phiên bản enterprise)
sudo openproject run bundle exec rake ldap_groups:synchronize
- Load SSL:
Chuẩn bị file .crt và .key
Copy 2 file vào thư mục tạm của user:
sudo cp /home/systemadmin/server.key /etc/ssl/private/
sudo cp /home/systemadmin/server.crt /etc/ssl/certs/
Set quyền:
Private key (chỉ root đọc được):
sudo chmod 600 /etc/ssl/private/server.key
sudo chown root:ssl-cert /etc/ssl/private/server.key
Certificate (mọi user đều có thể đọc):
sudo chmod 644 /etc/ssl/certs/server.crt
sudo chown root:root /etc/ssl/certs/server.crt
Load license: set quyền full RW (777) cho thư mục models:
sudo -R 777 /opt/openproject/app/models
Comments
Post a Comment