Squid Proxy Server Youtube Cache
# 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
# tar -xvzf LUSCA_HEAD-r14809.tar.gz
# cd LUSCA_HEAD-r14809
# 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
# 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
# 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/tunning.conf
# chmod 777 /usr/local/share/squid/tunning.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
# 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
FINISH
FINISH
To upgrade from Ubuntu 10.10 on a server system : sudo do-release-upgrade / sudo do-release-upgrade -d
ip firewall nat add action=dst-nat chain=dstnat comment=”ke proxy” src-address=!192.168.11.0/24 disabled=no dst-port=80 protocol=tcp to-addresses=192.168.11.11 to-ports=3128
Sumber: http://www.indoit.web.id/
Sumber: http://www.indoit.web.id/
3 comments:
unzip squid.conf.youtube-supercache.zip
password zip nya apaan bang ?
mohon dibantu,udah nanggung ngikutin tutorialnya bang
terimakasih
these or AJ 28SE's for $10 a lot more...you guys
need to acquire some screws tightened. LOL
Also visit my web blog :: nike air max 2013
terima kasih telah berbagi Mas, senang sekali rasanya membaca tulisan2 di blog ini, jadi tambah wawasan.. semoga selalu di beri kesehatan dan sukses selalu..
Tempat Kursus Desain Grafis Favorit 2015 di
jakarta
Post a Comment