Jump to content

Apt cache

From base48

base lan has an apt cache deployed, with the intention to allow people using ubuntu/debian based distros or containers to download and update their packages faster from a lan cache instead of using the flaky starlink uplink.

To use the cache simply create a file /etc/apt/apt.conf.d/00baseaptproxy containing the line

Acquire::http::Proxy "http://apt-cacher-ng.at.base48.cz:3142";

No other configuration needed. Beware: downloading anything will fail if the proxy is down or you're not on base lan, so this is best used for containers/vms on the proxmox cluster, not on your personal laptop, at least not permanently. Running apt update is all that's needed to apply the changes in proxy settings.