Author Topic: Squid server - with or without SSD - can provide HOWTO  (Read 7491 times)

Offline kingneutron

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +10/-0
    • View Profile
Squid server - with or without SSD - can provide HOWTO
« on: March 10, 2013, 08:31:06 am »
--I have a working Linaro-based Cubieboard that is now acting as my main Squid proxy.  If anyone wants help with setting up their Cubieboard to be a Squid server, let me know  8)

More info:

http://en.wikipedia.org/wiki/Squid_%28software%29

http://www.squid-cache.org/

Features:

o Squid can also block pr0n / advertising sites based on URL keywords, and can cache (almost) everything downloaded, replacing large Browser caches with a single server-based cache.  You can set all your browsers to have 8MB of disk cache or less; for example, if 1 Squid user downloads the Yahoo home page, user 2 (and others) will get the same Yahoo page loaded quicker from the Squid cache. 

o By re-serving cached content, Squid can lower your overall Internet bandwidth usage.  And by running squid on your Cubieboard, you can save on your electricity bill.

o Squid can also cache Windows update downloads, apt-get updates (if from the same repo server), yum updates, etc by using standard environment variables:

~/cubieboard $ set|grep prox
ftp_proxy=http://10.0.0.4:3128/
http_proxy=http://10.0.0.4:3128/
https_proxy=http://10.0.0.4:3128/

o Squid can be administrated from Webmin (port 10000) and by using 3rd-party programs such as sarg, you can generate reports on cache usage.

--Once setup and running, set your browser's proxy setting to http://10.0.0.4:3128 where 10.0.0.4 is your Cubieboard's IP address.

----

Usage cases:

o When installing $distro-of-choice into a VM, using Squid to download the packages helps immensely when you have to sometimes start all over again (reformat and reinstall) or when installing the same distro on multiple VMs / physical machines.

o Shared browsing and filtering among several users in a home / small-business environment; Squid is compatible with all common OS and browsers (including Lynx and w3m.)

SDeath

  • Guest
Re: Squid server - with or without SSD - can provide HOWTO
« Reply #1 on: August 23, 2013, 07:07:37 pm »
Hi kingneutron,

I know it has been over 5 months since your post.
But I just ordered a Cubieboard2 and using it as a squid proxy is exactly what I intend to use it for. After playing around with it when I receive it.
So I would really appreciate it if you could write a how-to for me.
I do have some Linux experience, even though it has been several years I played around with it.
And a couple of weeks ago I was messing around with squid on Windows Server 2008 R2, but that didn't work as I thought because of some squid bugs on windows. Now I have my CB2 on the way I'm starting to read in on this subject.
Most important is to use it as a web caching proxy to cache as much as possible, Windows update, App store, repo's, websites.
Please help me get started and a how-to would really save my day.
Hope you are still active on this forum.
Thanks.
« Last Edit: August 26, 2013, 08:58:55 am by SDeath »