목록postgres 원격 (1)
IT Log

CentOS 7 PostgreSQL Install : https://newly0513.tistory.com/154 1. postgresql.conf listen_addresses의 주석을 제거하고, localhost에서 *로 수정합니다. # Configuration File /var/lib/pgsql//datda/postgresql.conf vi /var/lib/pgsql/13/datda/postgresql.conf listen_addresses = '*' 2. pg_hba.conf 모든 IP에서 접속이 가능하도록 아래와 같이 설정합니다. (파일을 확인해보면 맨 아랫줄에 해당내용이 추가됩니다.) echo "host all all 0.0.0.0/0 md5" >> /var/lib/pgsql/13/data/p..
Linux/CentOS 7
2020. 9. 28. 23:36