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 1geVE0-0001TC-E6 for pgsql-general@arkaria.postgresql.org; Wed, 02 Jan 2019 01:21:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1geVDx-0003Vd-2F for pgsql-general@arkaria.postgresql.org; Wed, 02 Jan 2019 01:21:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1geVDw-0003VS-O1; Wed, 02 Jan 2019 01:21:32 +0000 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1geVDt-0005P8-SB; Wed, 02 Jan 2019 01:21:32 +0000 Received: by mail-io1-xd43.google.com with SMTP id k7so23494041iob.6; Tue, 01 Jan 2019 17:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NWjTTFBguAmPwBXHQIjmxY4W8cm5qdkxj+sAVzNuJOM=; b=WEkypCqv5naCFlSb2Oqs0/bZpYKu3LZn/k7YUm3AgyfSkOhbHc/gF/1vcAcWNXiBf3 cIpcWuIdXL+sa2CFHRj2+beagivO81X4/924IN+JXkh7wLKy7+bEIUq5RdtU1NVMxnq0 rBVxeVKR2skrBiG+pygFdTVSXYf85QlIg42uR7JB9buwIViVUshyB/KMGdITEuhrrIA+ Zu9UjJkzWgnVNGNCRgRvsnNdURB4jJCHbzHVqprqp/ZLRQoKlsot5kmGesHmhEFP2aLY G3BuZ6MaqyGtmKQnuVFSpJ30tJ9DClHTyGipRLHmOmNRqrWe1VzgXzya0E/Zy3622Dut kkrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NWjTTFBguAmPwBXHQIjmxY4W8cm5qdkxj+sAVzNuJOM=; b=H5fogaMypgaVQxNen7O8QetQcxsGvNsG0X04rryNwbFwr8yn/gvXIuu1r6BfUHrg6u +EemTHjmC9cUxVYpC/1LobnxDGij9Fsxn/EG3rbkKNArN0tJfRk5haxxaZhjArabNtk9 hbO5UNVCTtfFnOkCvOfdUjZEpTZysqN61RfAiOADTgEmhhl72TNwMYGDpwpKJHO8CNxj /GAuOEZfTrl0GUNLnVH7a+0KB00yOJ6G/1xWyj2IIwpxRsaekCfOmKE2fkflRuXsFWWs U4bMIT5EgaudDTgfLfTuE+M9jRnyjdvH4zP+k28r7j7LjvI9jSyzsYm3sp0iPdvNOBr5 2K1Q== X-Gm-Message-State: AJcUukfNAY80q7hVkmq/PARLdegSUWKyaScVxNyZ86ph2IvsyHK5dpNK k6gJgaRw/QFJ9xQetkb6JL3qVBtd X-Google-Smtp-Source: ALg8bN6uu89TREWPxZjS3xMMchGIto5zExazm05ps53v6/dYj7yRwJk0Hen14UtSN50t8kMBKE/x/Q== X-Received: by 2002:a6b:2c0c:: with SMTP id s12mr28245791ios.276.1546392087364; Tue, 01 Jan 2019 17:21:27 -0800 (PST) Received: from ?IPv6:2601:681:5500:1e3c:b53d:d57f:231a:18dc? ([2601:681:5500:1e3c:b53d:d57f:231a:18dc]) by smtp.gmail.com with ESMTPSA id y5sm23845260itb.42.2019.01.01.17.21.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Jan 2019 17:21:26 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-C1EF6CF2-D28F-4B7E-916D-9546810C536F Mime-Version: 1.0 (1.0) Subject: Re: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL From: Rob Sargent X-Mailer: iPhone Mail (16C101) In-Reply-To: Date: Tue, 1 Jan 2019 18:21:25 -0700 Cc: Brent Wood , pgsql-pkg-yum@postgresql.org, Forums postgresql Content-Transfer-Encoding: 7bit Message-Id: <9D113D8F-25B0-4E64-8D03-C56BE3FDB2BB@gmail.com> References: <61fe5d5d-12d5-eb0c-be09-fb12809fa866@aklaver.com> <412458701.4798790.1546376025600@mail.yahoo.com> To: chiru r List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail-C1EF6CF2-D28F-4B7E-916D-9546810C536F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Do Options and One-Click seem oxymoronic to anyone else? > On Jan 1, 2019, at 5:18 PM, chiru r wrote: >=20 > Yes, at this moment we are not considering symlinks. >=20 > We would like to have the options in RPMs itself. >=20 >> 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 r= eside? >>=20 >> That approach would allow updates & upgrades to work as they expect, with= out changing default paths or config files. >>=20 >> Much as described here: >> https://help.cloud66.com/rails/how-to-guides/databases/shells/change-psql= -directory.html >>=20 >>=20 >>=20 >> Cheers, >>=20 >> Brent Wood >>=20 >>=20 >> On 12/31/18 8:19 AM, chiru r wrote: >> > Hi All, >> >=20 >> > I wanted to install the PostgreSQL-11 Software with Custom=20 >> > installation/binary paths. >> >=20 >> > Currently I am using EDB one click installer software with option file=20= >> > like below to achieve, However EDB stopped and no longer provides one=20= >> > click installer for Linux. >> >=20 >> > *Example:* >> >=20 >> > PostgreSQL install software file : *postgresql-9.6.9-1-linux-x64.run* >> >=20 >> > *cat Optionsfile.txt* >> > mode=3Dunattended >> > datadir=3D/u02/pgdata01/9.6/data >> > serverport=3D5432 >> > prefix=3D/u01/postgres/9.6 >> > I have installed CommunityPostgreSQL RPMs and are going into=20 >> > "/usr/pgsql-11/" by default. >> >=20 >>=20 >> > #-> pwd >> > /usr/pgsql-11 >> >=20 >> > [root@user:/usr/pgsql-11]# >> >=20 >> > #-> ls -l >> > total 16 >> >=20 >> > 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 >> >=20 >> > Please let us know how to get the PostgreSQL-11 installed in above=20 >> > custom paths using RPMs? . >> >=20 >> >=20 >> > Thanks, >> >=20 >> > Chiranjeevi >> >=20 >>=20 --Apple-Mail-C1EF6CF2-D28F-4B7E-916D-9546810C536F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Do O= ptions and One-Click seem oxymoronic to anyone else?
<= br>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 itse= lf.

On Tue, Jan 1= , 2019 at 3:53 PM Brent Wood <pcreso@= yahoo.com> wrote:
Have you consider= ed symlinking the default paths to where you want it to reside?

<= /div>
That approach would allow updates & upgrades to work as they expe= ct, without changing default paths or config files.

Much a= s described here:



Cheers,

  Brent Wood



On 12/31/18 8:19 AM, chiru r wrote:
> Hi All,
>
> I wanted to install the PostgreSQ= L-11 Software with Custom
> installation/binary paths.=
>
> Currently I am using EDB one= click installer software with option file
> like belo= w to achieve, However EDB stopped and no longer provides one
> click installer for Linux.
>
> *Example:*
>
> PostgreSQL i= nstall software file : *postgresql-9.6.9-1-linux-x64.run*
= >
> *cat Optionsfile.txt*
> mo= de=3Dunattended
> datadir=3D/u02/pgdata01/9.6/data
> serverport=3D5432
> prefix=3D/u01/po= stgres/9.6
> I have installed CommunityPostgreSQL RPMs a= nd 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 roo= t root 4096 Dec 21 13:49 doc
> drwxr-xr-x 3 root root 4= 096 Dec 21 13:49 lib
> drwxr-xr-x 8 root root 4096 Dec 2= 1 13:49 share
>
> Please let us k= now how to get the PostgreSQL-11 installed in above
> c= ustom paths using RPMs? .
> <= br clear=3D"none">>
> Thanks,
>= ;
> Chiranjeevi
>

<= /div>
= --Apple-Mail-C1EF6CF2-D28F-4B7E-916D-9546810C536F--