Fungsi : Untuk mengcopy/grab/capture hasil download video content Klien yg tersimpan di mesin Proxy agar bisa kita download ke komputer lokal lebih mudah. file name video conten sudah berformat flv, 3gp, avi, dll tergantung jenis konten video nya.
prasarat :
install webserver apache/lighttpd (terserah).
processor: min p4, ram 1Gb
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 = 192.168.4.2 < ganti dengan ip squid
proxy =http://192.168.4.2: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 proxyroxy 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
Review:
dari Uji coba yang sy terapkan konten Video baru bisa di lakukan pada website youtube, Youpo*, dailimotion, a*finder,
Selamat Mencoba
Sumber : http://forummikrotik.com
tanks to bang siber