Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: Aw: Re: [gentoo-user] local mirrors (summary, leading to more questions)
Date: Mon, 29 Apr 2019 08:47:49
Message-Id: 3950723.GziVaMIFVJ@peak
In Reply to: Aw: Re: [gentoo-user] local mirrors (summary, leading to more questions) by n952162@web.de
1 On Sunday, 28 April 2019 21:37:19 BST n952162@×××.de wrote:
2
3 > - Peter Humphrey suggests:
4 > - http ftp proxy
5 >
6 > In what way is that different from rsync which I thought I'd already
7 > configured?
8
9 I assume that means you're using rsync to synchronise the portage database.
10 Then, whatever you use to fetch distfiles for installation, it uses ftp or
11 http transport to fetch them. Squid sits on the network with its cache of
12 previous fetches and supplies whatever hasn't changed, thus at least halving
13 network traffic if you have two or more Gentoo machines to maintain.
14
15 You can also point your browsers at squid (that's what it's meant for, in
16 fact); their responsiveness also improves. Since I had fibre broadband I
17 hadn't bothered with squid, but after installing it on a local machine
18 yesterday I found it still made an observable difference.
19
20 Squid doesn't need a powerful machine to serve a small LAN; I have it running
21 happily on an old single-core, 32-bit Atom N270 box. Although squid apparently
22 scales well up to much larger user numbers, it's remarkably easy to set up - I
23 had it running in under half an hour.
24
25 --
26 Regards,
27 Peter.

Replies