Installing MTRG on Directadmin servers is a pretty easy job. All you have to do it to run a shell script which will automate the installation process. Here we go..
SSH the server as root..
cd /usr/src/
wget http://gnutoolbox.com/download/linux/network/scripts/install.mrtg.sh
chmod +x install.mrtg.sh
./install.mrtg.sh When the process is done MRTG will be installed in: /var/www/html/mrtg and can be viewed at: http://your.hostname.com/mrtg
The script supports the following os.
RedHat 9 Fedora Core 3 Fedora Core 2 Debian 3.0 CentOS 3.4 CentOS 4.0 Uninstall Instructions For those of you that want to uninstall MRTG (assuming you used this installer), please follow these steps:
- Open /etc/crontab and remove the line that reads: */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/