Installing PostgreSQL Server

Install the PostgreSQL packages on the PostgreSQL server.

Install the PostgreSQL packages as follows:

RHEL:

sudo yum install postgresql-server
Ubuntu:
sudo apt-get install postgresql