Douglas E. Comer
Computer Science Department
Purdue University
West Lafayette, IN 47907
webmaster: W. David Laverell
Companion
Topics
Home
Book
Information
Purpose
of Site
Getting
Started
Students
Faculty
"What's
New"
"Coming
Attractions"
"C Pointers"
Acknowledgements
|
|
Hands-On Networking: Experiment 16.2
Home > Student > Experiments > 16.2
Experiment 16.2
Installing the Squid Web Proxy Cache software is somewhat more difficult
than Apache. The basic idea is the same:
- Go to Squid Web Proxy Cache
- Click on the latest stable version (2.5)
- Download the .tar.gz file to a convenient directory
- Type tar xvf file.tar.gz
- Change to that directory
- Type ./configure
- Type make
- Type make install
At this point there are some changes that need to be made. Change directory
to /usr/local/squid/var, make a new directory called cache
by typing mkdir cache, change the owner of this new directory and
the logs directory to squid by typing chown squid cache logs,
and then make the following changes to /usr/local/squid/etc/squid.conf:
- find the line that begins with cache_effective_user and change it
to cache_effective_user squid. (Uncomment that line if necessary)
- find the line that begins with acl our_networks and change it by
adding the networks to which you want to grant access by listing the networks
in CIDR notation. For example, acl our_networks 17.0.0.0/8 153.106.0.0/16
- Uncomment the following line which should read http_access allow our_networks
Now execute /usr/local/squid/sbin/squid, and follow the directions to complete the
experiment.
This site is maintained by W. David Laverell
of the Computer Science Department
at Calvin College. For assistance or corrections,
please contact him at . |
|