22
0
Fork 0

mini-modifs

This commit is contained in:
gcolpart 2016-12-19 19:14:28 +01:00
parent d491b2f85c
commit 9596034fb7
1 changed files with 21 additions and 7 deletions

View File

@ -1,23 +1,37 @@
# Howto Squid # Howto Squid
Documentation officielle : <http://www.squid-cache.org/Versions/v3/3.4/cfgman/> Documentation officielle : <http://www.squid-cache.org/Versions/v3/3.4/cfgman/>
[Squid](http://www.squid-cache.org/) est serveur proxy HTTP/HTTPS.
# Installation # Installation
Sous Debian Jessie, on peut installer Squid 3.4 : ~~~
```
# apt install squid3 squidclient # apt install squid3 squidclient
``` ~~~
# Divers # Configuration
`/etc/squid3/squid.conf` :
~~~
TODO
~~~
# FAQ
### Infos à propos de Squid ### Infos à propos de Squid
Pour avoir des informations à propos de Squid :
``` ```
$ squidclient -h HOST -p PORT cache_object://localhost/ $ squidclient -h 127.0.0.1 -p 3128 cache_object://localhost/
$ squidclient -h HOST -p PORT mgr:info $ squidclient -h 127.0.0.1 -p 3128 mgr:info
``` ```
### WARNING! Your cache is running out of filedescriptor
En utilisation intensive, si vous obtenez un message '''WARNING! Your cache is running out of filedescriptors''', En utilisation intensive, si vous obtenez un message '''WARNING! Your cache is running out of filedescriptors''',
c'est qu'il est nécessaire d'augmenter le maximum de fichiers ouverts... mais ce problème est normalement résolu c'est qu'il est nécessaire d'augmenter le maximum de fichiers ouverts... mais ce problème est normalement résolu
depuis Debian Lenny où l'on trouve un '''ulimit -n 65535''' dans le script d'init (c'était à ajouter en ''Etch''). depuis Debian Lenny où l'on trouve un '''ulimit -n 65535''' dans le script d'init (c'était à ajouter en ''Etch'').