Re: install Postgres on RHED 7

From: SBob <sbob(at)quadratum-braccas(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: install Postgres on RHED 7
Date: 2018-12-18 23:17:03
Message-ID: fbc8e83b-9589-f5f5-99e4-3f8cc9a510e2@quadratum-braccas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Can you send the output of your ./configure command to the list or past
a link to it?

On 12/18/18 8:20 AM, Pepe TD Vo wrote:
> Hello,
>
> Run these commands:
>
> Install:
> sudo yum install pgdg-redhat11-11-2.noarch.rpm
> <https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm>
> rpm -Uvh pgdg-redhat11-11-2.noarch.rpm
> <https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm>
> preparing ###############[100%}
> successul
>
> but when I do "yum list posgres*  I ge an error that loaded
> plugins:langpacks, product-id, search-disabled-repos, subscription-manager
> This system is not register with an entitlement server
> [Erno 14] curl#6- "Could not resolve host: downlaod.posgresql.org;
> Unknown error"
>
> Trying other mirror.
> One of the configured repositories failed (PostgreSQL 11 7Server
> -x86_64), and yum doesn't have enough cached data to continue. At this
> point the on safe thing yum can do is failed.   There are a few ways
> to work "fix" this:
> 1. contact the upstream for the repository and get them to fix the
> problem.
> 2. Reconfigure the baseirl/etc.for the repository, to point to a
> working upstream. This is mot often useful if you are using a new
> distribution release than is supported by the repository (and the
> packages for the previous distribution release still work).
> 3. run the command with the repository temporarily disabled
> yum --disablerepo=pgdb11..
> 4.Disable the repositiroy permanently so yum won't use it by default.
> Yum will then just ignore the repository until you permanently enable
> it again or use --enablerepo for temporary usage:
>  5. Configure the failing repository to be skipped, if it's unavailable.
>
> etc...
>
> --------------------------------------------------
>
> I use the source one
> # gunzip postgresql-11.1.tar.gz
> # tar -xvf postgresql-11-1.tar
> # cd postgresql11.1
> #./configure  ----> it's checking build system, host system and etc...
> all the packages
> #mkdir build_dir
> #cd build_dir
> # make
> now I get an error  Make: *** No targets specified and no makefile
> found.   Stop.
>
> which target I should put?
>
> 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
>
>
> On Tuesday, December 18, 2018 8:40 AM, Erkan Durmuş <derkan(at)gmail(dot)com>
> wrote:
>
>
> 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
> <mailto: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 arvind chikne 2018-12-19 06:07:56 PgpoolII auto fail-over
Previous Message Davenport, Julie 2018-12-18 16:02:26 RE: cannot reach repository pgdg94/7Server/x86_64