You can use caching proxy packaged by @unman :
For a long while now we’ve been talking about methods of helping users set up
their systems, and install and configure software.
New users in particular find this difficult to deal with.
Look at the repeated posts in the Forum about how to set up a VPN.
Many of the guides that are produced involve users copying shell scripts
into dom0 or templates and running them, and it’s obvious that many
people still struggle.
Wouldn’t it be better if users could just install a package that did all
t…
Or create it manually, but you may need to update the Fedora mirrors list manually (the list should be updated in the caching proxy packaged by @unman from the previous link):
# Using apt-cacher-ng as a caching proxy in Qubes.
## Why?
The standard tinyproxy is just a proxy. This ,means that as soon as you start to use more than a few templates you are wasting bandwidth (and time) in repeatedly downloading the same packages.
Using a caching proxy saves on both.
## How?
apt-cacher-ng is a caching proxy with support for Debian based distros out of the box, as well as Arch.
It can be configured to support Fedora, Suse, Gentoo, and \*BSD
### INSTALL
Create a new Debian based template -
`qvm-clone debian-12-minimal template-cacher`
In template-cacher install the software, by running as root:
```
apt-get install qubes-core-agent-networking apt-cacher-ng
systemctl mask apt-cacher-ng
```
Shut down template-cacher.
This file has been truncated. show original
1 Like