On Monday, 29 April 2019 22:50:18 BST [email protected] wrote:
> But that seems strange - why would I need both GENTOO_MIRRORS and
> http_proxy?
>
> GENTOO_MIRRORS="http://myserver"
> http_proxy="http://myserver:3142
No. Here are my entries in make.conf:
GENTOO_MIRRORS="
https://mirror.bytemark.co.uk/gentoo/
http://mirror.bytemark.co.uk/gentoo/
https://mirrors.evowise.com/gentoo/
http://mirrors.evowise.com/gentoo/
https://www.mirrorservice.org/sites/distfiles.gentoo.org/
http://www.mirrorservice.org/sites/distfiles.gentoo.org/
"
http_proxy="http://192.168.1.2:3128"
> Does the http_proxy imply that I'd need a proxy app, like squid.
Yes; it's meant for people who're sitting behind a firewall and can't see the
Internet. The proxy runs on the firewall, and you tell your apps on client
machines to use the proxy when they need something via http.
> Between my client and server, there won't be any appreciable traffic.
The converse. Your client sends a request to the proxy, giving the destination
address; the proxy sends the request on, but itself supplies any bits it
already has. Thus, if portage is asking for a large distfile, such as kernel
sources, it will come directly from the proxy if it's already been fetched for
another machine.
Don't ask me how the proxy synchronises itself with the current state of the
target, as in a complex web page with both static and dynamic objects, because
I don't know, not having investigated it - I just use it happily. Sorry :)
--
Regards,
Peter.