https://github.com/rgl/apt-cache-vagrant
Vagrant Environment for an APT Caching Proxy
https://github.com/rgl/apt-cache-vagrant
apt apt-cacher-ng apt-caching apt-get
Last synced: about 1 year ago
JSON representation
Vagrant Environment for an APT Caching Proxy
- Host: GitHub
- URL: https://github.com/rgl/apt-cache-vagrant
- Owner: rgl
- Created: 2016-08-24T05:27:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-13T20:05:38.000Z (about 4 years ago)
- Last Synced: 2025-02-26T05:41:25.508Z (about 1 year ago)
- Topics: apt, apt-cacher-ng, apt-caching, apt-get
- Language: Shell
- Size: 6.84 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Vagrant](https://www.vagrantup.com/) Environment for a APT Caching Proxy server using the [Apt-Cacher NG](https://www.unix-ag.uni-kl.de/~bloch/acng/) daemon.
# Usage
Install the [Ubuntu 20.04 box](https://github.com/rgl/ubuntu-vagrant).
Run `vagrant up --no-destroy-on-error cache` to launch the APT Caching Proxy server.
Run `vagrant up --no-destroy-on-error ubuntu` to launch an Ubuntu client configured to use the `cache` server.
Visit http://10.10.10.3:3142/acng-report.html and click the "Count Data"
button to see the cache statistics. You'll notice a lot of cache misses.
The next client runs will have an improved cache efficiency and will be
a lot faster. To see that happening, re-create the `ubuntu` client (and
also re-check the cache statistics page):
```bash
vagrant destroy -f ubuntu
vagrant up --no-destroy-on-error ubuntu
```