Please Wait, Loading...

Tuesday 3 July 2012

Instalasi SARG (Squid Analysis Report Generator) di Centos 6

Berikut adalah cara menginstall sarg di centos 6 :
# yum clean all
# yum install httpd  { install apache atau web service }
# chkconfig --levels 235 httpd on {menset agar aplikasi on saat booting}
# yum install gcc make wget httpd {instalasi kompiler c}
{setting proxy, optional}
# export ftp_proxy="http://xxx.xxx.xxx.xxx"
# export http_proxy="http://xxx.xxx.xxx.xxx"
# wget http://sourceforge.net/projects/sarg/files/sarg/sarg-2.3.1/sarg-2.3.1.tar.gz/download {donlot file}
# tar zxvf sarg-2.3.1.tar.gz {extrak file}
# cd sarg-2.3.1
# ./configure
# make
# make install
# vi /usr/local/etc/sarg.conf {konfigurasi sarg}
   access_log /var/log/squid/access.log
   title "Laporan Proxy Ruang Development"
   output_dir /var/www/html/squid-reports
   date_format e
   overwrite_report  yes
 
# sarg -x {test sarg}

--- Demikian semoga bermanfaat ---

Posted By adminblog16:36