Web lists-archives.com

Re: Installing Stretch/Testing with absolute minimal bandwith useage

On 06/13/2017 07:20 AM, Richard Owlett wrote:
I am running Stretch that was fully updated/upgraded less than a
week ago. I have the flash drive used to do the original install of
Stretch. I have not _intentionally_ purged any files from cache.

I wish to install Stretch on two additional machines. I am near my
internet data cap and wish to make *ABSOLUTE MINIMAL* usage of
available bandwidth.

The purpose of this is to test the _installation process_ itself.
That eliminates anything resembling cloning. A secondary benefit will
be learning more about how Debian does things.

Suggestions? TIA

On 06/13/2017 10:28 AM, Richard Owlett wrote:
I generally favor sneakernet whenever possible. I neglected to
mention that I do not currently have a LAN. The time may have come.

Implement a Gigabit LAN.

If you don't already have a router/ firewall, implement one. I prefer IPCop [1].

Install one of the several available package caching solutions on your working machine. I prefer approx [2]. Find all the package files, import them into the package cache (approx-import [3]), and configure /etc/apt/sources.list accordingly. Run 'apt-get update' and 'apt-get upgrade' to make sure everything works.

When installing to the new machines, at the step "Choosing a network mirror", choose "enter information manually" and give the IP address and/or port of your package cache machine.



[1] http://www.ipcop.org/

[2] https://packages.debian.org/stretch/approx