From b02a1ff9d67b992fed7120e2b9a9324cc51a8be5 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 1 Aug 2014 17:38:49 +0200 Subject: [PATCH] Documentation: Add a note on Icinga Web database refs #6652 --- doc/2-getting-started.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/2-getting-started.md b/doc/2-getting-started.md index 8271d665c..b2cf8c117 100644 --- a/doc/2-getting-started.md +++ b/doc/2-getting-started.md @@ -746,14 +746,15 @@ Therefore you need to setup the [DB IDO feature](#configuring-ido) remarked in t #### Installing Icinga Web The Icinga package repository has both Debian and RPM packages. You can install -the Classic UI using the following packages: +Icinga Web using the following packages (RPMs ship an additional configuration package): Distribution | Packages --------------|------------------------------------- RHEL/SUSE | icinga-web icinga-web-{mysql,pgsql} Debian | icinga-web -Additionally you need to setup the `icinga_web` database. +Additionally you need to setup the `icinga_web` database and import the database schema. +Details can be found in the package `README` files, for example [README.RHEL](https://github.com/Icinga/icinga-web/blob/master/doc/README.RHEL) The Icinga Web RPM packages install the schema files into `/usr/share/doc/icinga-web-*/schema` (`*` means package version). @@ -762,6 +763,16 @@ The Icinga Web dist tarball ships the schema files in `etc/schema`. On SuSE-based distributions the schema files are installed in `/usr/share/doc/packages/icinga-web/schema`. +Example for RHEL and MySQL: + + # mysql -u root -p + + mysql> CREATE DATABASE icinga_web; + GRANT SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX, EXECUTE ON icinga_web.* TO 'icinga_web'@'localhost' IDENTIFIED BY 'icinga_web'; + quit + + # mysql -u root -p icinga_web < /usr/share/doc/icinga-web-/schema/mysql.sql + Icinga Web requires the IDO feature as database backend using MySQL or PostgreSQL. Enable that feature, e.g. for MySQL. -- 2.40.0