HOT
Adri Blog
No Result
View All Result
Adri Blog
No Result
View All Result
Home Linux

Squid Proxy Server Youtube Cache

adri by adri
September 28, 2012
in Linux
382 20
0
553
SHARES
2.5k
VIEWS
Share di FacebookShare di TwitterShare di Whatsapp

  • # apt-get update
  • # apt-get install squid squidclient squid-cgi
  • # apt-get install gcc
  • # apt-get install build-essential
  • # apt-get install sharutils
  • # apt-get install ccze
  • # apt-get install libzip-dev
  • # apt-get install automake1.9
  • # apt-get install acpid
  • # apt-get install unzip
  • # cd /tmp
  • # wget -c http://indoit.googlecode.com/files/LUSCA_HEAD-r14809.tar.gz
  • # tar -xvzf LUSCA_HEAD-r14809.tar.gz
  • # cd LUSCA_HEAD-r14809

Patch Lusca Squid Anda

  • # wget -c http://indoit.googlecode.com/files/LUSCA_HEAD-r14809-YOUTUBE.PACTH.tar.gz
  • # tar -xvzf LUSCA_HEAD-r14809-YOUTUBE.PACTH.tar.gz
  • # patch -p0 < 3xx-loop.diff
  • # patch -p0 < async-issue.diff
  • # patch -p0 < http-gzip.diff
  • # patch -p0 < ignore-must-revalidate.diff
  • # patch -p0 < improve-nn-parser.diff
  • # patch -p0 < lusca-vary.diff

# patch -p0 < segmentation-fault.diff

./configure –prefix=/usr –exec_prefix=/usr –bindir=/usr/sbin –sbindir=/usr/sbin –libexecdir=/usr/lib/squid –sysconfdir=/etc/squid –localstatedir=/var/spool/squid –datadir=/usr/share/squid –enable-async-io=24 –with-aufs-threads=24 –with-pthreads –enable-storeio=aufs –enable-linux-netfilter –enable-arp-acl –enable-epoll –enable-removal-policies=heap –with-aio –with-dl –enable-snmp –enable-delay-pools –enable-htcp –enable-cache-digests –disable-unlinkd –enable-large-cache-files –with-large-files –enable-err-languages=English –enable-default-err-language=English –with-maxfd=65536

  • # make
  • # make install
  • # cd /etc/init.d/
  • # mv /etc/init.d/squid /etc/init.d/squid.backup
  • # wget -c http://indoit.googlecode.com/files/squid.init.ubuntu
  • # mv /etc/init.d/squid.init.ubuntu /etc/init.d/squid
  • # sudo chmod +x /etc/init.d/squid
  • # /etc/init.d/squid stop
  • # mkdir -p /usr/local/share/squid
  • # chmod 777 /usr/local/share/squid
  • # cd /usr/local/share/squid
  • # wget -c http://indoit.googlecode.com/files/indoit-youtube-supercache.tar.gz
  • # tar -xvzf indoit-youtube-supercache.tar.gz
  • # chown proxy:proxy /cache1
  • # chown proxy:proxy /cache2
  • # chmod 777 /cache1
  • # chmod 777 /cache2
  • # chown proxy:proxy /usr/local/share/squid/supercache.conf
  • # chmod 777 /usr/local/share/squid/supercache.conf
  • # chown proxy:proxy /usr/local/share/squid/supercache.pl
  • # chmod 777 /usr/local/share/squid/supercache.pl
  • # chmod +x /usr/local/share/squid/supercache.pl
  • # cd /etc/squid/
  • # mv squid.conf squid.conf.backup
  • # wget -c http://indoit.googlecode.com/files/squid.conf.youtube-supercache.zip
  • # unzip squid.conf.youtube-supercache.zip
  • # cp squid.conf.youtube-supercache squid.conf
  • # squid -f /etc/squid/squid.conf -z
  • # sudo /etc/init.d/squid restart
  • # squid -NDd1
  • # tail -f /var/log/squid/access.log | ccze
  • # reboot

SOURCE

Baca Juga :   Cara mendapatkan hosting gratis dan Unlimited Seumur Hidup [Update 2019]
adri

adri

Perkenalkan, Saya Biasa di Sapa ADRI, Sehari2 Saya Berkuli di Komputer dengan Akses Internet 24 Jam Sehari Semalam (Tapi Tidak Selalu Online 24 Jam).

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tulisan Populer

  • Design
  • Internet
  • Download
  • Lainnya
  • Linux
  • Review
  • Wordpress
Download Kalender 2020
Design

Download Kalender 2020 Indonesia Lengkap Dengan Hari Libur Nasional

1 year ago
4.8k
Kode Imei Oppo R1001
Internet

Cara Mengembalikan Invalid IMEI Oppo R1001

4 years ago
4.3k
Install ArcGIS 9.3
Lainnya

Cara Mudah Install ArcGIS 9.3 Full Version

11 years ago
2.9k
Lainnya

3 Cara Uninstal Netcut dari System Operasi Windows

2 years ago
2.8k
Cara Memasak Bubur Singkong yang lumer dan enak
Lainnya

Cara Memasak Bubur Singkong

10 months ago
2.7k

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Follow Us

Recent News

rental mobil pekanbaru

7 Armada Rental Mobil Pekanbaru Terbaik dan Termurah

December 28, 2020
Wow, Review Samsung Galaxy F41, Paket Yang lengkap

Spesifikasi Samsung Galaxy F41

November 23, 2020

Categories

  • Design
  • Download
  • Internet
  • Lainnya
  • Linux
  • Review
  • Wordpress
  • About
  • Contact
  • Disclaimer
  • Privacy Policy
  • SiteMap
  • TOS

© 2020 Personal Blog - adriyanto by AdriBlog.

No Result
View All Result
  • Home
  • Design
  • Internet
  • Download
  • Lainnya
  • Linux
  • Review
  • WordPress

© 2020 Personal Blog - adriyanto by AdriBlog.

Welcome Back!

OR

Login to your account below

Forgotten Password?

Create New Account!

OR

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In