Skip to main content
Version: Next

Database

note

If you already have a database configured to our requirements, you can skip this section and go straight to installing ASI.

If you are using a standalone database host or running a single node ASI, please run the following steps:

1. Install the PostgreSQL repo:

dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm

2. Install the PostgreSQL packages:

dnf -qy module disable postgresql && dnf install -y postgresql15-server postgresql15-libs postgresql15 postgresql15-contrib repmgr_15

3. Enable the PostgreSQL services:

 systemctl enable postgresql-15 && systemctl enable repmgr-15

4. Install the semver plugin for PostgreSQL

note

The links below are for PostgreSQL 15, if you're running another version please check here

yum install -y https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-8.9-x86_64/semver_15-0.32.1-1PGDG.rhel8.x86_64.rpm