apt-proxy - A proxy for saving bandwidth to Debian servers
apt-proxy is a python program designed to be run as an stand alone
server via twistd, and provides a clean, caching, intelligent proxy for
apt-get, which speaks HTTP to apt-get clients, and http, ftp, rsync or
file to the backend server(s). apt-proxy listens by default on port 9999.
Display usage information.
Configuration file. This defaults to /etc/apt-proxy/apt-proxy-v2.conf
Once apt-proxy is configured on a host SERVER, users then edit their
sources.list file to point to the proxy (which uses the http
protocol to serve clients), like so:
What path should be specified after the server name and port number
depends on the configuration of apt-proxy (which can restrict
paths and send different paths to different servers). See
SERVER CONFIGURATION below.
Note that you can also use the nicknames `unstable', `frozen' etc, but
Packages/Sources files may get duplicated, so it is best to use either the
symbolic or the code name and stick with it.
for details of how to set up apt-proxy to use backends near to you.
Process priority is set in
CARE AND FEEDING OF MIRRORS
apt-proxy reduces the bandwidth requirements of Debian mirrors
by restricting the frequency of Packages, Releases and Sources file updates
from the back end and only doing a single fetch for any file, how ever many
users request it from the proxy.