Prerequisites
Before you begin the installation process:
Set up the EDB repository.
Setting up the repository is a one-time task. If you already set up your repository, you don't need to perform this step.
To determine if your repository exists, enter:
dnf repolist | grep enterprisedbIf no output is generated, the repository is installed.
To set up the EDB repository:
Go to EDB repositories.
Select the button that provides access to the EDB repository.
Select the platform and software that you want to download.
Follow the instructions for setting up the EDB repository.
Install the EPEL repository:
sudo dnf -y install epel-release
Enable additional repositories to resolve dependencies:
sudo dnf config-manager --set-enabled crb
Install the package
sudo dnf -y install edb-postgresextended18-server edb-postgresextended18-contrib
Initial configuration
Getting started with your cluster involves logging in, ensuring the installation and initial configuration was successful, connecting to your cluster, and creating the user password.
First, you need to initialize and start the database cluster. The edb-pge-18-setup script creates a cluster.
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/edb/pge18/bin/edb-pge-18-setup initdb sudo systemctl start edb-pge-18
To work in your cluster, log in as the postgres user. Connect to the database server using the psql command-line client. Alternatively, you can use a client of your choice with the appropriate connection string.