Tuesday 6 May 2014

pfsense 2.0.3 with lusca youtube cache

1.install pfsense 2.0.3 (x86)version in a clean installation.
2.install lusca using
fetch http://pfsense-cacheboy.googlecode.com/svn/trunk/script/package.sh && chmod +x package.sh && ./package.sh
3.replace your old include conf  and storeurl.pl (make sure that lusca service is not running)
(location /usr/local/etc/squid)
4.using wincp create cobaReadBack.pl in root. and copy paste with this content  cobaReadBack.pl
5.remove older perl version using this command
rm -rf /var/db/pkg/perl-5.10.1
or
remove all perl folders from /var/db/pkg/
6.run this on ur pfsense command prompt (please take note that this will take time to process do not close/stop the process wait untill it finished)
pkg_add -r -f -v ftp://mirror.xmission.com/freebsd/ports/i386/packages-8-stable/perl5/p5-File-ReadBackwards-1.05.tbz
7.restart pfsense
8.reconfigure lusca to your preferences
9. finally restart again.

har disk cache system = coss+aufs *coss Hard disk cache size = 50 (default) *hard disk cache size = 250000mb (if your using 300gb hdd) *object size = 4 (default) *memory cache size = 8 (default) *max memory object size = 4(default) *minimum object size = 0 (default) *maximum object size = 1024mb (1gb nilagay ko why? Objects larger than the size specified (in megabytes) will not be saved on disk cache. *Level 1 subdirectories = 16 *Low-water-mark in % = 98 *High-water-mark in % = 99 *other settings leave as default*

2 comments:

  1. Hello. this is not working as of july. could you please update. thank you so much for this great tutorial

    ReplyDelete