Postgresql

OpengreSQL is a database package based on PostgreSQL, and this manual will guide you through the basic environment setup for installing OpengreSQL and the PostgreSQL installation process.


Installation

1. Setting OPENSQL_INSTALL_HOME directory

Once you unzip the OpenSQL binaries, you will find the scripts for installing OpenSQL inside the scripts directory, such as setenv.sh , install_rpm.sh .

. ./setenv.sh `pwd`
OPENSQL_INSTALL_HOME is set to: /home/opensql3.0-rockylinux9.4-pg16.8

2. Installing Postgresql

sudo -E ./install_rpm.sh postgresql

3. Verifying Postgresql Installation

Once installed, you can check the the installation path and the version of postgresql with the command below.

pg_config intalled with a binary from Postgresql is located in the path of /usr/pgsql-{postgresql_Major_version}/bin .

Last updated