unattended_installations:installing_up_icinga_web_2
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaÚltima revisiónAmbos lados, revisión siguiente | ||
unattended_installations:installing_up_icinga_web_2 [2015/04/02 14:13] – [Installing Icinga Web 2 from Source] macho | unattended_installations:installing_up_icinga_web_2 [2015/04/02 14:26] – [Installing Icinga Web 2 from Source] macho | ||
---|---|---|---|
Línea 12: | Línea 12: | ||
First of all, you need to download the sources. Icinga Web 2 is available through a Git repository. You can clone this repository either via git or http protocol using the following URL, or can download from here: | First of all, you need to download the sources. Icinga Web 2 is available through a Git repository. You can clone this repository either via git or http protocol using the following URL, or can download from here: | ||
http:// | http:// | ||
+ | **Step 2: Install the Source** | ||
+ | Choose a target directory and move Icinga Web 2 there. | ||
+ | mkdir / | ||
+ | tar -zxvf icingaweb2-06d9e41.tar.gz | ||
+ | mv icingaweb2 / | ||
+ | **Step 3: Configuring the Web Server** | ||
+ | Use // | ||
+ | cd / | ||
+ | **Apache:** | ||
+ | ./ | ||
+ | | ||
+ | Save the output as new file in your webserver' | ||
+ | |||
+ | **Step 4: Preparing Web Setup** | ||
+ | |||
+ | Because both web and CLI must have access to configuration and logs, permissions will be managed using a special system group. The web server user and CLI user have to be added to this system group. | ||
+ | |||
+ | Add the system group **icingaweb2** in the first place. | ||
+ | addgroup --system icingaweb2 | ||
+ | Add your web server' | ||
+ | usermod -a -G icingaweb2 www-data | ||
+ | Use **icingacli** to create the configuration directory which defaults to **/ | ||
+ | ./ | ||
+ | | ||
+ | When using the web setup you are required to authenticate using a token. In order to generate a token use the **icingacli**: | ||
+ | ./ | ||
+ | In case you do not remember the token you can show it using the **icingacli**: | ||
+ | ./ | ||
+ | **Step 5: Web Setup** | ||
+ | |||
+ | Visit Icinga Web 2 in your browser and complete installation using the web setup: **/ |
unattended_installations/installing_up_icinga_web_2.txt · Última modificación: 2022/11/02 17:58 por 127.0.0.1