Link to home
Start Free TrialLog in
Avatar of Omega002
Omega002Flag for Afghanistan

asked on

INSTALL POSTGRES 10 INTO SPECIFIC DIRECTORY RHEL7

I want to install Postgres 10 on Rhel7 into a specific directory where not into anything on the root file system so how would I install everything for postgres 10 into the following directory:
/appsdb/postgres/10/
Avatar of Omega002
Omega002
Flag of Afghanistan image

ASKER

Need specific instructions
???
no one has commented on my question
Avatar of earth man2
download the source tarball and configure the directories
https://www.postgresql.org/docs/10/static/install-procedure.html

./configure --prefix=/appsdb/postgres/10/
make
make install
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.