List all the packages
#yum list | grep “postgres*”

#yum install -y “postgres*”

To initialize the postgresql

#service postgresql initdb

To start the postgresql service

#service postgresql start

Editing config files and creating new databases using pgadmin3 gui

#yum install -y pgadmin3

pgadmin gets install in /usr/bin/pgadmin3
To run pgadmin3

#pgadmin3

Add server, choose any name, host = localhost, user= postgres, password = ” For others choose [...]