From: Susan Joseph <sandajoseph@verizon.net>
To: mohammed.bhatti1@gmail.com <mohammed.bhatti1@gmail.com>
Cc: ahodgson@lists.simkin.ca <ahodgson@lists.simkin.ca>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PostgreSQL 11 with SSL on Linux
Date: Thu, 4 Jun 2020 18:23:05 +0000 (UTC)
Message-ID: <2130258060.1161730.1591294985701@mail.yahoo.com> (raw)
In-Reply-To: <CAPio1US4KMv9u8AVzcrtC_n2fF+-ZT+Y1Yz3Wc60S67JOyhpRQ@mail.gmail.com>
References: <2112967772.767526.1591282857598.ref@mail.yahoo.com>
<2112967772.767526.1591282857598@mail.yahoo.com>
<CABUevEzuA2rS1PUR7dxjZ6nHjJGYvEL9fOQ50OogxrEexVTH_g@mail.gmail.com>
<526449575.1208974.1591289458729@mail.yahoo.com>
<1252086.1591290665@sss.pgh.pa.us>
<979349618.1498319.1591291933063@mail.yahoo.com>
<f1d8e217a59ba530b3a082c3f2aac0b965ea20c0.camel@lists.simkin.ca>
<1543451017.1247165.1591292991096@mail.yahoo.com>
<CAPio1US4KMv9u8AVzcrtC_n2fF+-ZT+Y1Yz3Wc60S67JOyhpRQ@mail.gmail.com>
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.rp...
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 repos2. go here: https://www.postgresql.org/download/linux/redhat/3. where it says "Direct RPM Download", click on the "direct download" link4. this takes you here: https://yum.postgresql.org/rpmchart.php5. click on "11 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. under "Available Groups", click on the "PostgreSQL Database Server 11 PGDG" link8. which takes you here: https://yum.postgresql.org/11/redhat/rhel-7-x86_64/repoview/postgresqldbserver11.group.html9. here, you'll see four packages listed10. click on each, which takes you to a page where the latest package is available11. repeat for all four and download all of the four and copy then to your offline server, so for example, /tmp12. 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/pgsql14. additional packages can be downloaded as needed
--mohammed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: sandajoseph@verizon.net, mohammed.bhatti1@gmail.com, ahodgson@lists.simkin.ca
Subject: Re: PostgreSQL 11 with SSL on Linux
In-Reply-To: <2130258060.1161730.1591294985701@mail.yahoo.com>
References: <2112967772.767526.1591282857598.ref@mail.yahoo.com> <2112967772.767526.1591282857598@mail.yahoo.com> <CABUevEzuA2rS1PUR7dxjZ6nHjJGYvEL9fOQ50OogxrEexVTH_g@mail.gmail.com> <526449575.1208974.1591289458729@mail.yahoo.com> <1252086.1591290665@sss.pgh.pa.us> <979349618.1498319.1591291933063@mail.yahoo.com> <f1d8e217a59ba530b3a082c3f2aac0b965ea20c0.camel@lists.simkin.ca> <1543451017.1247165.1591292991096@mail.yahoo.com> <CAPio1US4KMv9u8AVzcrtC_n2fF+-ZT+Y1Yz3Wc60S67JOyhpRQ@mail.gmail.com> <2130258060.1161730.1591294985701@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox