Installing Slony Replication on a CentOS/Rocky Linux/AlmaLinux Host v2.2.10
Before creating the repository configuration file, you must have credentials that allow access to the EnterpriseDB repository. If you need credentials, visit the EDB website.
Follow the steps given below to install Slony Replication:
To create the repository configuration file, assume superuser privileges and invoke one of the following platform-specific commands:
On CentOS 7:
On Rocky Linux 8 or AlmaLinux 8:
Replace the
USERNAME:PASSWORD
variable in the following command with the username and password of a registered EnterpriseDB user:Before installing Slony, execute the following command to install the Extra Packages for Enterprise Linux (EPEL) release package:
On CentOS 7:
On Rocky Linux 8 or AlmaLinux 8:
For Rocky Linux 8 or AlmaLinux 8, enable the PowerTools repository to satisfy package dependencies:
For Rocky Linux 8 or AlmaLinux 8, disable the built-in PostgreSQL module:
Use the following platform-specific command to install Slony:
On CentOS 7:
Where <xx> is the Slony version you want to install.
On Rocky Linux 8 or AlmaLinux 8:
Where <xx> is the Slony version you want to install.
To install Slony 2.2.10 on Rocky Linux 8 or AlmaLinux 8 for EDB Postgres Advanced Server version 13, the command is:
Installing Slony on an RHEL Host
Before installing the repository configuration file, you must have credentials that allow access to the EnterpriseDB repository. For information about requesting credentials, visit the EDB website.
Follow the steps given below to install Slony Replication:
To create the repository configuration file, assume superuser privileges and invoke one of the following platform-specific commands:
On RHEL 7:
On RHEL 8:
Replace the
USERNAME:PASSWORD
variable in the following command with the username and password of a registered EnterpriseDB user:Before installing Slony, execute the following command to install the Extra Packages for Enterprise Linux (EPEL) release package:
On RHEL 7:
On RHEL 8:
Enable the repository:
On RHEL 7, enable the
optional, extras
, andHA
repositories to satisfy package dependencies:On RHEL 8, enable the
codeready-builder-for-rhel-8-*-rpms
repository to satisfy package dependencies:For RHEL 8, disable the built-in PostgreSQL module:
Use the following platform-specific command to install Slony:
On RHEL 7:
Where <xx> is the Slony version you want to install.
On RHEL 8:
Where <xx> is the Slony version you want to install.
To install Slony 2.2.10 on RHEL 8 for EDB Postgres Advanced Server version 13, use the following command:
The following table lists the path to the service, installation, and configuration file.
Platform | Service File Path | Installation File Path | Configuration File Path |
---|---|---|---|
RHEL/CentOS 7 and RHEL/Rocky Linux/AlmaLinux 8 | /usr/lib/systemd/system/edb-slony-replication-<xx>.service | /usr/edb/as<xx> | The configuration file slony-replication.ini is located in /etc/edb/slony-replication<xx> |
In the above table, <xx> represents the EDB Postgres Advanced Server version.
Installing Slony on an RHEL/CentOS 7 PPCLE Host
Before installing the repository configuration file, you must have credentials that allow access to the EnterpriseDB repository. For information about requesting credentials, visit the EDB website.
Perform the following steps to install Slony on an RHEL/CentOS 7 PPC64LE Host:
Install Advance Toolchain:
To create the repository configuration file, assume superuser privileges and invoke the following command:
Replace the
USERNAME:PASSWORD
variable in the following command with the username and password of a registered EnterpriseDB user:Before installing Slony, execute the following command to install the Extra Packages for Enterprise Linux (EPEL) release package:
On RHEL 7, enable the
optional, extras
, andHA
repositories to satisfy additional package dependencies:Invoke the following command to install Slony:
Where <xx> is the Slony version you want to install.