Herramientas de usuario

Herramientas del sitio


unattended_installations:installing_up_icinga_web_2

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
unattended_installations:installing_up_icinga_web_2 [2015/04/02 14:20] – [Installing Icinga Web 2 from Source] machounattended_installations:installing_up_icinga_web_2 [2022/11/02 17:58] (actual) – editor externo 127.0.0.1
Línea 18: Línea 18:
   mv icingaweb2 /usr/share/icingaweb2   mv icingaweb2 /usr/share/icingaweb2
 **Step 3: Configuring the Web Server** **Step 3: Configuring the Web Server**
-Use **icingacli**//Itálica// to generate web server configuration for either Apache or nginx. +Use //**icingacli**// to generate web server configuration for either Apache or nginx. 
-  mv icingaweb2 /usr/share/icingaweb2+  cd /usr/share/icingaweb2 
 +**Apache:** 
 +  ./bin/icingacli setup config webserver apache --document-root /usr/share/icingaweb2/public 
 +   
 +Save the output as new file in your webserver's configuration directory. 
 + 
 +**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's user to the system group **icingaweb2**: 
 +  usermod -a -G icingaweb2 www-data 
 +Use **icingacli** to create the configuration directory which defaults to **/etc/icingaweb2**: 
 +  ./bin/icingacli setup config directory 
 +   
 +When using the web setup you are required to authenticate using a token. In order to generate a token use the **icingacli**: 
 +  ./bin/icingacli setup token create 
 +In case you do not remember the token you can show it using the **icingacli**: 
 +  ./bin/icingacli setup token show 
 +**Step 5: Web Setup** 
 + 
 +Visit Icinga Web 2 in your browser and complete installation using the web setup: **/icingaweb2/setup**
unattended_installations/installing_up_icinga_web_2.1427984417.txt.gz · Última modificación: 2022/11/02 17:58 (editor externo)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki