mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
README.md: refresh requirements and installation
This commit is contained in:
parent
2d265caf95
commit
5f3fb2b023
17
README.md
17
README.md
@ -14,9 +14,10 @@ of them at once.
|
|||||||
Requirements
|
Requirements
|
||||||
============
|
============
|
||||||
|
|
||||||
* Icinga 2 (>= 2.4.0)
|
* Icinga 2 (>= 2.4.2)
|
||||||
* Icinga Web 2 (>= 2.1.0)
|
* Icinga Web 2 (>= 2.2.0)
|
||||||
* MySQL or PostgreSQL database
|
* MySQL or PostgreSQL database
|
||||||
|
* php5-curl
|
||||||
* PostgreSQL: the schema is lacking behind right now, we'll fix this soon. If you want to start testing Director today please use MySQL
|
* PostgreSQL: the schema is lacking behind right now, we'll fix this soon. If you want to start testing Director today please use MySQL
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
@ -25,21 +26,17 @@ Installation
|
|||||||
Create Icinga Director database
|
Create Icinga Director database
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
MySQL:
|
### MySQL
|
||||||
|
|
||||||
mysql -e "CREATE DATABASE director;
|
mysql -e "CREATE DATABASE director CHARACTER SET 'utf8';
|
||||||
GRANT ALL ON director.* TO director@localhost IDENTIFIED BY 'some-password';"
|
GRANT ALL ON director.* TO director@localhost IDENTIFIED BY 'some-password';"
|
||||||
|
|
||||||
mysql director < schema/mysql.sql
|
### PostgreSQL
|
||||||
|
|
||||||
PostgreSQL:
|
|
||||||
|
|
||||||
CREATE DATABASE director WITH ENCODING 'UTF8';
|
CREATE DATABASE director WITH ENCODING 'UTF8';
|
||||||
CREATE USER director WITH PASSWORD 'some-password';
|
CREATE USER director WITH PASSWORD 'some-password';
|
||||||
GRANT ALL PRIVILEGES ON DATABASE director TO director;
|
GRANT ALL PRIVILEGES ON DATABASE director TO director;
|
||||||
|
|
||||||
psql director < schema/pgsql.sql
|
|
||||||
|
|
||||||
|
|
||||||
Configure Icinga Web 2
|
Configure Icinga Web 2
|
||||||
----------------------
|
----------------------
|
||||||
@ -54,4 +51,6 @@ a new database resource pointing to your newly created database. Last but not
|
|||||||
least you have to tell the director module to use this newly created database
|
least you have to tell the director module to use this newly created database
|
||||||
resource.
|
resource.
|
||||||
|
|
||||||
|
In case you prefer automated or manual installation please learn more about
|
||||||
|
[doc/30-Automation.md](automated installations) in the related section of our [doc/30-Automation.md](documentation).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user