PostgreSQL
Client Consigliato: DBeaver
https://blog.mclaughlinsoftware.com/2022/11/24/almalinuxpostgresql/
Sistema di installazione suggerito: https://www.postgresql.org/download/
# Install the repository RPM: sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
# Disable the built-in PostgreSQL module: sudo dnf -qy module disable postgresql <-- Importante!!
# Install PostgreSQL: sudo dnf install -y postgresql15-server
# Optionally initialize the database and enable automatic start: sudo /usr/pgsql-15/bin/postgresql-15-setup initdb sudo systemctl enable postgresql-15 sudo systemctl start postgresql-15
Database folder: /var/lib/pgsql/15/data/
su - postgres createuser -s admin
Richiamare: psql
ALTER USER admin WITH PASSWORD '****';
Nel file pg_hba modificare es.:
host all admin 172.16.0.0/24 password (Utente admin abilitato ad accedere da tutti gli ip della rete 172.16.0.x via TCP/IP in tutti i DB)
Disable SeLinux Disable Firewalld