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 1ge0IV-0004fs-3o for pgsql-general@arkaria.postgresql.org; Mon, 31 Dec 2018 16:20:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ge0IT-00088o-IY for pgsql-general@arkaria.postgresql.org; Mon, 31 Dec 2018 16:20:09 +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 1ge0IT-00088h-7h for pgsql-general@lists.postgresql.org; Mon, 31 Dec 2018 16:20:09 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ge0IM-0004B8-Nt for pgsql-general@postgresql.org; Mon, 31 Dec 2018 16:20:08 +0000 Received: by mail-lj1-x22b.google.com with SMTP id g11-v6so23882334ljk.3 for ; Mon, 31 Dec 2018 08:20:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=gGbCtc3HLwdmWU/18jhHMLCXhH+9wzKxPfzQZ0sCNSc=; b=PeF6aRBqwVDpfaWAkp/z0YAY3Kt5cLt4QV7T5X1bGmy8cXkJj3Q/m6/GEXT/mtMEd0 6gjhdEURF1X0kvLymDIH46+Wfvb55ZkBb4a8s7Kg3iBOhnXAzQcjd7WL2zALLkFXxlXg kb6tPRpuFkPwD07a1MrxVrLW4Wqj1VqbmKVC/ieTST67sN2sDzwpUIQt6UE9JpKk8Ydt 4SglITFslpq28at1Fzkym/IcsiqmHtLKzkyYhz8FZgA8dOA9jQU86BVW5nsVi6Q9LL0V h1EBbdLLDggQbGtiMD534yKOopmb3WipAJ/Su7xFuNhbY3eHMX7rXbhcgzw5DK3MO3/h qPKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gGbCtc3HLwdmWU/18jhHMLCXhH+9wzKxPfzQZ0sCNSc=; b=VhlRGrEgqPO1Jh3v/Dy3uTQp9xfwAWamnJBc759Y1N0SO+TH5irDSKZQQ2htd2LUxZ nDYlIEtVvi68YvjbTKBowc2slEby4P7hO9gckY0FWyeOMzBnPbB51+CaFQO1kprRPlbo I4191GNFFiCordAlw1GlYzksUvefT52KPAHGs96X9cNfmVkl56FHiID44+TV+9aCTcvo 6kCMiT/s90p1/lQq+dQ9r5PoiRpYOCjRVYoP41YuATDKTOMe6TftRtHUBHvWxO1kKfnR mwT7dHnFPZZJSs3MYPqzE3ILmG2D9s8/SGf1Y4DV7oxzIc9wxtSa4UbqNGd+kh6LTS0K ayJA== X-Gm-Message-State: AJcUukfrHdx0o7nMYUiN2dwGrkCcnXUwK6c3a8qnNkBqhXD18wBXEpRS zRsqQpkAviI17+5S5MRxJlvGq9ONAfKUTzBIqb6zMF3M X-Google-Smtp-Source: ALg8bN6Wphg+m4RSVUAIo5Uw/9HQfg5+WO+6xTGUGnzgyxnacMH1Ox0V1UZ+HrAcStRezScoYNRmxaMRpM4N/Lb7Xe0= X-Received: by 2002:a2e:9c7:: with SMTP id 190-v6mr15608944ljj.120.1546273200722; Mon, 31 Dec 2018 08:20:00 -0800 (PST) MIME-Version: 1.0 From: chiru r Date: Mon, 31 Dec 2018 11:19:50 -0500 Message-ID: Subject: Relocatable Binaries (RPMs) : custom installation path for PostgreSQL To: Forums postgresql Content-Type: multipart/alternative; boundary="000000000000dadb30057e53c831" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000dadb30057e53c831 Content-Type: text/plain; charset="UTF-8" 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 Community PostgreSQL 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 --000000000000dadb30057e53c831 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All,

I wanted to install the PostgreSQL-11 Software with C= ustom installation/binary paths.

Currently I am using EDB one click installer so= ftware with option file like below to achieve, However EDB stopped and no l= onger provides one click installer for Linux.

Example:

PostgreSQL i= nstall software file :=C2=A0postgresql-9.6.9-1-linux-x64.run

=C2=A0cat Optionsfile.txt

m= ode=3Dunattended

datadir=3D/u02/pgdata01/9.6/dat= a

serverport=3D5432

= prefix=3D/u01/postgres/= 9.6

=C2=A0

I have installed=C2=A0Community=C2=A0=C2=A0PostgreSQL RPMs and= =C2=A0are going into "=C2=A0/usr/pgsql-11/" by default.=


=

#-> pwd<= /font>

/usr/pgsql-1= 1

[ro= ot@user:/usr/pgsql-11]#

#-> ls -l

total 16

drwxr-xr-x 2 root root 4096 Dec 21 13:49 bin=

= drwx= r-xr-x 3 root root 4096 Dec 21 13:49 doc

= drwxr-xr-x 3 root root 4096 Dec 21 13:4= 9 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 abov= e custom paths using RPMs? .


Thanks,

Chiranjeevi

=
--000000000000dadb30057e53c831--