hapostgres / pg_auto_failover

Postgres extension and service for automated failover and high-availability
Other
1.07k stars 112 forks source link

How to install v2.0 with CentOS7 using yum? #998

Closed z3473 closed 9 months ago

xinferum commented 1 year ago

Hello.

You can add vanilla official PostgreSQL repo to your system from this page https://www.postgresql.org/download/linux/redhat/ :

# Install the repository RPM:
sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

And install pg_auto_failover using yum for your major PostgreSQL version:

# Example for PostgreSQL 15
sudo yum install -y pg_auto_failover-15