Files
tp/note.md
2025-11-05 22:08:24 +01:00

530 B

Installation Raspberry

sudo apt update && sudo apt upgrade -y
sudo reboot

Installation

sudo apt install postgresql
sudo nano /etc/postgresql/17/main/pg_hba.conf
host  all  all     0.0.0.0/0     scram-sha-256
sudo nano /etc/postgresql/17/main/postgresql.conf
listen_addresses = '*'
sudo systemctl restart postgresql
sudo -u postgres psql
CREATE USER belhocine WITH password 'geii2025';
CREATE DATABASE belhocine OWNER belhocine;