Install Squid Lusca - Using Storeurl.pl


Install Squid Lusca Using Storeurl.pl - itlampung.com - Installasi Squid Lusca yang cukup baik digunakan untuk kebutuhan warnet Game Online.
Patch Game PointBlank HIT 100% (Already Tested).



Operating System :
  • Debian Server 7.0 - 32bit
  • Partisi /root 100GB; /swap 100GB; /cache1 400GB; /cache2 400GB.
Spesifikasi Hardware :
  • Harddisk 1TB @1unit
  • RAM 4GB
  • Ethernet Gigabit @1unit
  • Processor Intel 4 Core

Berikut langkah yang harus dilakukan setelah installasi OS selesai.


1. Install paket pendukung.

echo "deb http://security.debian.org/ wheezy/updates main" > /etc/apt/sources.list; 
echo "deb-src http://security.debian.org/ wheezy/updates main" >> /etc/apt/sources.list; 
echo "deb http://ftp.debian.org/debian/ wheezy-updates main" >> /etc/apt/sources.list; 
echo "deb-src http://ftp.debian.org/debian/ wheezy-updates main" >> /etc/apt/sources.list; 
echo "deb http://kambing.ui.ac.id/debian/ wheezy main non-free contrib" >> /etc/apt/sources.list; 
echo "deb-src http://kambing.ui.ac.id/debian/ wheezy main non-free contrib" >> /etc/apt/sources.list; 
apt-get update; 
apt-get install -y sudo; gcc; build-essential; sharutils; ccze; libzip-dev; automake1.9 



2. Download, Exstrak Compile/Install  LUSCA_HEAD-r14809.tar.gz


Download Squid-LUSCA-HEAD-r14809.tar.gz
Download file-squid.conf
Download file-storeurl.pl

tar xzvf LUSCA_HEAD-r14809.tar.gz;cd LUSCA_HEAD-r14809;
./configure '--prefix=/usr/local/squid' '--enable-removal-policies=heap,lru' '--disable-dependency-tracking' '--disable-arp-acl' '--disable-cache-digests' '--enable-cachemgr-hostname=localhost' '--disable-delay-pools' '--enable-epoll' '--enable-external-acl-helpers=ip_user' '--disable-ident-lookups' '--enable-linux-netfilter' '--disable-referer-log' '--enable-removal-policies=heap,lru' '--disable-snmp' '--disable-ssl' '--enable-storeio=aufs,null,coss' '--disable-useragent-log' '--disable-wccpv2' '--with-aio' '--with-maxfd=1048576' '--with-dl' '--with-pthreads' 'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu' 'targe_alias=i686-redhat-linux-gnu''--enable-truncate' '--disable-unlinkd' '--with-large-files' '--disable-htcp'
make all
make install
mkdir /cache1;
chown proxy:proxy /cache1;
mkdir /var/log/squid;
chmod 777 /var/log/squid;
mkdir /etc/squid;
Copykan file storeurl.pl ke /etc/squid/ dan file squid.conf ke /usr/local/squid
chmod +x /etc/squid/storeurl.pl; 
Buat symbolic link squid.conf yang ada di /usr/local/squid ke /etc/squid
cd /etc/squid/
ln -s /usr/local/squid/etc/squid.con ./
Create diretory cache
/usr/local/squid/sbin/squid -z
Running Squid
/usr/local/squid/sbin/squid -d1    
echo "/usr/local/squid/sbin/squid -d1" >> /etc/rc.local 
Restart squid.
Done



Source :
http://aacable.wordpress.com/2012/01/19/youtube-caching-with-squid-2-7-using-storeurl-pl/
http://genwifi.webatu.com/index.php/77-redes/74-lusca-cache-youtube

Note :
Cek dan lakukan patch game PB.
tail -f /var/log/squid/access.log |grep HIT

Subscribe to receive free email updates:

0 Response to "Install Squid Lusca - Using Storeurl.pl"

Post a Comment

Tinggalkan jejak agan dihalaman komentar dibawah ini.. Jangan lupa :)

- ITLampung.Com