About This Task
It is critical that you configure Postgres to allow remote connections before you deploy a cluster. If you do not perform these steps in advance of installing your cluster, the installation fails.
Steps
- Open - /var/lib/pgsql/9.6/data/pg_hba.confand update to the following- # "local" is for Unix domain socket connections only
- local all all trust
- # IPv4 local connections:
- host all all 0.0.0.0/0 trust
- # IPv6 local connections:
- host all all ::/0 trust
 
- Open - /var/lib//pgsql/9.6/data/postgresql.confand update to the following:- listen_addresses = '*'
 
- Restart Postgres: - systemctl stop postgresql-9.6.service
- systemctl start postgresql-9.6.service
 
 我的书签
 我的书签
                                 添加书签
 添加书签 移除书签
 移除书签