apt-cacher
Overview
apt-cacher is a specialised web proxy for Debian-style archive mirrors. Users of Debian-based VPSes can use BitFolk's apt-cacher service to avoid having to use their own bandwidth to download packages that other users have already downloaded.
To make use of BitFolk's apt-cacher service all you need to do is prepend a string to the mirror URIs you would normally use. The correct string to use depends on where your VPS is based (London or San Francisco) and whether you use Debian or Ubuntu.
London-based VPSes
Debian
Available mirrors
- ftp.uk.debian.org
- security.debian.org
- www.backports.org
apt-cacher URI
apt-cacher.lon.bitfolk.com/debian/
Example
For Debian Etch in London:
deb http://apt-cacher.lon.bitfolk.com/debian/ftp.uk.debian.org/debian/ etch main contrib deb-src http://apt-cacher.lon.bitfolk.com/debian/ftp.uk.debian.org/debian/ etch main contrib deb http://apt-cacher.lon.bitfolk.com/debian/security.debian.org/ etch/updates main contrib # Volatile archive for rapidly-changing packages #deb http://apt-cacher.lon.bitfolk.com/debian/ftp.uk.debian.org/debian-volatile/ etch/volatile main contrib
Ubuntu
Available mirrors
- gb.archive.ubuntu.com
- security.ubuntu.com
apt-cacher URI
apt-cacher.lon.bitfolk.com/ubuntu/
Example
For Ubunty Feisty in London:
# Ubuntu supported packages # GPG key: 437D05B5 deb http://apt-cacher.lon.bitfolk.com/ubuntu/gb.archive.ubuntu.com/ubuntu feisty main restricted deb http://apt-cacher.lon.bitfolk.com/ubuntu/gb.archive.ubuntu.com/ubuntu feisty-updates main restricted deb http://apt-cacher.lon.bitfolk.com/ubuntu/security.ubuntu.com/ubuntu feisty-security main restricted # Ubuntu community supported packages # GPG key: 437D05B5 deb http://apt-cacher.lon.bitfolk.com/ubuntu/gb.archive.ubuntu.com/ubuntu feisty universe multiverse deb http://apt-cacher.lon.bitfolk.com/ubuntu/gb.archive.ubuntu.com/ubuntu feisty-updates universe multiverse deb http://apt-cacher.lon.bitfolk.com/ubuntu/security.ubuntu.com/ubuntu feisty-security universe multiverse
San Francisco-based VPSes
Debian
Available mirrors
- ftp.us.debian.org
- security.debian.org
- www.backports.org
- linux.csua.berkeley.edu
- debian.domainmail.org
apt-cacher URI
apt-cacher.sfo.bitfolk.com/debian/
Example
For Debian Etch in San Francisco:
deb http://apt-cacher.sfo.bitfolk.com/debian/linux.csua.berkeley.edu/debian/ etch main contrib deb-src http://apt-cacher.sfo.bitfolk.com/debian/linux.csua.berkeley.edu/debian/ etch main contrib deb http://apt-cacher.sfo.bitfolk.com/debian/security.debian.org/ etch/updates main contrib deb http://apt-cacher.sfo.bitfolk.com/debian/debian.domainmail.org/debian-volatile/ etch/volatile main contrib
Ubuntu
Available mirrors
- us.archive.ubuntu.com
- security.ubuntu.com
apt-cacher URI
apt-cacher.sfo.bitfolk.com/ubuntu/
Example
For Ubunty Feisty in San Francisco:
# Ubuntu supported packages # GPG key: 437D05B5 deb http://apt-cacher.sfo.bitfolk.com/ubuntu/us.archive.ubuntu.com/ubuntu feisty main restricted deb http://apt-cacher.sfo.bitfolk.com/ubuntu/us.archive.ubuntu.com/ubuntu feisty-updates main restricted deb http://apt-cacher.sfo.bitfolk.com/ubuntu/security.ubuntu.com/ubuntu feisty-security main restricted # Ubuntu community supported packages # GPG key: 437D05B5 deb http://apt-cacher.sfo.bitfolk.com/ubuntu/us.archive.ubuntu.com/ubuntu feisty universe multiverse deb http://apt-cacher.sfo.bitfolk.com/ubuntu/us.archive.ubuntu.com/ubuntu feisty-updates universe multiverse deb http://apt-cacher.sfo.bitfolk.com/ubuntu/security.ubuntu.com/ubuntu feisty-security universe multiverse
Notes
- Only http://.. URIs are supported in apt-cacher.
- Only the specific mirrors listed above are allowed. If you use other sites in your sources.list then please let support know and we will consider whether to add them.
Copyright © 2007 BitFolk Ltd. Registered in England and Wales (No. 6032951)
