For Debian / Ubuntu
Syarat :
-install webserver apache/lighttpd (terserah).
-processor: min p4, ram 1Gb
Some Command:
apt-get install python python-urlgrabber
wget hxxp://www.razametal.org/conf/videocache/python-iniparse_0.3.1-1_all.deb
dpkg -i python-iniparse_0.3.1-1_all.deb
wget hxxp://www.razametal.org/conf/videocache/videocache-1.9.2.tar.gz
tar xvf videocache-1.9.2.tar.gz
cd videocache-1.9.2
python setup-deb.py install
vim /etc/videocache.conf
cache_host = 172.17.10.1 < ganti dengan ip squid
proxy =http://172.17.10.1:3128/ <<< ganti dengan ip squid dan port squid anda
base_dir = /var/spool/videocache
save dan exit
cp videocache-httpd.conf /etc/httpd/conf.d/videocache.conf
cd /etc/squid/
wget hxxp://shakau.googlepages.com/videocache-squid.conf
vim squid.conf
tambahkan di baris paling bawah
include /etc/squid/videocache-squid.conf
cd /var/spool/squid
mkdir -p videocache/tmp videocache/youtube videocache/metacafe videocache/dailymotion videocache/google videocache/redtube videocache/xtube videocache/vimeo videocache/wrzuta videocache/youporn videocache/soapbox videocache/tube8 videocache/tvuol videocache/bliptv videocache/break
chown -R proxy:proxy videocache
chmod -R 755 videocache
mkdir -p /var/log/videocache
chmod -R 755 /var/log/videocache/
chown -R squid:squid /var/log/videocache/
restart servis apche/lighttpd nya
restart squid nya
test dengan browser buka youtube
cek di /var/log/videocache/videocache.log
jika video play tidak ada error sampe akhir berarti jalan
Thx to :Siber