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.
answered Oct 6 '15 at 18:18
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
왜 찾을라 햇는짇 ㅗ까먹엇네
'설정' 카테고리의 다른 글
맥북 공장 초기화 후 (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 |