From 9041b5d10e528fbeb9b997da5139373f1bbaf26f Mon Sep 17 00:00:00 2001 From: niko d Date: Fri, 31 Dec 2021 09:15:50 +0000 Subject: [PATCH] Update modules/ROOT/pages/postgresql.adoc --- modules/ROOT/pages/postgresql.adoc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/ROOT/pages/postgresql.adoc b/modules/ROOT/pages/postgresql.adoc index a7c9232..072c2d6 100644 --- a/modules/ROOT/pages/postgresql.adoc +++ b/modules/ROOT/pages/postgresql.adoc @@ -80,8 +80,8 @@ psql carl .... -[[configuration]] -== Configuration +[[initial configuration]] +== Initial Configuration The postgresql server is using two main configuration files @@ -94,16 +94,8 @@ If you’re getting ident errors from your app you’ll probably need to perform sudo gedit /var/lib/pgsql/data/pg_hba.conf .... -and edit -.... -host all all 127.0.0.1/32 ident -.... +and edit `host all all 127.0.0.1/32 ident` to `host all all 127.0.0.1/32 md5`. This should allow most applications to connect with username/password. -to - -.... -host all all 127.0.0.1/32 md5 -.... [[upgrade]] == Upgrade @@ -194,6 +186,14 @@ host: setsebool -P httpd_can_network_connect_db on .... +[[configuration]] +== Configuration + +As mentioned above, the postgresql server is using two main configuration files + +* /var/lib/pgsql/data/postgresql.conf +* /var/lib/pgsql/data/pg_hba.conf + [[systemd]] === systemd