Setting up the Postgres-XC cluster
In this recipe, we are going to set up a Postgres-XC cluster.
Here, we need to install and set up Postgres-XC. These steps are carried out on a CentOS Version 6 Linux machine.
Perform the following set of steps:
- First, go to http://sourceforge.net/projects/postgres-xc/ in order to download the Postgres-XC software.
- In this step, extract from the tarball file and go to the newly created directory:
tar -zxvf pgxc-v1.0.4.tar.gz
- Before you build and compile the software, the next step will be to install the following prerequisite packages:
yum -y install readline*
yum -y install bison*
yum -y install flex*
- Now, we are going to build and compile the software. We will also define a location ...