]> git.pld-linux.org Git - packages/squid.git/blame - squid-location.patch
- set ulimit -n via sysconfig
[packages/squid.git] / squid-location.patch
CommitLineData
58934a46
AM
1diff -urN squid-2.5.STABLE4.org/QUICKSTART squid-2.5.STABLE4/QUICKSTART
2--- squid-2.5.STABLE4.org/QUICKSTART 2003-10-26 14:34:44.000000000 +0100
3+++ squid-2.5.STABLE4/QUICKSTART 2003-10-26 14:35:42.000000000 +0100
a58ecdad 4@@ -12,10 +12,9 @@
7c1b148a 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
58934a46
AM
17@@ -26,7 +25,7 @@
18 always ask permission before adding a parent cache. See also the
19 never_direct/always_direct directives.
7c1b148a 20
a58ecdad
AM
21-cache_dir /usr/local/squid/var/cache 100 16 256
22+cache_dir /var/cache/squid 100 16 256
7c1b148a 23
24 Add here (first number, here 100) the amount of hard disk space
25 (in megabytes) to devote to caching.
58934a46 26@@ -69,10 +68,10 @@
7c1b148a 27 After editing squid.conf to your liking, run Squid from the command
28 line TWICE:
29
a58ecdad
AM
30- % /usr/local/squid/sbin/squid -z
31- % /usr/local/squid/sbin/squid
7c1b148a 32+ % /usr/sbin/squid -z
33+ % /usr/sbin/squid
34
a58ecdad 35-Check in the cache.log (/usr/local/squid/var/logs/cache.log) that
7c1b148a 36+Check in the cache.log (/var/log/squid/cache.log) that
58934a46 37 everything is all right.
7c1b148a 38
58934a46 39 Once Squid created all its files (it can take several minutes on some
This page took 0.116675 seconds and 4 git commands to generate.