Sample Header Ad - 728x90

missing documentation icinga2 installation on gentoo

0 votes
1 answer
239 views
I need install mariadb, apache2, php, icinga2 and icingaweb2 on gentoo. According to the documentation, I managed to install mariadb, apache2, (probably) php and icinga2 At the moment (according to the log) icinga2 runs without errors. However, I cannot configure icingaweb2 correctly. Is there any documenetation/tutorial how to configure icingaweb2 in gentoo? At this moment, I just need to get a basic HTTP setup without LDAP, just on port 80. (I will play with ssl security and domain later...) It is not clear from this documentation where I make a mistake https://icinga.com/docs/icingaweb2/latest/doc/02-Installation/ https://icinga.com/docs/icinga2/latest/doc/02-installation/ https://www.cs.uni-potsdam.de/~pveber/apache.html Currently only http://localhost responds (default apache message "It Works!") On http://localhost/icingaweb2, http://icingaweb2/icingacli , http://icingaweb2/setup etc... nothing I don't know where must be placed icingaweb2 document root directory, if in /var/www/ or in /usr/share/icingaweb2/public/ In my /etc/apache2/vhosts.d/00_default_vhost.conf is: ##mmtest Options SymLinksIfOwnerMatch AllowOverride None DirectoryIndex index.php # Apache 2.4 Require all granted # Apache 2.2 Order allow,deny Allow from all SetEnv ICINGAWEB_CONFIGDIR "/etc/icingaweb2" EnableSendfile Off RewriteEngine on RewriteBase /icingaweb2/ RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] DirectoryIndex error_norewrite.html ErrorDocument 404 /icingaweb2/error_norewrite.html # Remove comments if you want to use PHP FPM and your Apache version # is greater than or equal to 2.4 # = 2.4> # # Forward PHP requests to FPM # SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 # # SetHandler "proxy:fcgi://127.0.0.1:9000" # ErrorDocument 503 {urlPath}/error_unavailable.html # #
Asked by exo (141 rep)
Sep 30, 2019, 01:00 PM
Last activity: Oct 1, 2019, 10:17 AM