First lets do an update before we start installing PostgreSQL
$ yum update
You can install PostgreSQL from CentOS Base repo or can do a search for the latest version and install it based on your needs. Method 1 describes manual setup and Method 2 indicates an install from CentOS base repo
(more…)