6th ALE / KSU InstallFest

APT Cacherng is a cache of updates for Debian-based systems. Whenever an install or upgrade is performed, the cache is checked first for the packages. If it is already downloaded, then that cached package is used. If not, it is downloaded by the cache and used. Effectively, this makes most updates in multi-system LANs a 1-time download.

We are running a server - at http://172.22.x.x:3142 Clients (Debian/Ubuntu) systems just need to point to that URL.
  1. Create a file: echo 'Acquire::http { Proxy "http://172.22.x.x:3142"; };' > sudo /etc/apt/apt.conf.d/02proxy
  2. Owned by root - sudo chown root.root /etc/apt/apt.conf.d/02proxy
  3. With these permissions - sudo chmod 644 /etc/apt/apt.conf.d/02proxy
  4. Contains just 1 line (remove this file or line after you "update" today)