]> git.pld-linux.org Git - packages/squid.git/blob - squid-location.patch
- updated
[packages/squid.git] / squid-location.patch
1 diff -urN squid-2.5.STABLE2.org/QUICKSTART squid-2.5.STABLE2/QUICKSTART
2 --- squid-2.5.STABLE2.org/QUICKSTART    Sat Apr 12 12:06:45 2003
3 +++ squid-2.5.STABLE2/QUICKSTART        Sat Apr 12 12:18:58 2003
4 @@ -12,10 +12,9 @@
5  INSTALL in the same directory), you have to configure the squid.conf
6  file. This is the list of the values you *need* to change, because no
7  sensible defaults could be defined. Do not touch the other variables
8 -for now.  We assume you have installed Squid in the default location:
9 -/usr/local/squid
10 +for now.
11  
12 -Uncomment and edit the following lines in /usr/local/squid/etc/squid.conf:
13 +Uncomment and edit the following lines in /etc/squid/squid.conf:
14  
15  ==============================================================================
16  
17 @@ -31,7 +30,7 @@
18      Warning: Squid uses much more than this value.  Rule of thumb: if
19      you have N megabytes free for Squid, put N/3 here.
20  
21 -cache_dir /usr/local/squid/var/cache 100 16 256
22 +cache_dir /var/cache/squid 100 16 256
23  
24      Add here (first number, here 100) the amount of hard disk space 
25      (in megabytes) to devote to caching.
26 @@ -77,10 +76,10 @@
27  After editing squid.conf to your liking, run Squid from the command
28  line TWICE:
29  
30 -    % /usr/local/squid/sbin/squid -z
31 -    % /usr/local/squid/sbin/squid 
32 +    % /usr/sbin/squid -z
33 +    % /usr/sbin/squid 
34  
35 -Check in the cache.log (/usr/local/squid/var/logs/cache.log) that
36 +Check in the cache.log (/var/log/squid/cache.log) that
37  everything is all right.  Note that "WARNING: Cannot write to swap
38  directory" is normal the first time you run Squid.
39  
This page took 0.082738 seconds and 4 git commands to generate.