본문 바로가기

설정

postgresql 9.4 conf location

41

If you type the following:

sudo su - postgres

after installing postgresql-server, that should take you right to the home directory of postgres and will have the configuration files you are looking for. Usually in a RHEL environment, the configuration files would be stored in /var/lib/pgsql/. On my test environment it is stored in /var/lib/pgsql/9.1/data.

shareimprove this answer

answered Oct 6 '15 at 18:18

ryekayo

3,14699 gold badges2929 silver badges5555 bronze badges

  • 1

    Saved my day. It's working for postgres 9.2 – Rahal Kanishka Nov 7 '17 at 6:42

  • 1

    In CentOS 7.6.1810 version is ommitted: /var/lib/pgsql/data/postgresql.conf and postgres home folder falls one folder short: /var/lib/pgsql 

https://unix.stackexchange.com/questions/234311/couldnt-find-postgresql-conf-pg-hba-conf-files-in-my-postgresql-installation

 

Couldn't find postgresql.conf & pg_hba.conf files in my postgresql installation

Following all the instructions from UNIXMEN, installed postgresql-9.4 in CentOS 6.4. Everything went well, started the service and could access pgsql screen. But when I try to configure the phpPgAd...

unix.stackexchange.com

 

왜 찾을라 햇는짇 ㅗ까먹엇네 

'설정' 카테고리의 다른 글

맥북 공장 초기화 후  (0) 2020.01.26
elasticsearch geo-shape 쿼리 조회  (0) 2019.11.20
쿠버네티스 튜토리얼해보기  (1) 2019.09.17
index 생성 예시  (0) 2019.09.03
예시 elasticsearch reindex와 샤드  (0) 2019.09.03