:Install
rpm -Uvh nginx-1.2.6-1.el6.ngx.i386.rpm
:Create directories to hold cache files
mkdir /usr/local/www
mkdir /usr/local/www/nginx_cache
mkdir /usr/local/www/nginx_cache/tmp
mkdir /usr/local/www/nginx_cache/files
chown apache /usr/local/www/nginx_cache/files/ -Rf
:create cache dir
mkdir /cache1
chown squid:squid /cache1
chmod -R 777 /cache1
:Start dir
squid -z
:Start squid
service squid start
:Restart Nginx
service nginx restart
:Chek cached videos
ls -lh /usr/local/www/nginx_cache/files
:chek cache hit
tail -f /var/log/squid/access.log | grep HIT
: Check Hit
squidclient -p 3128 mgr:info |grep Hit
:squid debag
squid -NCd10
Rabu, 23 Januari 2013
Lusca on ClearOS 6.3
rpm -i squid-LUSCA_HEAD_r14941-1_el5.i686.rpm
or
Link Download File
https://www.dropbox.com/sh/yrv8l1g0ei3ij6a/GJXCbAG8EQ
https://code.google.com/p/ghebhes-low-battery/downloads/list
All of Lusca/Squid configuration files can be found at
/etc/squid/
and squid executable can be found at
/usr/local/squid/sbin/
mkdir /cache1
chown squid:squid /cache1
chmod -R 777 /cache1
Now initialize cache dir by
squid -z
chmod +x /etc/squid/storeurl.pl
squid -k parse
squid -k reco
TIP:
To start SQUID Server in Debug mode, to check any erros, use
squid -d1
squid -NCd10
service squid start/stop/restart
:check cache hit
tail -f /var/log/squid/access.log | grep HIT
:Check Hit
squidclient -p 3128 mgr:info |grep Hit
:Install CCZE untuk Warna Tampilan
rpm -Uvh http://apa-kata-dunia.googlecode.com/files/ccze-0.2.1-6.el5.i386.rpm
# tail -f /var/log/squid/access.log | ccze
or
rpm -i squid-LUSCA_HEAD_r14941.clearos.i686.rpm
Link Download File
https://www.dropbox.com/sh/yrv8l1g0ei3ij6a/GJXCbAG8EQ
https://code.google.com/p/ghebhes-low-battery/downloads/list
All of Lusca/Squid configuration files can be found at
/etc/squid/
and squid executable can be found at
/usr/local/squid/sbin/
mkdir /cache1
chown squid:squid /cache1
chmod -R 777 /cache1
Now initialize cache dir by
squid -z
chmod +x /etc/squid/storeurl.pl
squid -k parse
squid -k reco
TIP:
To start SQUID Server in Debug mode, to check any erros, use
squid -d1
squid -NCd10
service squid start/stop/restart
:check cache hit
tail -f /var/log/squid/access.log | grep HIT
:Check Hit
squidclient -p 3128 mgr:info |grep Hit
:Install CCZE untuk Warna Tampilan
rpm -Uvh http://apa-kata-dunia.googlecode.com/files/ccze-0.2.1-6.el5.i386.rpm
# tail -f /var/log/squid/access.log | ccze
Jumat, 11 Januari 2013
Link Squid Performance
SQUID AND CACHE
http://aacable.wordpress.com/tag/aacable-howto-cache-youtube/
http://aacable.wordpress.com/2012/08/13/youtube-caching-with-squid-nginx/
Howto Cache Youtube with SQUID / LUSCA and bypass Cached Videos from Mikrotik Queue
Youtube caching with SQUID 2.7 [using storeurl.pl]
http://aacable.wordpress.com/2012/01/19/youtube-caching-with-squid-2-7-using-storeurl-pl/http://aacable.wordpress.com/tag/aacable-howto-cache-youtube/
Linux Transparent Squid Proxy Server Guide
http://aacable.wordpress.com/2011/08/08/linux-transparent-squid-proxy-server-guide/Howto add SQUID Proxy Server with MIKROTIK [Short Reference Guide]
http://aacable.wordpress.com/2011/12/30/howto-add-squid-proxy-server-with-mikrotik-short-reference-guide/Youtube caching with Squid + Nginx
http://www.nginx.com/support.htmlhttp://aacable.wordpress.com/2012/08/13/youtube-caching-with-squid-nginx/
Mikrotik Hotspot Quick Setup Guide + Tips n Tricks for Hotspot !
http://aacable.wordpress.com/2011/09/12/mikrotik-hotspot-quick-setup-guide-cli-version/
Langganan:
Postingan (Atom)