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 install --no-recommends postgresql96-server
Ubuntu:
sudo apt-get install postgresql