Grundinstallation von Boo ************************** - syslog-ng (perm 644 für messages -> BB) - ssh - postfix - apcupsd root@boo:/# apt-get install rrdtool libfreetype6-dev libgd-tools librrds-perl gcc root@boo:/# apt-get install snmpd snmp root@boo:/# apt-get install make patch root@boo:/# apt-get install apache root@boo:/# apt-get install php4 root@boo:/# apt-get install ntp-simple root@boo:/# apt-get install fping root@boo:/# apt-get install dnsutils (dig,....) root@boo:/opt# apt-get install bzip2 root@boo:/opt# apt-get install g++ (für rrdtool-1.0.49-compilation) Installation BigBrother 1.9h ***************************** - BigBrother entpacken root@boo:/scratch/BigBother# cp bb-1.9h.tar.gz /opt/ root@boo:/opt# tar xzvf bb-1.9h.tar.gz root@boo:/opt# tar xvf BBSVR-bb1.9h-btf.tar - BigBrother - Group/User anlegen root@boo:/opt# groupadd -g 1984 bbgroup root@boo:/opt# useradd -u 1984 -g 1984 -d /opt/bb bbuser root@boo:/# mkdir -p /var/www/bb/cgi-bin -Symbolischer Link (bb) auf Stammordner root@boo:/opt# ln -s bb1.9h-btf bb root@boo:/# ln -s /opt/bb/www /var/www/bb/bb -Wechsle zum Install-Ordner und füre script aus root@boo:/opt# cd bb/install/ root@boo:/opt/bb/install# ./bbconfig debian ---> We'll configure for debian... What will be the user ID for BB [bb]: bbuser Use FQDN (y/n): [y] n What host will be the BBDISPLAY [boo]: bb.patschbo.ch What host will be the BBPAGER [bb.patschbo.ch]: Is this host a BBDISPLAY host (y/n): [y] Is this host a BBPAGER host (y/n): [y] Enter the default e-mail address to send notifications to: [root@boo] root@localhost Enter the base URL for BB [/bb]: Enter CGI directory [/home/www/httpd/cgi-bin]: /var/www/bb/bb/cgi-bin Enter the base URL of the CGI scripts [/cgi-bin]: Enter web server user id [nobody]: www-data Enter group name [www-data]: -------------------------------------------------------- --> Done. Now do chown -R bbuser /opt/bbvar /opt/bb su - bbuser to continue installation using that user ID Now compile Big Brother cd /opt/bb/src make make install -------------------------------------------------------- - Apache-Konfig anpassen root@boo:/# nano /etc/apache/vhosts/bigbrother.conf #----------------------------------------------------------------------- # BigBrother 1.9h, Monitoring Tool # ---------------------------------------------------------------------- ServerName bb.patschbo.ch ServerAdmin webmaster@patschbo.ch DocumentRoot /var/www/bb/bb AddHandler cgi-script .cgi .sh .pl Alias /cgi-bin /var/www/bb/cgi-bin Alias /bb /var/www/bb/bb ErrorLog /var/log/apache/bigbrother-error.log CustomLog /var/log/apache/bigbrother-access.log common -------------------------------------------------------------------------------------------------------------- ii zope 2.6.4-1.8 open source web application server ii zope-mysqlda 2.0.8-2 A Zope Database Adapter for MySQL ii zopectl 0.3.4.3 Zope instances controlling utility ii fping 2.4b2-to-ipv6-11 sends ICMP ECHO_REQUEST packets to network hosts ii mrtg 2.10.13-1.2 multi router traffic grapher ii mrtg-contrib 2.10.13-1.2 multi router traffic grapher (contributed files) ii mrtgutils 0.5 Utilities to generate statistics for mrtg