Squid is a caching proxy for the Web. Squid has variety of uses and advantages such as speeding up web browsing for end user, reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. It also can work as web filtering and can control the browsing traffic. In this post, i will share on how to install and configure Squid Proxy Cache on Windows.
1. Download Squid from below URL:
http://sourceforge.net/projects/squidwindowsmsi/
2. Extract Squid proxy package by double click the squid-2.7.2_i386.msi. By default everything will be extracted to C:\squid :
3. Creating Swap :
C:\squid\sbin>squid -z 2012/11/03 23:18:11| Creating Swap Directories
4. Install Squid as a Window Service :
C:\squid\sbin>squid -i Registry stored HKLM\SOFTWARE\GNU\Squid\2.6\Squid\ConfigFile value c:/squid/etc/ squid.conf Squid Cache version 2.6.STABLE23 for i686-pc-winnt installed successfully as Squid Windows System Service. To run, start it from the Services Applet of Control Panel. Don't forget to edit squid.conf before starting it.
4. Start Squid :
C:\>net start squid The Squid service is starting. The Squid service was started successfully
Alternatively, you can start the squid service from service.msc as below screen captured :
Start >> Run >> services.msc
5. Configure your proxy browser 127.0.0.1 port 3128 if you run from the same workstation with squid proxy.
c:\squid\sbin>squid -i
CreateService failed
how can i fix it?
thank!
Run your CMD as admin
thanks! i tried manually to install squid as proxy, but keeps on failing to start. didnt know theres a built-in function.
Hello Phill,
I configured squid proxy on windows machine, but the cached object is not storing the created cached directories(C:\Squid\var\cache\squid). Can you provide me some pointer to store the objects in squid cache directories.
Any help is appreciated.
Thanks in advance
Thanks
PMR.
in my case when I am going to configure…in command line C:squid\sbin> squid -i it returned an error openSCManager failed..
Help I keep getting this message
xrename: Cannot rename c:/squid/var/cache/swap.state.new to c:/squid/var/cache/swap.state: (17) File exists
FATAL: storeUfsDirCloseTmpSwapLog: rename failed
Squid Cache (Version 2.7.STABLE8): Terminated abnormally.
any help thanks.
same problem, squid not store cache in default path
I alrady instal squid 2.7 server 2008.my hard driv 2tb But my cache 25.1gb, cache did not incrisse how it solve. My system memory 8gb