Install The Package
apt-get install libgd-gd2-perl -y

Download The File
cd /tmp
wget http://nchc.dl.sourceforge.net/project/squid-graph/squid-graph/3.2/squid-graph-3.2.tar.gz
 KLIK iklan dibawah untuk langganan Materi Jaringan di web ini !!

Extract and Copied to Directory of init.d
tar xzvf squid-graph-3.2.tar.gz -C /etc/init.d/

Change Mode
chmod +x /etc/init.d/squid-graph/*

cd /var/www
mkdir squid-graph
cd /etc/init.d/squid-graph
./squid-graph --tcp-only -n -o=/var/www/squid-graph/ --title="proxy" < /var/log/squid/access.log

Make a Scheduler
crontab -e 

And Added The Rules Like This One
1 * * * * /etc/init.d/squid-graph/squid-graph --tcp-only -n -o=/var/www/squid-graph/

Finally
You Can Open on Your URL Browser with http://IP-Proxy/squid-graph

Post a Comment

Author Name

Formulir Kontak

Name

Email *

Message *

Powered by Blogger.