เริ่มกันเลย
ssh เข้าระบบในฐานะ root
เข้าไปที่
cd /usr/src/โหลดไฟล์ช่วยในการติดตั้งโปรแกรมประกอบต่างๆ
wget http://gnutoolbox.com/download/linux/network/scripts/install.mrtg.sh
chmod +x install.mrtg.sh
./install.mrtg.shนั่งรอไม่ถึง สองนาทีในอยู่กับความเร็วเน็ตที่ใช้ ก็ได้ผล
Update complete!
Adding MRTG to /etc/crontab...
Executing MRTG for the first time (you may see some warnings)...
./install.mrtg.sh: line 65: /usr/local/mrtg-2/bin/mrtg: No such file or directory
If you see warnings above, it is generally safe to ignore.
Cleaning up installation...
Installation of MRTG complete!
เท่านี้ก็เสร็จแล้ว
ไฟล์แสดงผลจะถูกเก็บไว้ที่
/var/www/html/mrtg
สั่งสร้างรายงาน
indexmaker --columns=2 --output=/var/www/html/mrtg/index.html /etc/mrtg.cfg
เข้าดูด้วย http://IP/mrtg