Slackware 11.0 - Installing MRTG ================================ Public domain ******************************************************************************** ### Libgd re-installation removepkg gd cd /usr/src wget http://www.libgd.org/releases/gd-2.0.35.tar.gz tar -zxf gd-2.0.35.tar.gz cd gd-2.0.35 ./configure --disable-shared make make install ldconfig ******************************************************************************** ### MRTG installation cd /usr/src wget http://oss.oetiker.ch/mrtg/pub/mrtg-2.15.2.tar.gz tar -zxf mrtg-2.15.2.tar.gz cd mrtg-2.15.2 ./configure make make install ******************************************************************************** ### MRTG configuration mkdir /var/www/htdocs/mrtg mkdir /usr/local/mrtg-2/etc /usr/local/mrtg-2/bin/cfgmaker public@127.0.0.1 > /usr/local/mrtg-2/etc/mrtg.cfg ******************************************************************************** ### /usr/local/mrtg-2/etc/mrtg.cfg . . WorkDir: /var/www/htdocs/mrtg Options[_]: bits . . ******************************************************************************** ### html index /usr/local/mrtg-2/bin/indexmaker /usr/local/mrtg-2/etc/mrtg.cfg > /var/www/htdocs/mrtg/index.html ******************************************************************************** ### crontab -e */5 * * * * /usr/local/mrtg-2/bin/mrtg /usr/local/mrtg-2/etc/mrtg.cfg &> /dev/null ******************************************************************************** _BY: Pejman Moghadam_ _TAG: mrtg_ _DATE: 2009-04-25 00:18:43_