Relocatable Binaries (RPMs) : custom installation path for PostgreSQL

Поиск
Список
Период
Сортировка
От chiru r
Тема Relocatable Binaries (RPMs) : custom installation path for PostgreSQL
Дата
Msg-id CA+RSxMihTbvv52SzTtdEnoWuq=UGCsR+VJbeY7mb9qh58ckqtA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Relocatable Binaries (RPMs) : custom installation path forPostgreSQL
RE: Relocatable Binaries (RPMs) : custom installation path forPostgreSQL
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Igor Korot
Дата:
Сообщение: Re: libpq bug?
Следующее
От: Siegfried Bilstein
Дата:
Сообщение: Thoughts on row-level security for webapps?