From: Rob Sargent <robjsargent@gmail.com>
To: chiru r <chirupg@gmail.com>
Cc: Brent Wood <pcreso@yahoo.com>
Cc: pgsql-pkg-yum@postgresql.org
Cc: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL
Date: Tue, 1 Jan 2019 18:21:25 -0700
Message-ID: <9D113D8F-25B0-4E64-8D03-C56BE3FDB2BB@gmail.com> (raw)
In-Reply-To: <CA+RSxMimQrQoYEaTJnGEvAT7mr-dx6aQMMjbZ8K-yNDh_cZKeA@mail.gmail.com>
References: <CA+RSxMihTbvv52SzTtdEnoWuq=UGCsR+VJbeY7mb9qh58ckqtA@mail.gmail.com>
<61fe5d5d-12d5-eb0c-be09-fb12809fa866@aklaver.com>
<412458701.4798790.1546376025600@mail.yahoo.com>
<CA+RSxMimQrQoYEaTJnGEvAT7mr-dx6aQMMjbZ8K-yNDh_cZKeA@mail.gmail.com>
Do Options and One-Click seem oxymoronic to anyone else?
> On Jan 1, 2019, at 5:18 PM, chiru r <chirupg@gmail.com> wrote:
>
> Yes, at this moment we are not considering symlinks.
>
> We would like to have the options in RPMs itself.
>
>> On Tue, Jan 1, 2019 at 3:53 PM Brent Wood <pcreso@yahoo.com> wrote:
>> Have you considered symlinking the default paths to where you want it to reside?
>>
>> That approach would allow updates & upgrades to work as they expect, without changing default paths or config files.
>>
>> Much as described here:
>> https://help.cloud66.com/rails/how-to-guides/databases/shells/change-psql-directory.html
>>
>>
>>
>> Cheers,
>>
>> Brent Wood
>>
>>
>> On 12/31/18 8:19 AM, chiru r wrote:
>> > Hi All,
>> >
>> > I wanted to install the PostgreSQL-11 Software with Custom
>> > installation/binary paths.
>> >
>> > Currently I am using EDB one click installer software with option file
>> > like below to achieve, However EDB stopped and no longer provides one
>> > click installer for Linux.
>> >
>> > *Example:*
>> >
>> > PostgreSQL install software file : *postgresql-9.6.9-1-linux-x64.run*
>> >
>> > *cat Optionsfile.txt*
>> > mode=unattended
>> > datadir=/u02/pgdata01/9.6/data
>> > serverport=5432
>> > prefix=/u01/postgres/9.6
>> > I have installed CommunityPostgreSQL RPMs and are going into
>> > "/usr/pgsql-11/" by default.
>> >
>>
>> > #-> pwd
>> > /usr/pgsql-11
>> >
>> > [root@user:/usr/pgsql-11]#
>> >
>> > #-> ls -l
>> > total 16
>> >
>> > drwxr-xr-x 2 root root 4096 Dec 21 13:49 bin
>> > drwxr-xr-x 3 root root 4096 Dec 21 13:49 doc
>> > drwxr-xr-x 3 root root 4096 Dec 21 13:49 lib
>> > drwxr-xr-x 8 root root 4096 Dec 21 13:49 share
>> >
>> > Please let us know how to get the PostgreSQL-11 installed in above
>> > custom paths using RPMs? .
>> >
>> >
>> > Thanks,
>> >
>> > Chiranjeevi
>> >
>>
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: robjsargent@gmail.com, chirupg@gmail.com, pcreso@yahoo.com, pgsql-pkg-yum@postgresql.org
Subject: Re: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL
In-Reply-To: <9D113D8F-25B0-4E64-8D03-C56BE3FDB2BB@gmail.com>
References: <CA+RSxMihTbvv52SzTtdEnoWuq=UGCsR+VJbeY7mb9qh58ckqtA@mail.gmail.com> <61fe5d5d-12d5-eb0c-be09-fb12809fa866@aklaver.com> <412458701.4798790.1546376025600@mail.yahoo.com> <CA+RSxMimQrQoYEaTJnGEvAT7mr-dx6aQMMjbZ8K-yNDh_cZKeA@mail.gmail.com> <9D113D8F-25B0-4E64-8D03-C56BE3FDB2BB@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