From 41e7715c88530bcebcfe18e72aad94cfeede9c02 Mon Sep 17 00:00:00 2001 From: btatu Date: Tue, 30 May 2017 15:13:12 +0200 Subject: [PATCH] add advices for caching downloaded packages --- HowtoCustomLiveCD.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/HowtoCustomLiveCD.md b/HowtoCustomLiveCD.md index 46023dd8..bfff351d 100644 --- a/HowtoCustomLiveCD.md +++ b/HowtoCustomLiveCD.md @@ -179,3 +179,15 @@ Une fois l’image 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.