From 68a77749264e947e60a1ffa92018bf5316fade81 Mon Sep 17 00:00:00 2001 From: Peter Reichart Date: Tue, 31 Oct 2023 14:24:34 +0000 Subject: [PATCH] debian11_install.md aktualisiert --- debian11_install.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/debian11_install.md b/debian11_install.md index 6bd7d3f..3e02d18 100644 --- a/debian11_install.md +++ b/debian11_install.md @@ -36,4 +36,25 @@ apt update && apt upgrade -y && apt install apache2 libarchive-zip-perl libclon mkdir webdav chown -R www-data users spool webdav templates users cp config/kivitendo.conf.default config/kivitendo.conf - ``` \ No newline at end of file + ``` + + ### PostgreSQL + * Datei: /etc/postgresql/13/main/postgresql.conf: DB hört auf allen Interfaces + ``` + listen_addresses = '*' + ``` + * Datei: /etc/postgresql/13/main/pg_hba.conf: Login für DB-User Kivitendo einrichten + ``` + local all kivitendo password + host all kivitendo 127.0.0.1/32 password + ``` + * psql Einstellungen: + ``` + su - postgres + pgsql + \password postgres + (Passwort für user postgres vergeben) + \q + ``` + * Datenbakuser anlegen: + ```createuser -d -P kivitendo```