2008-03-13 13:23:15 +00:00
|
|
|
diff -up squid-3.0.STABLE2/QUICKSTART.location squid-3.0.STABLE2/QUICKSTART
|
|
|
|
--- squid-3.0.STABLE2/QUICKSTART.location 2008-02-10 12:04:32.000000000 +0100
|
|
|
|
+++ squid-3.0.STABLE2/QUICKSTART 2008-03-11 15:53:36.000000000 +0100
|
2008-01-23 14:07:15 +00:00
|
|
|
@@ -12,10 +12,9 @@ After you retrieved, compiled and instal
|
2004-09-09 12:45:32 +00:00
|
|
|
INSTALL in the same directory), you have to configure the squid.conf
|
|
|
|
file. This is the list of the values you *need* to change, because no
|
|
|
|
sensible defaults could be defined. Do not touch the other variables
|
|
|
|
-for now. We assume you have installed Squid in the default location:
|
|
|
|
-/usr/local/squid
|
|
|
|
+for now.
|
|
|
|
|
|
|
|
-Uncomment and edit the following lines in /usr/local/squid/etc/squid.conf:
|
|
|
|
+Uncomment and edit the following lines in /etc/squid/squid.conf:
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
2008-01-23 14:07:15 +00:00
|
|
|
@@ -26,7 +25,7 @@ cache_peer, never_direct/always_direct
|
2004-09-09 12:45:32 +00:00
|
|
|
always ask permission before adding a parent cache. See also the
|
|
|
|
never_direct/always_direct directives.
|
|
|
|
|
2008-03-13 13:23:15 +00:00
|
|
|
-cache_dir ufs /usr/local/squid/var/cache 100 16 256
|
|
|
|
+cache_dir ufs /var/spool/squid 100 16 256
|
2004-09-09 12:45:32 +00:00
|
|
|
|
|
|
|
Add here (first number, here 100) the amount of hard disk space
|
|
|
|
(in megabytes) to devote to caching.
|
2008-03-13 13:23:15 +00:00
|
|
|
@@ -69,10 +68,10 @@ visible_hostname
|
2004-09-09 12:45:32 +00:00
|
|
|
After editing squid.conf to your liking, run Squid from the command
|
|
|
|
line TWICE:
|
|
|
|
|
|
|
|
- % /usr/local/squid/sbin/squid -z
|
|
|
|
- % /usr/local/squid/sbin/squid
|
|
|
|
+ % /usr/sbin/squid -z
|
|
|
|
+ % /usr/sbin/squid
|
|
|
|
|
2008-03-13 13:23:15 +00:00
|
|
|
-Check in the cache.log (/usr/local/squid/var/logs/cache.log) that
|
|
|
|
+Check in the cache.log (/var/log/squid/cache.log) that
|
2004-09-09 12:45:32 +00:00
|
|
|
everything is all right.
|
2008-03-13 13:23:15 +00:00
|
|
|
|
|
|
|
Once Squid created all its files (it can take several minutes on some
|