Re: install Postgres on RHED 7

From: Erkan Durmuş <derkan(at)gmail(dot)com>
To: Pepe TD Vo <pepevo(at)yahoo(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: install Postgres on RHED 7
Date: 2018-12-18 13:39:55
Message-ID: CACX1UnkYGqvyfafnFFTwrJv-Enhy4JbQvVeWW8vGnNX3u4K1Fg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Run these commands:

Install:
sudo yum install epel-release
rpm -Uvh
https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm
yum install postgresql11-server postgresql11-contrib

Init DB:

/usr/pgsql-11/bin/postgresql-11-setup initdb
Int Service:

sudo systemctl start postgresql-11
sudo systemctl enable postgresql-11

On Tue, Dec 18, 2018 at 4:14 PM Pepe TD Vo <pepevo(at)yahoo(dot)com> wrote:

> Good morning Admin/DBAs
>
> Would you please tell me how to install Postgres 11.x on RHEL7 servers? I
> am not able to install it and the pgdg-redhat 11-11-2.noarch.rpm
> successfully run but nothing happen when I install the packages "yum
> install Postgres (server, contribute and devel ) etc..."
>
> Is there a way I can install postgres from gz file?
>
> thank you.
>
>
>
> *Bach-Nga*No one in this world is pure and perfect. If you avoid people
> for their mistakes you will be alone. So judge less, love and forgive more.
> To call him a dog hardly seems to do him justice though in as much as he
> had four legs, a tail, and barked, I admit he was, to all outward
> appearances. But to those who knew him well, he was a perfect gentleman
> (Hermione Gingold)
>
> **Live simply **Love generously **Care deeply **Speak kindly.
> *** Genuinely rich *** Faithful talent *** Sharing success
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Pepe TD Vo 2018-12-18 15:20:32 Re: install Postgres on RHED 7
Previous Message Shreeyansh Dba 2018-12-18 13:30:31 Re: install Postgres on RHED 7