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 walbouncer


The walbouncer tool can be downloaded freely from the Cybertec website (http://www.cybertec.at/postgresql_produkte/walbouncer/) and installed using the following steps:

  1. For the purpose of this book, the following file has been used:

    wget http://cybertec.at/download/walbouncer-0.9.0.tar.bz2
  2. The first thing to do is to extract the tarball, as follows:

    tar xvfj walbouncer-0.9.0.tar.bz2
  3. Once the package has been extracted you can enter the directory. Before calling make, it is important to check for missing libraries. Make sure that support for YAML is around. On my CentOS test system, the following command does the job:

    [root@localhost ~]# yum install libyaml-devel
  4. The library will be installed by these lines:

    ---> Package libyaml-devel.x86_64 0:0.1.4-11.el7_0 will be installed
    --> Processing Dependency: libyaml = 0.1.4-11.el7_0 for package: libyaml-devel-0.1.4-11.el7_0.x86_64
  5. In the next step, just call make. The code compiles cleanly. Finally, only make install is left...