Pagina principale e PostgreSQL: differenze tra le pagine

Da GazziNet.
(Differenze fra le pagine)
Vai alla navigazione Vai alla ricerca
Nessun oggetto della modifica
 
Nessun oggetto della modifica
 
Riga 1: Riga 1:
For this moment: [https://oldwiki.gazzi.net OldWiki]
Client Consigliato: DBeaver


[[TIPS Browser]]
https://blog.mclaughlinsoftware.com/2022/11/24/almalinuxpostgresql/


[[TIPS LINUX]]


[[TIPS DATABASE]]
Sistema di installazione suggerito: https://www.postgresql.org/download/


[[TIPS ORACLE]]
# 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


[[TIPS Kubernates Project]]
# Disable the built-in PostgreSQL module:
sudo dnf -qy module disable postgresql <-- Importante!!


[[TIPS Appunti Docker]]
# Install PostgreSQL:
sudo dnf install -y postgresql15-server


[[TIPS Appunti Kuber]]
# 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


[[TIPS Appunti Cluster Kuber]]
Database folder: /var/lib/pgsql/15/data/


[[TIPS TWITCH]]
su - postgres
createuser -s admin
Richiamare: psql
ALTER USER admin WITH PASSWORD '****';


[[TIPS SSL]]
Nel file pg_hba modificare es.:


[[TIPS BOT]]
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)

Versione delle 14:56, 11 giu 2023

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)