Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182141

Re: Installing Stretch/Testing with absolute minimal bandwith useage

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: Installing Stretch/Testing with absolute minimal bandwith useage
Date 2017-06-13 16:50 +0200
Message-ID <tRViO-Jw-33@gated-at.bofh.it> (permalink)
References <tRUZr-Cj-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Jun 13, 2017 at 09:20:43AM -0500, 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?

I have not tried any of this, but this would be my plan of attack for
your solution.

The installer pulls its packages from another server. Normally that
server is somewhere out on the internet, but to save on transfer costs,
what if that server was inside your LAN. We also need a way to tell that
server that you already have some *.deb files and you'd like to use
those, rather than a solution which involves mirroring a full Debian
archive.

Apt-Cacher-NG appears to solve this. Firstly, you intall it on the
"installed" computer (this may incur transfer costs). Secondly, you
start apt-cacher-ng running (it appears[1] to need minimal
configuration). Thirdly, you import your already downloaded files[2]
(you'll find apt's cache at /var/cache/apt/archive/*.deb). Finally,
during installation, tell the installer to use apt-cacher-ng as a proxy
(http://IP-OR-NAME.OF.INSTALLED.COMPUTER:3142/).

What should happen is that apt-cacher-ng receives a request "GET
blah_123.deb". If it finds a copy of the file in it's cache, it serves
that from disk. Otherwise it downloads the file from upstream (this will
incur transfer costs) AND stores it to disk. The next time any computer
requests "blah_123.deb", apt-cacher-ng will be able to serve it locally,
instead of having to download it again.

As I say, I've not used apt-cacher-ng myself, but from the
documentation, it looks like it'll work.


[1] https://www.unix-ag.uni-kl.de/~bloch/acng/html/config-servquick.html#config-servquick
[2] https://www.unix-ag.uni-kl.de/~bloch/acng/html/howtos.html#imp

>TIA
>
>

-- 
For more information, please reread.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-13 16:30 +0200
  Re: Installing Stretch/Testing with absolute minimal bandwith useage Darac Marjal <mailinglist@darac.org.uk> - 2017-06-13 16:50 +0200
    Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-13 18:40 +0200
      Re: Installing Stretch/Testing with absolute minimal bandwith useage Brian <ad44@cityscape.co.uk> - 2017-06-13 19:30 +0200
        Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-13 20:00 +0200
          Re: Installing Stretch/Testing with absolute minimal bandwith  useage Brad Rogers <brad@fineby.me.uk> - 2017-06-13 20:20 +0200
            Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-14 16:00 +0200
              Re: Installing Stretch/Testing with absolute minimal bandwith useage David Wright <deblis@lionunicorn.co.uk> - 2017-06-14 20:00 +0200
                Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-15 13:30 +0200
                Re: Installing Stretch/Testing with absolute minimal bandwith useage Brian <ad44@cityscape.co.uk> - 2017-06-15 16:10 +0200
                Re: Installing Stretch/Testing with absolute minimal bandwith useage Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-15 16:20 +0200
                Re: Installing Stretch/Testing with absolute minimal bandwith useage David Wright <deblis@lionunicorn.co.uk> - 2017-06-15 17:40 +0200
          Re: Installing Stretch/Testing with absolute minimal bandwith useage Brian <ad44@cityscape.co.uk> - 2017-06-13 20:30 +0200
            Re: Installing Stretch/Testing with absolute minimal bandwith useage Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-13 20:40 +0200
              Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-13 20:50 +0200
              Re: Installing Stretch/Testing with absolute minimal bandwith useage Brian <ad44@cityscape.co.uk> - 2017-06-13 21:10 +0200
              Re: Installing Stretch/Testing with absolute minimal bandwith useage Felix Miata <mrmazda@earthlink.net> - 2017-06-14 01:00 +0200
  Re: Installing Stretch/Testing with absolute minimal bandwith useage Brian <ad44@cityscape.co.uk> - 2017-06-13 18:50 +0200
    Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-13 19:30 +0200
      Re: Installing Stretch/Testing with absolute minimal bandwith useage David Wright <deblis@lionunicorn.co.uk> - 2017-06-13 23:20 +0200
        Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-15 20:40 +0200
          Re: Installing Stretch/Testing with absolute minimal bandwith useage David Wright <deblis@lionunicorn.co.uk> - 2017-06-16 17:20 +0200
            Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-16 19:50 +0200
  Re: Installing Stretch/Testing with absolute minimal bandwith useage David Christensen <dpchrist@holgerdanske.com> - 2017-06-13 23:40 +0200
  Re: Installing Stretch/Testing with absolute minimal bandwith useage songbird <songbird@anthive.com> - 2017-06-15 19:10 +0200
    Re: Installing Stretch/Testing with absolute minimal bandwith useage Richard Owlett <rowlett@cloud85.net> - 2017-06-15 19:40 +0200
  Status Re: Installing Stretch/Testing with absolute minimal bandwith  useage Richard Owlett <rowlett@cloud85.net> - 2017-06-20 16:20 +0200

csiph-web