Source: https://oneit.com.vn/2021/12/08/huong-dan-ket-noi-pgadmin-vao-postgresql/ Đầu tiên cần xem tình trạng dịch vụ của Postgresql. service postgresql status Access vào file thư mục config của Postgresql cd /etc/postgresql/12/main/ Tại đây có thể thấy danh sách các file cấu hình cấu thiết gồm: “pg_hba.config” và “postgresql.conf” . Sử dụng vi hoặc nano để xem qua các file cấu hình này. Trước tiên ta access vào file “pg_hba.conf” Trong thông tin file “pg_hba.conf”, đây là thông tin liên quan đến các cấu hình kết nối mặc định của server postgresql. Tại dòng khu vực IPv4 , thêm 1 dòng chứa kết nối của client cần kết nối vào server: Type Database User IP Address Method host all all 192.168.0.30/32 trust Ý nghĩa của việc dòng cấu hình này là: Cho phép duy nhất IP 192.168.0.30 truy cập vào tất cả DB của server postgresql. Sau khi hoàn tất, tiến hành save lại file cấu hình “pg_hba.conf” và tiếp tục access vào file “postgresql.conf” . Như hình bê...
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 ...