How to install MRTG on DirectAdmin
This will guide you to install MRTG bandwidth report tool on your DirectAdmin control panels fully automated! Please follow the guide step by step to avoid misconfigurations. Tested on Redhat 9, FC 2 and 3, centOS 3, 4 and 5..
The installer script will check if there are any installed MRTG before in folder /var/www/html/mrtg. If you have installed MRTG before, make sure you have removed it and it's crontab entry to make the script work correctly!
- You will need root access.
- wget http://serveio.com/da/install.mrtg.sh
- chmod +x install.mrtg.sh
- ./install.mrtg.sh
And it's installed. That's just easy as 1-2-3..
When it's completed, MRTG will be installed in /var/www/html/mrtg and can be viewed at http://yourhostname/mrtg.
To uninstall the copy installed by using this script;
- Edit /etc/crontab and remove the following line
*/5 * * * * root /usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/core/mrtg.cfg
- rm -rf /usr/local/mrtg-2/
- rm -rf /var/www/html/mrtg/
That's all.
Friday, September 5, 2008
How to install MRTG on DirectAdmin
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment