User Tools

Site Tools


informatica:linux:apt-cacher-ng

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

informatica:linux:apt-cacher-ng [2015/04/13 22:19] (current)
Line 1: Line 1:
 +====== apt-cacher-ng ======
 +
 +apt cache apt-cacher-ng sources.list proxy
 +
 +===== Servidor =====
 +
 +Para instalar (conviene desinstalar,​ si los hubiera, los paquetes '​apt-cacher'​ y '​apt-proxy'​):​
 +
 +  sudo aptitude update; sudo aptitude install apt-cacher-ng
 +
 +Cambiar el puerto en el que escucha por defecto:
 +
 +  sudo sed -i s/​Port:​3142/​Port:​9999/​g /​etc/​apt-cacher-ng/​acng.conf
 +
 +Reiniciar servicios:
 +
 +  sudo /​etc/​init.d/​apt-cacher-ng restart
 +
 +===== Cliente =====
 +
 +  /​etc/​apt/​apt.conf
 +
 +  Acquire::​http { Proxy "​http://​repository-2.dev.jj.com:​9999";​ };
  
informatica/linux/apt-cacher-ng.txt ยท Last modified: 2015/04/13 22:19 (external edit)