I've got cygwin installed on a windows machine & I'm trying to run squid. But when I run /usr/sbin/squid -i
it does nothing, no response, no log files, nothing. I've tried searching for solutions but all I've found is one particularly hostile thread on the squid maling list. The doco just says to run with the -i
to install as a windows service
There's no need to run Squid in Cygwin; Guido Serassio maintains binary installers for Windows, invlufi. Try using one of those instead; it has the same exact interface as the Linux versions.
From this answer on superuser, I found that I first needed to run
/usr/sbin/squid -z
and then/usr/sbin/squid
. Log files appear at/var/log/squid/
after that.The references to acmeconsulting are no longer current. The commonly referenced page http://squid.acmeconsulting.it/index.html has Squid for Windows v2.7 which is sorely out of date from the current v3.1. On that page is a link for Squid for Windows v3.0. The information there is that due to issues with Bazaar, Squid for Windows is essentially a dead and outdated project. Further, there is no link for v3.x for Windows. Therefore, if you want anything more recent than 6 year old software on Windows, you need to either go for a Cygwin implementation, go virtual with a local VMware instance with *nix, or install on a low-cost cloud-based private server.
My approach: I'm looking into the Cygwin solution now. If that doesn't work, I will progress on to a manually installed VMware instance. If that doesn't work I may try a pre-installed VMWare appliance (DansGuardian?), but only if I can get a personal-use version for free. If that doesn't work, I'll accept that the internet is just slow and deal with it. ;)
Other suggestions for Squid on Windows are welcome, but please, let's start deprecating all of these references to the fine work done at acmeconsulting - it's simply not valid anymore.
HTH
There is a Squid MSI Installer at GitHub Squid Windows Installer. It is an open source project to ease installation of Squid on Windows. Currently it is based on Cygwin Squid 3.3.3; 3.5.1 version will be published soon.
Have a look at this link.
You may be interested at first in the
-d
option.You could also try to re-compile
squid
in cygwin (in setup.exe, install the development tools).Configure
/etc/resolv.conf
file . I found this problem with debug mode!