ติดตั้ง MRTG Centos
By สุเมธ ชวนชอบ - Last updated: วันเสาร์, มิถุนายน 25, 2011 - Save & Share - Leave a Comment
- # yum install httpd
- #service httpd start
- #chkconfig httpd on
- # yum install mrtg
- # echo “export LANG=en_US” >> /etc/rc.local
- # cfgmaker -global “options[_]:bits,growright” –global “workdir:/var/www/html” public@localhost /etc/mrtg/mrtg.cfg
- # /usr/bin/mrtg /etc/mrtg/mrtg.cfg
- # indexmaker –columns=1 –sort=title –output=/var/www/html/index.html /etc/mrtg/mrtg.cfg
- # crontab -e
- * * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg
- ….จบ….
Posted in คนชอบลืม! • • Top Of Page