added fedora info based on testing

This commit is contained in:
2026-03-12 20:26:52 -05:00
parent 5563ebd488
commit 2a4ec39070

View File

@@ -32,6 +32,21 @@ sudo dnf install postgresql-server
sudo /usr/bin/postgresql-setup --initdb sudo /usr/bin/postgresql-setup --initdb
``` ```
Edit database access config
```sh
sudo nano /var/lib/pgsql/data/pg_hba.conf
```
Find these lines:
```sh
# IPv4 local connections:
host all all 127.0.0.1/32 ident
# IPv6 local connections:
host all all ::1/128 ident
```
Make sure the last item on each line (in this case `ident`) is changed to `md5`. Then restarted the database `sudo systemctl restart postgresql.service`
## Setup ## Setup
First make sure postgres is running: First make sure postgres is running:
```sh ```sh