530 B
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;