Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1geUF0-00057q-H3 for pgsql-general@arkaria.postgresql.org; Wed, 02 Jan 2019 00:18:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1geUEy-00073R-EC for pgsql-general@arkaria.postgresql.org; Wed, 02 Jan 2019 00:18:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1geUEx-0006xY-PI; Wed, 02 Jan 2019 00:18:31 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1geUEu-0003Mf-5w; Wed, 02 Jan 2019 00:18:30 +0000 Received: by mail-lj1-x241.google.com with SMTP id t18-v6so25805963ljd.4; Tue, 01 Jan 2019 16:18:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w1Wfkf5yV3O4rC0oammEtZmiRl/K714xCdfyQHwWZDI=; b=dHBlZM9Ux+MVRUWypHqVRCWDzYPEDAOzChy7HDyWcfrmrv5n8xMM2qK64IrZADl8Qm OdEpphltOJMSnK9dCyarWFi7IofKB3zbRfil6qapm+VQH8h9JmBvIVS0rcm61csHC0r/ 0SgYPpvvk2zIc6GPuKTCj5mvRhh5ULShDeinfZ0Er5vOoBGXdCOuMZ5yPJJYEpGcWvJb eoTphfsdd1rkHPpZFNXV5m4G6735F7zB8ADvFx/r82J0GfeJx5k83QF4xVPG4mC89QVN 53eIwmp0P22YAurJ4Z+SV77LkqsWW0mfxAu80tJBvcIJD2f+qE9B2Nj6UZnXL23kQUKl ypNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w1Wfkf5yV3O4rC0oammEtZmiRl/K714xCdfyQHwWZDI=; b=lV0pSZocYlwVFXreoeUMqjKHxIDK5nef4zca6lFqBc6shQtGCKxOvP1By7al+SQCn2 LMfQMSevVYMy0R6TqNK2pm2zfyyike5B0DL9FdSo3fLTzfmnyv7OyrcAxjSD+5SGMOqY z02rNz/RbkAGXNW1gG+f7+6dW/IWtUhfWndhl/NLAQtxghgh6e1mae4GOIcoT3hkuNsW tIXdYF6CCNZ0QpjJ5TZGVByUnSDreEFNjtgSvqvQuOYVofB8qj7BHf3Lmo8R/W/ut6KX SxsPiIu7F4bJeOMG/vCyb+9cK91VF09PcsWUkcq0KIvodJ5yA0TsrfW5fiW0UC76eZjJ 7W2g== X-Gm-Message-State: AJcUukduWPzRdrGsjRmP8yOCsGI3tehYdlGhtcVXZgZn3RMkzQ1KewGv BgIqVZInMmWB6/uZz8lbxqngAACPqH9TtEwi8mU= X-Google-Smtp-Source: ALg8bN5xr7NXD/YVfIryFs/etretfypWcirZtcl8+tw2qly07uW/sYhHvdgPHTOS+zQVMHXJmMN9/GUXaoL3O25uCjQ= X-Received: by 2002:a2e:94ce:: with SMTP id r14-v6mr23519774ljh.34.1546388306244; Tue, 01 Jan 2019 16:18:26 -0800 (PST) MIME-Version: 1.0 References: <61fe5d5d-12d5-eb0c-be09-fb12809fa866@aklaver.com> <412458701.4798790.1546376025600@mail.yahoo.com> In-Reply-To: <412458701.4798790.1546376025600@mail.yahoo.com> From: chiru r Date: Tue, 1 Jan 2019 19:18:17 -0500 Message-ID: Subject: Re: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL To: Brent Wood , pgsql-pkg-yum@postgresql.org Cc: Forums postgresql Content-Type: multipart/alternative; boundary="000000000000adb6bb057e6e956c" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000adb6bb057e6e956c Content-Type: text/plain; charset="UTF-8" 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 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 > > > > --000000000000adb6bb057e6e956c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, at this moment we are not considering symlinks.
<= br>
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 sy= mlinking the default paths to where you want it to reside?

That approach would allow updates & upgrades to work as they expec= t, without changing default paths or config files.

Muc= h as described here:



<= div id=3D"gmail-m_-1663996709972997700yui_3_16_0_ym19_1_1546340808532_65620= ">Cheers,

=C2=A0 Brent Wood



On 12/31/18 8:19 AM, chiru r wrote:
> Hi All,
>
> I w= anted to install the PostgreSQL-11 Software with Custom
= > installation/binary paths.
>
&= gt; Currently I am using EDB one click installer software with option file =
> like below to achieve, However EDB stopped and no l= onger provides one
> click installer for Linux.
>
> *Example:*
>=
> PostgreSQL install software file : *postgresql-9.6= .9-1-linux-x64.run*
>
> *cat Opt= ionsfile.txt*
> mode=3Dunattended
&g= t; datadir=3D/u02/pgdata01/9.6/data
> serverport=3D543= 2
> prefix=3D/u01/postgres/9.6
> = I have installed CommunityPostgreSQL RPMs and are going into
> "/usr/pgsql-11/" by default.
>=

> #-> pwd
> /usr/pgsql-1= 1
>
> [root@user:/usr/pgsql-11]#
>
> #-> ls -l
> = total 16
>
> drwxr-xr-x 2 root r= oot 4096 Dec 21 13:49 bin
> drwxr-xr-x 3 root root 409= 6 Dec 21 13:49 doc
> drwxr-xr-x 3 root root 4096 Dec 2= 1 13:49 lib
> drwxr-xr-x 8 root root 4096 Dec 21 13:49= share
>
> Please let us know ho= w to get the PostgreSQL-11 installed in above
> custo= m paths using RPMs? .
> >
> Thanks,
>= ;
> Chiranjeevi
>

=
--000000000000adb6bb057e6e956c--