Re: Postgres 9.4.5 Installation on Centos 7.3

From: Sachin Srivastava <ssr(dot)teleatlas(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres 9.4.5 Installation on Centos 7.3
Date: 2016-01-29 07:55:13
Message-ID: CAFzqEh+rwFKjriJtWkJ1=sGNd=6HipofDHscipodO3Ld9nNC-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Here selinux is already disabled on server and I am installing postgres on
Centos 7.2.

On Fri, Jan 29, 2016 at 1:12 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:

> On 1/28/2016 11:21 PM, Sachin Srivastava wrote:
>
>>
>> Is it not possible If my storage is mounted on /u01 and I will create the
>> directory within "u01/" /postgres9.4/data. And now I want to initialize
>> my data within this directory ("/u01/postgres9.4/data").
>>
>> There is any specific reason to use only this by default directory
>> "/var/lib/pgsql/9.4/data".
>>
>
> you will need to mess with selinux tags to get it to cooperate.
>
>
>> And if I want to keep (("/u01/postgres9.4/data) this directory then what
>> should be the command of initdb because command giving the error.
>>
>
> create file /etc/sysconfig/pgsql/postgresql-9.4 and add the line
> PGDATA=/u01/postgres9.4/data then run the postgreql94-setup initdb, it
> will pick up this setting and use it, as will the systemd service scripts.
>
>
>
>
> --
> john r pierce, recycling bits in santa cruz
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Artur Zakirov 2016-01-29 09:21:36 Re: Using a german affix file for compound words
Previous Message John R Pierce 2016-01-29 07:42:27 Re: Postgres 9.4.5 Installation on Centos 7.3