ติดตั้ง MRTG Centos

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

Write a comment