Book Image

PostgreSQL Replication, Second Edition

Book Image

PostgreSQL Replication, Second Edition

Overview of this book

Table of Contents (22 chapters)
PostgreSQL Replication Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing BDR


Installing BDR is easy. The software is available as a source package, and it can be deployed directly as a binary package. Of course, it is also possible to install the code from source. However, it is likely that this procedure might change, as more and more changes are moved into the core of PostgreSQL. Therefore, I have decided to skip the source installation.

Installing binary packages

In previous chapters, you learned how to install BDR on Linux using precompiled binary packages of the software. The Linux distribution chosen to show how the installation works is CentOS 7 (to find information about other packages, check out http://bdr-project.org/docs/stable/installation.html).

The installation process itself is easy. First, repo can be installed:

yum install http://packages.2ndquadrant.com/postgresql-bdr94-2ndquadrant/yum-repo-rpms/postgresql-bdr94-2ndquadrant-redhat-1.0-2.noarch.rpm

In the next step, BDR can be deployed:

yum install postgresql-bdr94-bdr

Once BDR has been...