custom installation path for PostgreSQL RPMs ( Relocatable Binaries )

From: chiru r <chirupg(at)gmail(dot)com>
To: Forums postgresql <pgsql-general(at)postgresql(dot)org>
Subject: custom installation path for PostgreSQL RPMs ( Relocatable Binaries )
Date: 2018-12-21 19:09:26
Message-ID: CA+RSxMjOtptzyTDp4i8BkWinEWdoR-Lmg1uv7zgyeQDYyYZaMg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

I wanted to install the PostgreSQL-11 Software with Custom installation and
data directory path.

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(at)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

Browse pgsql-general by date

  From Date Subject
Next Message Chuck Martin 2018-12-21 21:14:36 Re: Change from 9.6 to 11?
Previous Message Kumar, Virendra 2018-12-21 18:39:28 RE: Query planner / Analyse statistics bad estimate rows=1 with maximum statistics 10000 on PostgreSQL 10.2