# Move to your download folder.
cd /root/downloads
rpm -e mrtg
wget http://www.dedicated-resources.com/files/mrtg-2.9.17-1cpanel.i386.rpm
Installing the app
rpm -Uvh mrtg-2.9.17-1cpanel.i386.rpm
Moving libpng
cd /usr/lib
mv libpng.so.2 libpng.so.2.OLD
# Creating the symlink
ln -s libpng.so.3 libpng.so.2
# Edit language at and specify only “en_US”
pico /etc/sysconfig/i18n
# Restarting MRTG
service mrtg restart
# Configurating MRTG to allow only our local IP to see the reports at
http://IP/mrtg
vi /usr/local/apache/conf/httpd.conf
#Search for the line (CTRL+W):
# It should look like this:
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
#After the last line () paste this and change allowed IPs:
order deny,allow
allow from [ SERVER IP ]
allow from [YOUR LOCAL IP]
deny from all
# Restarting httpd
service httpd restart
chkconfig –level 0123456 mrtg on
# Edit file:
pico /etc/mrtg/check-email
# Change to “*-H” “* -H”.
————————————————————————–

Recent Comments