17 lines
705 B
Markdown
17 lines
705 B
Markdown
# Bastille Stack: PostgreSQL 18 HomeLab
|
|
|
|
Dieses Template automatisiert die Bereitstellung eines **PostgreSQL 18** Servers in einem BastilleBSD Jail. Es ist vorkonfiguriert für den Netzwerkzugriff innerhalb eines HomeLabs.
|
|
|
|
## Features
|
|
- **Version:** PostgreSQL 18.x
|
|
- **Netzwerk:** Erreichbar im Subnetz `172.16.0.0/22`.
|
|
- **IPC:** Automatische Konfiguration von System V IPC (wichtig für Postgres Performance).
|
|
- **Auto-Setup:** Erstellt automatisch den User `homelab` und die Datenbank `homelabdb`.
|
|
|
|
## Voraussetzungen
|
|
|
|
### 1. Jail erstellen
|
|
Das Jail sollte idealerweise mit dem `-B` Flag erstellt werden, um Standard-Parameter zu setzen:
|
|
|
|
```bash
|
|
bastille create -B homelabdb 14.2-RELEASE 172.16.0.10 |