$Id: footer.inc,v 1.37 2013/05/09 06:37:55 squidadm Exp $Design by Free CSS Templates.Template customisation by Alex Dawson and Adrian Chadd.Icons from Silk collection by Mark James of famfamfam.comAll web content licensed under Creative Commons Attribution Sharealike 2.5 License
The latest stable version of Squid available at the time of publication was 2.7 stable 5. You can download it from the official Squid website. Once you have downloaded Squid, unpack the ZIP file to the c:\squid folder. You may want to choose a different folder for Squid, but bear in mind that this will require you to update paths throughout the Squid configuration file. The following instructions assume that you have unpacked Squid to c:\squid.
Download Squid 2.7 Windows Xp
This is something I setup recently and was quite a big pain. My environment was getting squid to authenticate a Windows 7 client against a Windows 2008 Server invisibly. NTLM is not really an option, as using it requires a registry change on each client.
Instead of editing /etc/init.d/squid to set the KRB5_KTNAME environment variable you should just put the lines in /etc/sysconfig/squid. Since the init script sources /etc/sysconfig/squid on every execution it will pick up those 2 lines.
PaperCut Internet Charging and Quotas requires a proxy server to manage Internet connectivity and log internet usage by your users. Squid is one of the best known proxy servers, and typically is run on a Linux/Unix machine, however in some environments a proxy needs to be run on a Windows machine. Fortunately Squid is available for Windows, and is available for download as the SquidNT package.
Now from test pc, open youtube and play any video, after it download completely, delete the browser cache, and play the same video again, This time it will be served from the cache. You can verify it by monitoring your WAN link utilization while playing the cached file.
thanks for new YT cachebut in squid.conf there is no ZPH directives to mark cache content, so that it can later pick by Mikrotik.Did you find the solution ???Did Nginx method cache Windows Update , AntiVirus Update and (Google,MSN,CNN,Metacafe,etc) Videos ???
This method is just an example for caching youtube videos. You can integrate it to cache other dynamic content also along with squid I will do some more testing and will post the updates whenever I will get time. The problem is I have a job related to Microsoft environment and I only get 1 free day in 10-15 days to do my personnel testing, so its hard to manage time for R&D.?
hello sir `nice working but only 1.7 mb yt file cache why not combine ur previous storeurl.pl script and that new also thanks for ur lusa dynamic youtube cache for squid thanks a lot please finish ur project why we are looking for use our also project u r great
hello syed.please can you tell me why when i change cache_dir pointed to another hdd the squid stop workingi mounted it and sqiud make swap but after that squid not work and it sayingroot@CACHE:# /etc/init.d/squid3 restart * Restarting Squid HTTP Proxy 3.x squid3 [ OK ]
salam,this is rehmat ali gulwating have a request that i follow these steps but squid cant start error is 2012/08/16 01:32:09 WARNING: url_rewriter #5 (FD 10) exited2012/08/16 01:32:09 WARNING: url_rewriter #4 (FD 9) exited2012/08/16 01:32:09 WARNING: url_rewriter #3 (FD 8) exited2012/08/16 01:32:09 Too few url_rewriter processes are running)
one more thing i have to inform you that i m using lusca/squid with nginx on centos and what is user www-data; in nginx.conf becoz i have no user created, except root.i changed www-data; into user squid;still same issue please resolved this as soon as possible.thanking you,
salamfinally i found some errors when starting squid on centos with nginx method seems that ruby cant access by squid i tried and change permission of /usr/bin/env but nothing happend plzzz check access.log and correct my conf.thx
Squid Cache (Version LUSCA_HEAD-r14809): Terminated abnormally.CPU Usage: 0.041 seconds = 0.020 user + 0.021 sysMaximum Resident Size: 21360 KBPage faults with physical i/o: 0Memory usage for squid via mallinfo():total space in arena: 2412 KBOrdinary blocks: 2352 KB 6 blksSmall blocks: 0 KB 0 blksHolding blocks: 65208 KB 3 blksFree Small blocks: 0 KBFree Ordinary blocks: 59 KBTotal in use: 67560 KB 100%Total free: 59 KB 0%
when starting squid i have error look like ruby has some permission problem i tried to change permission of /usr/bin/env to squid, nginx, Apache but still same issue please resolve this or guide me to resolve this i m using centos with lusca. thxzzzzzz 4 ur reply,
You have to configure your proxy in transparent mode, also by using iptables , you can automatically redirect user request to squid port 8080.Use the guide. -transparent-squid-proxy-server-guide/ -add-squid-proxy-server-with-mikrotik-short-reference-guide/
salam,rehmat here jahanzaib sir please post a script for youtube caching squid with nginx for centos becoz i tried ur ubuntu script and it cant start squid giving me error2012/08/31 16:28:17 WARNING: url_rewriter #1 (FD 7) exited2012/08/31 16:28:17 WARNING: url_rewriter #3 (FD 9) exited2012/08/31 16:28:17 WARNING: url_rewriter #2 (FD 8) exited2012/08/31 16:28:17 Too few url_rewriter processes are running2012/08/31 16:28:17 ALERT: setgid: (1) Operation not permittedFATAL: The url_rewriter helpers are crashing too rapidly,
dear janzaibi have to inform u that i have storeurl.pl patren to cache youtube and it only cache 51 sec of video segment but after adding ( set quick_abort_min = 1MB ) and ( set the range_offset_limit = 10 MB ) when i download any video of youtube once with idm and re-download from other pc with idm it provide full video from cache so i think storeurl.pl script had some thing missing to provide full video cache in flash player. if i m wrong then please correct me. thanks
i did yout tutorial and i have squid box caching every files extensions and now i add your codesthe video play normal but not cached because it still getting the video from youtube not from my cachebut look here please
I will not recommend you to do IDM caching I am sure you are using range_offset_limit dircetive in squid, if YES, then stop using it, it can give you negative impact regarding un necessary WAN link utilization.Look at -dont-cache-idm-downloads/
# The log location is now /var/log/squid3-cache_access_log /var/log/squid/access.log-cache_log /var/log/squid/cache.log-cache_store_log /var/log/squid/store.log+cache_access_log /var/log/squid3/access.log+cache_log /var/log/squid3/cache.log+cache_store_log /var/log/squid3/store.log
I have not faced such issue, I implemented nginx base youtube caching method at a friends network and since long its working great for caching youtube videos near perfect. Also it stops downloading the video if the user stop or abort the video. as youtube have changed there method of delivering videos in chunks (1.7Mb each) so its become easier and manageable for cache admins)There must be some squid configuration mistake.
Dear Jahanzaid,I use squid with tproxy (divert) feature and YT does not show video. If I do mangle -F (clear tproxy settings), it works fine. If I use port 3128 from a browser it works fine, too. If I use tproxy everything works but there is no video. Please help.
Actually there is no builtin method to clean the files stored in nginx. But you can create a script that can check for files that have not been access from last xx days and delete them accordingly and schedule this script to run daily at night. I used this method in windows to remove our SAP Logs that are older then 10 days to save space. in linux, its much easier and customizable to do this.
sir, thanks for the squid configuration everything work fine and also the you tube caching but when i enable the nginex then the cache will consume all the bandwidth the the net will be down so i need to stop it agian.what i can do?
sir, thanks for the squid configuration everything work fine and also the you tube caching but when i enable the nginex then the cache will consume all the bandwidth the the net will be down so i need to stop it agian.what i can do?
Syed, i use the nginx with the squid and i follow all the steps and it caching everythings fine with the youtube, but my nginx squid server take all the bandwidth then i need to stop the nginx, sir is there a command put it that when i closed the youtube then the session will closed because it is a big problem please help me.
Asslam i install ubuntu 10.04 on my 3TB hard disk and i dont do any partition , where is the setting on squid.conf or storeurl to make my cache data store longger on my 3TB hard disk although 1 youtube video not watch for more than 4 -8 month, because i do squid cache server for more than 50 user on my office, so i want my cache use fully my 3TB hard disk then after more than 95% cache are full it will automaticly delete the old cache
gotroot# ps ax grep squid 8431 ?? Is 0:00.00 /usr/sbin/squid -D 8433 ?? I 0:08.73 (squid) -D (squid) 8540 ?? Is 0:00.06 (ruby) /usr/local/etc/squid/nginx.rb (ruby) 8541 ?? Is 0:00.04 (ruby) /usr/local/etc/squid/nginx.rb (ruby) 8542 ?? Is 0:00.05 (ruby) /usr/local/etc/squid/nginx.rb (ruby) 8543 ?? Is 0:00.05 (ruby) /usr/local/etc/squid/nginx.rb (ruby) 8544 ?? Is 0:00.07 (ruby) /usr/local/etc/squid/nginx.rb (ruby) 8545 ?? Is 0:00.04 /usr/bin/perl /usr/local/etc/squid/lala.pl (perl5.12. 8546 ?? Is 0:00.02 /usr/bin/perl /usr/local/etc/squid/lala.pl (perl5.12. 8547 ?? Is 0:00.03 /usr/bin/perl /usr/local/etc/squid/lala.pl (perl5.12. 8548 ?? Is 0:00.03 /usr/bin/perl /usr/local/etc/squid/lala.pl (perl5.12. 8549 ?? Is 0:00.04 /usr/bin/perl /usr/local/etc/squid/lala.pl (perl5.12. 8550 ?? Is 0:00.03 /usr/bin/perl /usr/local/etc/squid/lala.pl (perl5.12. 8551 ?? Is 0:00.02 /usr/bin/perl /usr/local/etc/squid/lala.pl (perl5.12. 8537 1 I+ 0:00.00 tail -f /var/log/squid/cache.log 2ff7e9595c
Comments