22
0
Fork 0

add advices for caching downloaded packages

This commit is contained in:
btatu 2017-05-30 15:13:12 +02:00
parent 451b0a9398
commit 41e7715c88
1 changed files with 12 additions and 0 deletions

View File

@ -179,3 +179,15 @@ Une fois limage prête, pour la graver :
wodim -dev /dev/cdrom binary.iso
~~~
## Astuces
Nous recommandons d'installer et configurer un cache local avec le paquet `apt-cacher-ng`. Cela va permettre d'accélérer sa construction. Voici la procédure à suivre :
~~~
apt install apt-cacher-ng
/etc/init.d/apt-cacher-ng start
export http_proxy=http://localhost:3142/ .
lb config --apt-http-proxy http://127.0.0.1:3142/
~~~
La dernière commande va mettre à jour le fichier config/common.