Update docs (#4838)

This commit is contained in:
Eric Lippmann 2022-06-29 10:08:45 +02:00 committed by GitHub
parent d5d714b1ee
commit 8e64c0b239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 11 deletions

View File

@ -32,12 +32,15 @@ thoroughly.
## Installation Requirements <a id="installation-requirements"></a> ## Installation Requirements <a id="installation-requirements"></a>
* [Icinga 2](https://icinga.com/products/icinga-2/) with the IDO database backend (MySQL or PostgreSQL) * [Icinga 2](https://icinga.com/docs/icinga-2) and [Icinga DB](https://icinga.com/docs/icinga-db) to
monitor your infrastructure
* A web server, e.g. Apache or Nginx * A web server, e.g. Apache or Nginx
* PHP version >= 7.2 * PHP version 7.2
### Optional Requirements ### Optional Requirements
* For exports to PDF also the following PHP modules are required: mbstring, GD, Imagick
* The [pdfexport](https://github.com/Icinga/icingaweb2-module-pdfexport) module (≥0.10) is required for the
export to PDF
* LDAP PHP library when using Active Directory or LDAP for authentication * LDAP PHP library when using Active Directory or LDAP for authentication
## Add Icinga Package Repository <a id="add-icinga-package-repository"></a> ## Add Icinga Package Repository <a id="add-icinga-package-repository"></a>
@ -281,9 +284,16 @@ yum install icingaweb2 icingacli
## Install the Web Server <a id="install-the-web-server"></a> ## Install the Web Server <a id="install-the-web-server"></a>
Make sure you have a web server with PHP up and running before moving on. Ensure that you have a web server with PHP installed before proceeding,
Please refer to the [installation requirements](#installation-requirements) for details about supported versions. such as Apache or Nginx with PHP version ≥ 7.2. Depending on your operating system,
Depending on your OS you might have to install, and configure the web server separately. you may need to install and configure the web server separately.
An Apache configuration file to serve Icinga Web is already installed.
If you want to use Nginx, you must manually create a configuration file using the following command.
Save the output as a new file in the web server configuration directory:
```bash
icingacli setup config webserver nginx --document-root /usr/share/icingaweb2/public
```
## Prepare Web Setup <a id="prepare-web-setup-from-package"></a> ## Prepare Web Setup <a id="prepare-web-setup-from-package"></a>
@ -381,13 +391,15 @@ mv icingaweb2-2.9.5 icingaweb2
You will need to install certain dependencies depending on your setup: You will need to install certain dependencies depending on your setup:
* [Icinga 2](https://icinga.com/products/icinga-2/) with the IDO database backend (MySQL or PostgreSQL) * [Icinga 2](https://github.com/Icinga/icinga2) and [Icinga DB](https://github.com/Icinga/icingadb) to
monitor your infrastructure
* A web server, e.g. Apache or Nginx * A web server, e.g. Apache or Nginx
* PHP version >= 7.2 * PHP version 7.2
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.9) * [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) ( 0.9)
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (>= 0.11) * [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) ( 0.11)
* The following PHP modules must be installed: cURL, json, gettext, fileinfo, intl, dom, OpenSSL and xml * The following PHP modules must be installed: cURL, json, gettext, fileinfo, intl, dom, OpenSSL and xml
* For exports to PDF also the following PHP modules are required: mbstring, GD, Imagick * The [pdfexport](https://github.com/Icinga/icingaweb2-module-pdfexport) module (≥0.10) is required for the
export to PDF
* LDAP PHP library when using Active Directory or LDAP for authentication * LDAP PHP library when using Active Directory or LDAP for authentication
* MySQL or PostgreSQL PHP libraries * MySQL or PostgreSQL PHP libraries