Installing PostgreSQL Server

Install the PostgreSQL packages on the PostgreSQL server.

Install the PostgreSQL packages as follows:

RHEL
sudo yum install postgresql-server
SLES
sudo zypper addrepo -t YUM http://packages.2ndquadrant.com/postgresql-z-suse/zypper/sles-11sp3-s390x pg
sudo zypper refresh
sudo zypper in postgresql postgresql-server postgresql-contrib
Ubuntu
sudo apt-get install postgresql