HeikoBornholdt / uberspace-icinga

Anleitung zum Betrieb von Icinga auf einem Uberspace
17 stars 4 forks source link

icingaweb #9

Closed jpawlowski closed 9 years ago

jpawlowski commented 10 years ago

Hi, hast du auch icingaweb zum Laufen gebracht? Komme da nicht so recht weiter... So sieht die Installation bisher aus:

rm -rf ~/wwwroot/icinga-web/ && rm -rf icinga-web-1.11.0 && tar xfz icinga-web-1.11.0.tar.gz && cd icinga-web-1.11.0 && \
./configure \
--prefix=/var/www/virtual/USERNAME/icinga-web \
--with-web-user=USERNAME \
--with-web-group=USERNAME \
--with-web-path=/monitoring \
--with-web-apache-path=/var/www/virtual/USERNAME/icinga-web/etc/apache2 \
--with-db-type=mysql \
--with-db-host=localhost \
--with-db-port=3306 \
--with-db-name=USERNAME_icingaweb \
--with-db-user=USERNAME \
--with-db-pass=PASSWORD \
--with-conf-dir=/var/www/virtual/USERNAME/icinga-web/etc/conf.d \
--with-log-dir=/var/www/virtual/USERNAME/icinga-web/log \
--with-bin-user=USERNAME \
--with-bin-group=USERNAME &&\
\
make install && make install-apache-config && make install-javascript && cd .. && killall php-cgi

ln -sf /var/www/virtual/USERNAME/icinga-web ~/html/monitoring
echo "drop database if exists USERNAME_icingaweb; create database USERNAME_icingaweb;" | mysql
mysql USERNAME_icingaweb < /var/www/virtual/USERNAME/icinga-web/etc/schema/mysql.sql

Gruß Julian

HeikoBornholdt commented 10 years ago

Hallo, mit icingaweb habe ich mich bisher nicht auseinandergesetzt, da ich mein Icinga-Installation bisher so klein wie möglich halten wollte.

Woran scheiterst du denn, bzw. welche Meldung kommt?