Raspberry

This commit is contained in:
2025-11-05 22:08:24 +01:00
parent 051009a5f1
commit dd26cc3afe
6 changed files with 183 additions and 98 deletions

39
note.md Normal file
View File

@@ -0,0 +1,39 @@
Installation Raspberry
```shell
sudo apt update && sudo apt upgrade -y
sudo reboot
```
Installation
```shell
sudo apt install postgresql
```
```shell
sudo nano /etc/postgresql/17/main/pg_hba.conf
```
```
host all all 0.0.0.0/0 scram-sha-256
```
```shell
sudo nano /etc/postgresql/17/main/postgresql.conf
```
```
listen_addresses = '*'
```
```shell
sudo systemctl restart postgresql
sudo -u postgres psql
```
```sql
CREATE USER belhocine WITH password 'geii2025';
CREATE DATABASE belhocine OWNER belhocine;
```