Apt Cacher

If you have many Debian / Ubuntu systems on your network and want to reduce package download bandwidth, install apt-cacher-ng on one of the system and use it as a proxy. Setup is really easy and takes only the following two steps:

  1. Install apt-cacher-ng on one of your Debian / Ubuntu system

    apt install apt-cacher-ng
    
  2. Use it from others

    echo 'Acquire::http::Proxy "http://$CACHE_SERVER_IP:3142";' | sudo tee /etc/apt/apt.conf.d/02proxy-ng
    

Once setup is done, you can install packages or update your system as usual.

You can see cacher stats at http://localhost:3142/acng-report.html or http://$CACHE_SERVER_IP:3142/acng-report.html

See the homepage for more details.