Skip to main content

CÀI ĐẶT OPEN PROJECT

 


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:

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates wget

Import the PGP key used to sign our packages:

sudo wget -O /etc/apt/trusted.gpg.d/openproject.asc https://dl.packager.io/srv/opf/openproject/key

Add the OpenProject package source:

sudo wget -O /etc/apt/sources.list.d/openproject.list \
  https://dl.packager.io/srv/opf/openproject/stable/16/installer/ubuntu/22.04.repo

Download the OpenProject package:

sudo apt-get update
sudo apt-get install openproject

Cài xong qua tiếp bước Configure:

To start the configuration wizard, please run the following command with sudo, or as root:

sudo openproject reconfigure #interactive - manual choices are stored in /etc/openproject/installer.dat
sudo openproject configure #non-interactive - using values stored in /etc/openproject/installer.dat


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

Popular posts from this blog

[RAID] SWITCH FROM AHCI TO RAID WITH INTEL C600 CONTROLLER

I personally have used other ways to do this. Manipulating some registry settings in combination with a safe boot before booting normally does the trick as well. This works with both SATA SSD and M.2 NVMe drives and it enables relatively fast switching between back and forth between AHCI and RAID. I have described this method below.  I have also tried the same process used to switch from RAD to AHCI and that works as well. Switch to safe boot Reboot into BIOS Change from AHCI to RAID in the BIOS Boot into safe mode Turn off safe mode and reboot normally again Nothing else and that also did the trick, just like with moving from RAID to AHCI.  So the link above and my step by step below is here for completeness. You have options in case one of them doesn’t work! Step by step AHCI to RAID registry method This procedure I describe below works on Windows 10 1803/1809 and has been tested on Dell Latitude E6220 an XPS 13 9360. Editing the registry is...

CÀI ĐẶT NGINX PROXY MANAGER TRÊN UBUNTU 22

  CÀI ĐẶT NGINX PROXY MANAGER TRÊN UBUNTU 22 Link: https://azdigi.com/blog/en/linux-server-en/web-server/how-to-install-nginx-proxy-manager-with-docker-compose-on-ubuntu-22-04/ First, you need to create a directory containing the project and create a  docker-compose.yml  file for Nginx Proxy Manager with the following commands in turn:     AZDIGI Tutorial mkdir /home/nginxproxymanager cd /home/nginxproxymanager nano docker-compose.yml Enter the content below and save it. version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped ports: - '80:80' - '81:81' - '443:443' environment: DB_MYSQL_HOST: "db" DB_MYSQL_PORT: 3306 DB_MYSQL_USER: "npm" DB_MYSQL_PASSWORD: "npm" DB_MYSQL_NAME: "npm" volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypt db: image: 'jc21/mariadb-aria:latest...

LỖI KHÔNG TẠO PIN CODE ĐỂ DÙNG HELLO LOGIN

Lỗi  0x801C044D khi khởi tạo PIN code  Nguyên nhân:  Authorization token does not contain device ID Tham khảo:  https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-errors-during-pin-creation Cách xử lý:  Unjoin the device from Azure AD and rejoin. Làm như sau: Vào Settings > Accounts > Access work or school Disconnect tất cả các tài khoản link với Azure (Cloud) Reboot lại máy