Now that we have installed the pgdg central PostgreSQL repo, we should have postgresql rpms show up in yum package manager search. Now that wget utility is installed, download the rpm from PostgreSQL rpm repository If It fails and complains that you dont have wget utility installed on your machine, Install wget utility by running command yum install wget Login into your CentOS Server by SSH and run the following command to download it into your CentOS 6 Server.
Now that we have identified which version we want to download, right click on that hyperlink and click 'copy link address'.
Right now I am picking PostgreSQL 9.2 for CentOS as this is the latest version at this time. Identify which version of rpm you want to download for installing PostgreSQL database server.
Pgdg is the repo that postgresql can be downloaded and installed from. As a good measure install all updates to this CentOS 6 server.