Giter Club home page Giter Club logo

apt-cache-vagrant's Introduction

This is a Vagrant Environment for a APT Caching Proxy server using the Apt-Cacher NG daemon.

Usage

Install the Ubuntu 20.04 box.

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):

vagrant destroy -f ubuntu
vagrant up --no-destroy-on-error ubuntu

apt-cache-vagrant's People

Contributors

rgl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ranboz lloydie

apt-cache-vagrant's Issues

ubuntu-20.04-amd64 or the link to the packer build is missing.

user@box:~/GIT-REPROs/apt-cache-vagrant__rgl$` vagrant up cache
Bringing machine 'cache' up with 'virtualbox' provider...
==> cache: Box 'ubuntu-20.04-amd64' could not be found. Attempting to find and install...
    cache: Box Provider: virtualbox
    cache: Box Version: >= 0
==> cache: Box file was not detected as metadata. Adding it directly...
==> cache: Adding box 'ubuntu-20.04-amd64' (v0) for provider: virtualbox
    cache: Downloading: ubuntu-20.04-amd64
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file /home/user/GIT-REPROs/apt-cache-vagrant__rgl/ubuntu-20.04-amd64
user@box:~/GIT-REPROs/apt-cache-vagrant__rgl$ vagrant up ubuntu
Bringing machine 'ubuntu' up with 'virtualbox' provider...
==> ubuntu: Box 'ubuntu-20.04-amd64' could not be found. Attempting to find and install...
    ubuntu: Box Provider: virtualbox
    ubuntu: Box Version: >= 0
==> ubuntu: Box file was not detected as metadata. Adding it directly...
==> ubuntu: Adding box 'ubuntu-20.04-amd64' (v0) for provider: virtualbox
    ubuntu: Downloading: ubuntu-20.04-amd64
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file /home/user/GIT-REPROs/apt-cache-vagrant__rgl/ubuntu-20.04-amd64
user@box:~/GIT-REPROs/apt-cache-vagrant__rgl$ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.