jueves, 11 de junio de 2009

Configurando approx para cachear paquetes

En /etc/approx/approx.conf definir 2 servidores:

ubuntu-jaunty            http://ar.archive.ubuntu.com/ubuntu/
ubuntu-jaunty-security   http://security.ubuntu.com/ubuntu

Y luego, hay que cambiar /etc/apt/sources.list de manera que quede:

deb http://localhost:9999/ubuntu-jaunty jaunty main restricted
deb http://localhost:9999/ubuntu-jaunty jaunty-updates main restricted
deb http://localhost:9999/ubuntu-jaunty jaunty universe
deb http://localhost:9999/ubuntu-jaunty jaunty-updates universe
deb http://localhost:9999/ubuntu-jaunty jaunty multiverse
deb http://localhost:9999/ubuntu-jaunty jaunty-updates multiverse
deb http://localhost:9999/ubuntu-jaunty-security jaunty-security main restricted
deb http://localhost:9999/ubuntu-jaunty-security jaunty-security universe
deb http://localhost:9999/ubuntu-jaunty-security jaunty-security multiverse

Esta configuración es la que usé para un servidor Ubuntu 9.04

No hay comentarios: