mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-26 23:34:10 +02:00
README: Add how-to for postgresql database setup
This commit is contained in:
parent
2ea2e51e00
commit
3e54af435b
11
README.md
11
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
|
||||
----------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user