From: Ron <ronljohnsonjr@gmail.com>
To: Sendhu Sendhu <sendhu.sendhu@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Installing PostGreSQLon Redhat Linux - Help needed
Date: Mon, 27 Mar 2023 21:33:43 -0500
Message-ID: <bab72106-9ea7-5fff-0460-4f06f0695f48@gmail.com> (raw)
In-Reply-To: <CACHzddG5cCpnJjcP+O-LQOSTLmD5pbETa-ai7Ag-E7rZ=c07Wg@mail.gmail.com>
References: <CACHzddFJDRTDZTEiSv60K+qG4NTagKh115hAigoACWNnDviduA@mail.gmail.com>
<AM9P251MB011268EAE8B3FD8ECDEA5BD2A68B9@AM9P251MB0112.EURP251.PROD.OUTLOOK.COM>
<CACHzddH_SzrqW_DG38AkSwOHSaxjaO2Gp7vvf2OCDsRQoBziyg@mail.gmail.com>
<5e4b789d-9f46-1b1d-a7ce-0f089c884e23@gmail.com>
<CACHzddEohXjW3_mcqr_7R8s9cb8ndu62M5mdxo9pWiYW_q9NFQ@mail.gmail.com>
<f87aefce-9aa5-554e-c0cd-3c909b8ff561@gmail.com>
<CACHzddG5cCpnJjcP+O-LQOSTLmD5pbETa-ai7Ag-E7rZ=c07Wg@mail.gmail.com>
Here you go.
On 3/27/23 17:07, Sendhu Sendhu wrote:
> Hi Ron,
> I'm not finding the powershell script. Do you mind attaching again ?
>
> On Mon, Mar 27, 2023 at 5:23 PM Ron <ronljohnsonjr@gmail.com> wrote:
>
> My earlier email had a PowerShell script in a text file. In there is
> everything I've used for the past three years when downloading
> packages for 9.6 and 13.
>
> You'll have to edit it for your own needs.
>
> On 3/27/23 13:51, Sendhu Sendhu wrote:
>> Assuming our Linux distribution is rhel-9.0-x86_64/
>> <https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-9.0-x86_64/;,
>> do I need to download all files and sub-dir and install them?
>>
>> On Mon, Mar 27, 2023 at 2:41 PM Ron <ronljohnsonjr@gmail.com> wrote:
>>
>> On 3/27/23 13:31, Sendhu Sendhu wrote:
>>> Hi Servet,
>>> Thanks for your response. Under the redhat directory, there are
>>> a few dozen files. Which ones are needed for installation?
>>> Also, is there a step by step installation available?
>>
>> Once they're in their own Linux directory, simply "sudo yum
>> install *rpm".
>>
>> --
>> Born in Arizona, moved to Babylonia.
>>
>
> --
> Born in Arizona, moved to Babylonia.
>
--
Born in Arizona, moved to Babylonia.
$RHFileVer='rhel8'
$RHSiteVer='rhel-8.6'
$RHSiteVer2='rhel-8'
$PGVer='13.10'
function Get-RPM
{
$site = $args[0]
$f = $args[1]
write-host $site$f
wget $site$f -outfile $f
}
$PathRoot='C:\Users\A467197\Documents\Database Install Files\Postgresql\'
$CurPath=$PathRoot+'Pg'+$PGVer+'_'+$RHFileVer.ToUpper()
New-Item -Path $CurPath -ItemType Directory
Set-Location -Path $CurPath
$page="https://download.postgresql.org/pub/repos/yum/common/redhat/${RHSiteVer2}-x86_64/"
get-RPM $page "check_postgres-2.25.0-2.${RHFileVer}.noarch.rpm"
get-RPM $page "pgbackrest-2.44-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "pgcluu-3.4-1.${RHFileVer}.noarch.rpm"
#get-RPM $page "pgbouncer-1.17.0-10.${RHFileVer}.x86_64.rpm"
$page="https://download.postgresql.org/pub/repos/yum/13/redhat/${RHSiteVer}-x86_64/"
#get-RPM $page "amcheck_next96-1.5-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "pg_repack_13-1.4.8-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "pg_top_13-3.7.0-6.${RHFileVer}.x86_64.rpm"
get-RPM $page "pgaudit15_13-1.5.2-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "plpgsql_check_13-2.3.0-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "plsh_13-1.20220917-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-contrib-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-docs-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-libs-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-plperl-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-plpython3-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-server-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
#get-RPM $page "repmgr_13-5.3.2-1.${RHFileVer}.x86_64.rpm"
Attachments:
[text/plain] download_new_13.txt (1.8K, ../bab72106-9ea7-5fff-0460-4f06f0695f48@gmail.com/3-download_new_13.txt)
download | inline:
$RHFileVer='rhel8'
$RHSiteVer='rhel-8.6'
$RHSiteVer2='rhel-8'
$PGVer='13.10'
function Get-RPM
{
$site = $args[0]
$f = $args[1]
write-host $site$f
wget $site$f -outfile $f
}
$PathRoot='C:\Users\A467197\Documents\Database Install Files\Postgresql\'
$CurPath=$PathRoot+'Pg'+$PGVer+'_'+$RHFileVer.ToUpper()
New-Item -Path $CurPath -ItemType Directory
Set-Location -Path $CurPath
$page="https://download.postgresql.org/pub/repos/yum/common/redhat/${RHSiteVer2}-x86_64/"
get-RPM $page "check_postgres-2.25.0-2.${RHFileVer}.noarch.rpm"
get-RPM $page "pgbackrest-2.44-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "pgcluu-3.4-1.${RHFileVer}.noarch.rpm"
#get-RPM $page "pgbouncer-1.17.0-10.${RHFileVer}.x86_64.rpm"
$page="https://download.postgresql.org/pub/repos/yum/13/redhat/${RHSiteVer}-x86_64/"
#get-RPM $page "amcheck_next96-1.5-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "pg_repack_13-1.4.8-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "pg_top_13-3.7.0-6.${RHFileVer}.x86_64.rpm"
get-RPM $page "pgaudit15_13-1.5.2-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "plpgsql_check_13-2.3.0-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "plsh_13-1.20220917-1.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-contrib-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-docs-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-libs-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-plperl-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-plpython3-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
get-RPM $page "postgresql13-server-${PGVer}-1PGDG.${RHFileVer}.x86_64.rpm"
#get-RPM $page "repmgr_13-5.3.2-1.${RHFileVer}.x86_64.rpm"
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ronljohnsonjr@gmail.com, sendhu.sendhu@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Installing PostGreSQLon Redhat Linux - Help needed
In-Reply-To: <bab72106-9ea7-5fff-0460-4f06f0695f48@gmail.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