User Tools

Site Tools


informatica:linux:apt-cacher-ng
no way to compare when less than two revisions

Differences

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


Previous revision
informatica:linux:apt-cacher-ng [2015/04/13 20:19] (current) – external edit 127.0.0.1
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 20:19 by 127.0.0.1