Step 3 - Installing the database and pgd v6.0.1
On each host which you want to use as a PGD data node, you need to install the database and the PGD software.
After you have configured the EDB repository, you can install the database and PGD software using your package manager.
Install the database and PGD software
Set the Postgres version
Set an environment variable to specify the version of Postgres you want to install. This is typically 17
for Postgres 17.
export PG_VERSION=17
Set the package names
Set an environment variable to specify the package names for the database and PGD software. The package names will vary depending on the database you are using and the platform you are on.
EDB Postgres Advanced Server
export EDB_PACKAGES="edb-as$PG_VERSION-server edb-pgd6-expanded-epas$PG_VERSION"
export EDB_PACKAGES="edb-as$PG_VERSION-server edb-pgd6-expanded-epas$PG_VERSION"
Run the installation command
Run the installation command appropriate for your platform.
sudo apt install -y $EDB_PACKAGES
sudo dnf install -y $EDB_PACKAGES
This command will install the specified packages and any dependencies they require. Once the installation is complete, you will have the database and PGD software installed on your system.
Worked example
In this example, we will install EDB Postgres Extended Server 17 with PGD Expanded on a CentOS/RHEL system using the repository configuration we set up in the previous step's worked example.
export PG_VERSION=17 export EDB_PACKAGES="edb-as$PG_VERSION edb-pgd6-expanded-epas$PG_VERSION" sudo dnf install -y $EDB_PACKAGES