From 3e54af435b1fcb076cb950e4ddf36db7ba1a0f56 Mon Sep 17 00:00:00 2001 From: Alexander Fuhr Date: Wed, 24 Jun 2015 13:54:28 +0200 Subject: [PATCH] README: Add how-to for postgresql database setup --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 158092c4..94019df4 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,23 @@ Installation Create Icinga Director database ------------------------------- + MySQL: + mysql -e "CREATE DATABASE director2; GRANT SELECT, INSERT, UPDATE, DELETE ON director.* TO director@localhost IDENTIFIED BY 'some-password';" mysql director < schema/mysql.sql + PostgreSQL: + + CREATE DATABASE director WITH ENCODING 'UTF8'; + CREATE USER director WITH PASSWORD 'some-password'; + GRANT ALL PRIVILEGES ON DATABASE director TO director; + + psql director < schema/pgsql.sql + + Configure Icinga Web 2 ----------------------