Installing Slony Replication on a Debian or Ubuntu Host v2.2.10
You must install EDB Postgres Advanced Server before installing Slony Replication. For details about installing and configuring EDB Postgres Advanced Server, see the EDB Postgres Advanced Server Installation Guide available at the EDB website. To install Slony Replication on a Debian or Ubuntu host, you must have credentials to access the EnterpriseDB repository. If you need EnterpriseDB credentials, visit the EDB website.
The following steps will walk you through using the EnterpriseDB repository to install a DEB package. When using the commands, replace the username
and password
with the credentials provided by EnterpriseDB.
Assume superuser privileges:
Configure the EnterpriseDB repository:
On Debian 9, Ubuntu 18 and Ubuntu 20:
On Debian 10:
a. Set up the EnterpriseDB repository:
b. Substitute your EnterpriseDB credentials for the
username
andpassword
placeholders in the following command:Add support to your system for secure APT repositories:
Add the EDB signing key:
Update the repository metadata:
Install the Debian package:
where <xx> is the EDB Postgres Advanced Server version.
For example, to install Slony Replication for EDB Postgres Advanced Server version 13, execute the following command:
The following table lists the path of the service, installation, and configuration path.
Service File Path | Installation File Path | Configuration File Path |
---|---|---|
/lib/systemd/system/edb-as<xx>-slony-replication.service | /usr/lib/edb-as/<xx> | The configuration file named slony-replication.ini is located in /etc/edb/slony-replication<xx> |
Where <xx> represents the EDB Postgres Advanced Server version.