Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jguWH-0000Wy-9T for pgsql-general@arkaria.postgresql.org; Thu, 04 Jun 2020 18:23:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jguWG-0007w0-2R for pgsql-general@arkaria.postgresql.org; Thu, 04 Jun 2020 18:23:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jguWE-0007to-UO for pgsql-general@lists.postgresql.org; Thu, 04 Jun 2020 18:23:11 +0000 Received: from sonic301-32.consmr.mail.ne1.yahoo.com ([66.163.184.201]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jguWB-0002kj-9Y for pgsql-general@lists.postgresql.org; Thu, 04 Jun 2020 18:23:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048; t=1591294986; bh=uWX9xFah3TstUZX2XFex2+YCRqhSIkpTVpQA4V7+ILE=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=ja6OJW6AK3ysDd0cz1h93B4Z+1/jOYXmBIHnRCN3RsEnxOIolv3ICxP6seY4U9ejZ2WrccVp+DVSbvG8OELkxaJYucdLwrJ+teeUoSXGsiTsWg5MREOGYJ6TBnjJM1sc127vEaiTzBI4orLml98mTmhuFRi+ICBEa0oiGVJxQU7FtKH32Bpya4gyQV8QULYlIRhNADTv/XTsnkYZ9t9BVO8L+nnXufbOdV+E9WJU2banv18yetgkvdbbgH+JPoI/R0CnehjSL4Uxh6o0jHg8q74agxYX0XLsnTHOkAYQb5vjse7z5CsooBbhDR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G8D11XfYn 5eKiuIjKlFF9lD5Bh1Ed0EQwhq7sy767LRo6N_f6TwniFiCdk99fUEN54rrzQGCvwZCeQHfg44Uy T.TaN_05cnr5O1WH_BIPe3fWEMBUNGP_Qv2LNCYz7YnSNE8oZot3.AUEa17E_xphvmEQjx5OXhdL 9aPogY9oXVhcavlubP_rbM6OE8i0ZMZLPn8f0sSLsVm8WYw7o1Z8XPCGwunfy_qro_Lae36InKpb fjYBpxOL7DPJ2OBTjrHsA6EljGMUQujAmoLoqZ662KKIHj4OX1rEbKJ3uw8a3lDmeytfVoKEgc4X carLrFkAITAFL1FS7blcUzeCLPd0HqhutwFO7.G4- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Thu, 4 Jun 2020 18:23:06 +0000 Date: Thu, 4 Jun 2020 18:23:05 +0000 (UTC) From: Susan Joseph Reply-To: Susan Joseph To: "mohammed.bhatti1@gmail.com" Cc: "ahodgson@lists.simkin.ca" , "pgsql-general@lists.postgresql.org" Message-ID: <2130258060.1161730.1591294985701@mail.yahoo.com> In-Reply-To: References: <2112967772.767526.1591282857598.ref@mail.yahoo.com> <2112967772.767526.1591282857598@mail.yahoo.com> <526449575.1208974.1591289458729@mail.yahoo.com> <1252086.1591290665@sss.pgh.pa.us> <979349618.1498319.1591291933063@mail.yahoo.com> <1543451017.1247165.1591292991096@mail.yahoo.com> Subject: Re: PostgreSQL 11 with SSL on Linux MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1161729_31275205.1591294985699" X-Mailer: WebService/1.1.16037 aolwebmail Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0 Content-Length: 10401 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_1161729_31275205.1591294985699 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable OK thanks, I figured I had something messed up in my thought process.=C2=A0= I will work through these steps and let you know how it goes. Susan =20 =20 -----Original Message----- From: Mohammed Bhatti To: Susan Joseph Cc: ahodgson@lists.simkin.ca ; pgsql-general@list= s.postgresql.org Sent: Thu, Jun 4, 2020 2:14 pm Subject: Re: PostgreSQL 11 with SSL on Linux On Thu, Jun 4, 2020 at 1:50 PM Susan Joseph wrote= : OK, when I went to PostgreSQL to get the rpm file to install I was given: yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86= _64/pgdg-redhat-repo-latest.noarch.rpm I put the file pgdg-redhat-repo-latest.noarch.rpm in my /tmp directory and= ran rpm -i on the file. If I run rpm -qa | grep postgres I get postgresql-libs-9.2.24-4.el7_8.x86_64 When I run: rpm -ql postgresql-libs-9.2.24-4.el7_8.x86_64 I just get= a list of libraries.=20 I am not an SA, I am more of an engineer and have been working with the Pos= tgreSQL I installed by building it so not really used to RPM. I have used= YUM but that was with a connected server. How do I find all the packages that I need to have to do an install locally= ? =20 -----Original Message----- From: Alan Hodgson To: pgsql-general@lists.postgresql.org Sent: Thu, Jun 4, 2020 1:36 pm Subject: Re: PostgreSQL 11 with SSL on Linux On Thu, 2020-06-04 at 17:32 +0000, Susan Joseph wrote: So when I run rpm -i it says that the package is installed, but I can't fin= d a postgresql directory with all the files and executables.=C2=A0 So what = am I missing? =20 The server stuff is in postgresql11-serverif you're using the community rpm= s. Hi, I've had to do this in the past and I think you probably want to do this:1.= connect to a machine that has access to repos2. go here: https://www.postg= resql.org/download/linux/redhat/3. where it says "Direct RPM Download", cli= ck on the "direct download" link4. this takes you here: https://yum.postgre= sql.org/rpmchart.php5. click on "11=C2=A0 RHEL/CentOS/Oracle Linux 7 - x86_= 64" or whatever is the appropriate version you are looking for6. this takes= you here: https://yum.postgresql.org/11/redhat/rhel-7-x86_64/repoview/7. u= nder "Available Groups", click on the "PostgreSQL Database Server 11 PGDG" = link8. which takes you here: https://yum.postgresql.org/11/redhat/rhel-7-x8= 6_64/repoview/postgresqldbserver11.group.html9. here, you'll see four packa= ges listed10. click on each, which takes you to a page where the latest pac= kage is available11. repeat for all four and download all of the four and c= opy then to your offline server, so for example, /tmp12. then try and do an= rpm -ivh /tmp/, so for example rpm -ivh postgresql11-server-1= 1.8-1PGDG.rhel7.x86_64=C2=A013. I believe this should place the postgres st= uff in /var/lib/pgsql14. additional packages can be downloaded as needed --mohammed ------=_Part_1161729_31275205.1591294985699 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
OK thanks, I figured I had something messed up in my thought process.  I will work through these steps and let you know how it goes.

Susan


-----Original Message-----
From: Mohammed Bhatti <mohammed.bhatti1@gmail.com>
To: Susan Joseph <sandajoseph@verizon.net>
Cc: ahodgson@lists.simkin.ca <ahodgson@lists.simkin.ca>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Sent: Thu, Jun 4, 2020 2:14 pm
Subject: Re: PostgreSQL 11 with SSL on Linux



On Thu, Jun 4, 2020 at 1:50 PM Susan Joseph <sandajoseph@verizon.net> wrote:
OK, when I went to PostgreSQL to get the rpm file to install I was given:

yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

I put the file pgdg-redhat-repo-latest.noarch.rpm in my /tmp directory and ran rpm -i on the file.
If I run rpm -qa | grep postgres
I get postgresql-libs-9.2.24-4.el7_8.x86_64

When I run: rpm -ql postgresql-libs-9.2.24-4.el7_8.x86_64 I just get a list of libraries.

I am not an SA, I am more of an engineer and have been working with the PostgreSQL I installed by building it so not really used to RPM. I have used YUM but that was with a connected server.
How do I find all the packages that I need to have to do an install locally?

-----Original Message-----
From: Alan Hodgson <ahodgson@lists.simkin.ca>
To: pgsql-general@lists.postgresql.org
Sent: Thu, Jun 4, 2020 1:36 pm
Subject: Re: PostgreSQL 11 with SSL on Linux

On Thu, 2020-06-04 at 17:32 +0000, Susan Joseph wrote:
So when I run rpm -i it says that the package is installed, but I can't find a postgresql directory with all the files and executables.  So what am I missing?


The server stuff is in postgresql11-serverif you're using the community rpms.

Hi,

I've had to do this in the past and I think you probably want to do this:
1. connect to a machine that has access to repos
3. where it says "Direct RPM Download", click on the "direct download" link
5. click on "11  RHEL/CentOS/Oracle Linux 7 - x86_64" or whatever is the appropriate version you are looking for
7. under "Available Groups", click on the " PostgreSQL Database Server 11 PGDG" link
9. here, you'll see four packages listed
10. click on each, which takes you to a page where the latest package is available
11. repeat for all four and download all of the four and copy then to your offline server, so for example, /tmp
12. then try and do an rpm -ivh /tmp/<name_of_pkg>, so for example rpm -ivh postgresql11-server-11.8-1PGDG.rhel7.x86_64 
13. I believe this should place the postgres stuff in /var/lib/pgsql
14. additional packages can be downloaded as needed

--
mohammed
------=_Part_1161729_31275205.1591294985699--