Installing PostgreSQL Offline
If your server does not have internet access then you can install PostgreSQL offline. Skip this section if you have already completed the installation of PostgreSQL from the previous section.
- For Red Hat Enterprise Linux 6:
Go to https://yum.postgresql.org/9.5/redhat/rhel-6-x86_64/ and download the latest versions of the following packages:
- postgresql95-libs
- postgresql95
- postgresql95-server
rpm –ivh postgresql95-libs-9.5.16-1PGDG.rhel6.x86_64.rpm postgresql95-9.5.16-1PGDG.rhel6.x86_64.rpm postgresql95-server-9.5.16-1PGDG.rhel6.x86_64.rpm
- For Red Hat Enterprise Linux 7:
Go to https://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/ and download the latest version of the following packages:
- postgresql95-libs
- postgresql95
- postgresql95-server
rpm –ivh postgresql95-libs-9.5.16-1PGDG.rhel7.x86_64.rpm postgresql95-9.5.16-1PGDG.rhel7.x86_64.rpm postgresql95-server-9.5.16-1PGDG.rhel7.x86_64.rpm