subbu.org

Three Quick Steps to Setup Squid on a Mac

without comments

For some experiments on the HTTP/1.1 Vary header, I just setup the Squid web proxy on my Mac. Here are the three quick steps to get Squid up and running as a web proxy on a Mac.


Step 1: Install Squid

The best way to install Squid is via ports.

sudo port install squid

After installing, make the cache and logs directories writable. Since I am testing this locally on my personal Mac, I did the following:

cd /opt/local/var/squid
sudo chmod go+rws cache
sudo chmod go+rws logs

Step 2: Create swap directories and start Squid

cd /opt/local/sbin
sudo ./squid -z
sudo ./squid -N -d q -D

Step 3: Network Configuration

As shown in these screenshots.

Open System Preferences, and search for “Web Proxy”.

Search for Web Proxy

Select manual configuration, and enter host name and port number.

Search for Web Proxy

  • Digg
  • del.icio.us
  • Google

December 9th, 2007 at 7:13 pm

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post