Обсуждение: Installing 9.6.6 to a RHEL 6.7 server with no Internet access

Поиск
Список
Период
Сортировка

Installing 9.6.6 to a RHEL 6.7 server with no Internet access

От
Ron Johnson
Дата:
Hi.

According to https://www.postgresql.org/download/linux/redhat/ I must first install the repository.  However, since that system doesn't have Internet access, I need to manually copy the files from my Windows laptop to the RHEL 6.7 server and then localinstall them.

So, the question: what packages do I need to download from https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6.7-x86_64/ in order to "yum localinstall postgresql96" and "yum localinstall postgresql96-server"?

Thanks

--
Money Angular momentum makes the world go 'round.

Re: Installing 9.6.6 to a RHEL 6.7 server with no Internet access

От
Alvaro Aguayo Garcia-Rada
Дата:
Not sure if this may help you. A few months ago, I made an automated OpenSUSE installer which also had to install
PostgreSQL9.6 server using the RHEL PGDG releases. There's no YUM there, so I did it instead with RPM files directly. 

The RPM files I included on my autoinstall ISO are the following:

postgresql96-9.6.2-2PGDG.rhel7.x86_64.rpm
postgresql96-contrib-9.6.2-2PGDG.rhel7.x86_64.rpm
postgresql96-devel-9.6.2-2PGDG.rhel7.x86_64.rpm
postgresql96-libs-9.6.2-2PGDG.rhel7.x86_64.rpm
postgresql96-server-9.6.2-2PGDG.rhel7.x86_64.rpm

Of course, you may want or need to use more recent versions. Also, you may ommit the contrib & devel packages, as they
maynot always be needed(in my case, they were) 

Regarding dependencies, with a quick look, I can say these will require a few common packages:

- zlib
- pthreads
- readline
- openssl
- libxml2
- libxslt
- libuuid
- krb5
- libldap / openldap

That seems to be all required packages. Hope this helps.

Regards,

Alvaro Aguayo
Operations Manager
Open Comb Systems E.I.R.L.

Office: (+51-1) 3377813 | Mobile: (+51) 995540103 | (+51) 954183248
Web: www.ocs.pe

----- Original Message -----
From: "Ron Johnson" <ron.l.johnson@cox.net>
To: "PostgreSql-general" <pgsql-general@postgresql.org>
Sent: Wednesday, 21 February, 2018 10:49:00
Subject: Installing 9.6.6 to a RHEL 6.7 server with no Internet access

Hi.

According to https://www.postgresql.org/download/linux/redhat/ I must first
install the repository.  However, since that system doesn't have Internet
access, I need to manually copy the files from my Windows laptop to the RHEL
6.7 server and then localinstall them.

So, the question: what packages do I need to download from
https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6.7-x86_64/ in
order to "yum localinstall postgresql96" and "yum localinstall
postgresql96-server"?

Thanks

--
Money Angular momentum makes the world go 'round.


Re: Installing 9.6.6 to a RHEL 6.7 server with no Internet access

От
Ron Johnson
Дата:
It does.  Thank you.

On 02/21/2018 10:03 AM, Alvaro Aguayo Garcia-Rada wrote:
Not sure if this may help you. A few months ago, I made an automated OpenSUSE installer which also had to install PostgreSQL 9.6 server using the RHEL PGDG releases. There's no YUM there, so I did it instead with RPM files directly.

The RPM files I included on my autoinstall ISO are the following:

postgresql96-9.6.2-2PGDG.rhel7.x86_64.rpm
postgresql96-contrib-9.6.2-2PGDG.rhel7.x86_64.rpm
postgresql96-devel-9.6.2-2PGDG.rhel7.x86_64.rpm
postgresql96-libs-9.6.2-2PGDG.rhel7.x86_64.rpm
postgresql96-server-9.6.2-2PGDG.rhel7.x86_64.rpm

Of course, you may want or need to use more recent versions. Also, you may ommit the contrib & devel packages, as they may not always be needed(in my case, they were)

Regarding dependencies, with a quick look, I can say these will require a few common packages:

- zlib
- pthreads
- readline
- openssl
- libxml2
- libxslt
- libuuid
- krb5
- libldap / openldap

That seems to be all required packages. Hope this helps.

Regards,

Alvaro Aguayo
Operations Manager
Open Comb Systems E.I.R.L.

Office: (+51-1) 3377813 | Mobile: (+51) 995540103 | (+51) 954183248
Web: www.ocs.pe

----- Original Message -----
From: "Ron Johnson" <ron.l.johnson@cox.net>
To: "PostgreSql-general" <pgsql-general@postgresql.org>
Sent: Wednesday, 21 February, 2018 10:49:00
Subject: Installing 9.6.6 to a RHEL 6.7 server with no Internet access

Hi.

According to https://www.postgresql.org/download/linux/redhat/ I must first 
install the repository.  However, since that system doesn't have Internet 
access, I need to manually copy the files from my Windows laptop to the RHEL 
6.7 server and then localinstall them.

So, the question: what packages do I need to download from 
https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6.7-x86_64/ in 
order to "yum localinstall postgresql96" and "yum localinstall 
postgresql96-server"?

Thanks



--
Money Angular momentum makes the world go 'round.