mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
Update modules/ROOT/pages/postgresql.adoc
This commit is contained in:
parent
8db8c1dba2
commit
9041b5d10e
1 changed files with 11 additions and 11 deletions
|
@ -80,8 +80,8 @@ psql carl
|
||||||
....
|
....
|
||||||
|
|
||||||
|
|
||||||
[[configuration]]
|
[[initial configuration]]
|
||||||
== Configuration
|
== Initial Configuration
|
||||||
|
|
||||||
The postgresql server is using two main configuration files
|
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
|
sudo gedit /var/lib/pgsql/data/pg_hba.conf
|
||||||
....
|
....
|
||||||
|
|
||||||
and edit
|
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.
|
||||||
....
|
|
||||||
host all all 127.0.0.1/32 ident
|
|
||||||
....
|
|
||||||
|
|
||||||
to
|
|
||||||
|
|
||||||
....
|
|
||||||
host all all 127.0.0.1/32 md5
|
|
||||||
....
|
|
||||||
|
|
||||||
[[upgrade]]
|
[[upgrade]]
|
||||||
== Upgrade
|
== Upgrade
|
||||||
|
@ -194,6 +186,14 @@ host:
|
||||||
setsebool -P httpd_can_network_connect_db on
|
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]]
|
||||||
=== systemd
|
=== systemd
|
||||||
|
|
Loading…
Reference in a new issue