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 ---
# 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 ---