How to Install and Configure Squid Proxy Cache on Windows

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 :
squid

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

squid

5. Configure your proxy browser 127.0.0.1 port 3128 if you run from the same workstation with squid proxy.

8 thoughts on “How to Install and Configure Squid Proxy Cache on Windows”

  1. 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.

    Reply
  2. 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.

    Reply
  3. 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

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.