Gentoo Archives: gentoo-user

From: n952162@×××.de
To: gentoo-user@l.g.o
Subject: Aw: Re: Re: [gentoo-user] local mirrors (summary, leading to more questions)
Date: Mon, 29 Apr 2019 21:50:39
Message-Id: trinity-5bdf46cc-354e-4e07-8156-609d6e67d23c-1556574618933@3c-app-webde-bap59
In Reply to: Aw: Re: Re: [gentoo-user] local mirrors (summary, leading to more questions) by n952162@web.de
1 But that seems strange - why would I need both GENTOO_MIRRORS and http_proxy?
2
3 GENTOO_MIRRORS="http://myserver"
4 http_proxy="http://myserver:3142
5
6 Does the http_proxy imply that I'd need a proxy app, like squid. Between my client and server, there won't be any appreciable traffic.
7
8
9 > Gesendet: Montag, 29. April 2019 um 23:39 Uhr
10 > Von: n952162@×××.de
11 > An: gentoo-user@l.g.o
12 > Betreff: Aw: Re: Re: [gentoo-user] local mirrors (summary, leading to more questions)
13 >
14 > > Gesendet: Montag, 29. April 2019 um 10:47 Uhr
15 > > Von: "Peter Humphrey" <peter@××××××××××××.uk>
16 > > An: gentoo-user@l.g.o
17 > > Betreff: Re: Aw: Re: [gentoo-user] local mirrors (summary, leading to more questions)
18 > >
19 > > On Sunday, 28 April 2019 21:37:19 BST n952162@×××.de wrote:
20 > >
21 > > > - Peter Humphrey suggests:
22 > > > - http ftp proxy
23 > > >
24 > > > In what way is that different from rsync which I thought I'd already
25 > > > configured?
26 > >
27 > > I assume that means you're using rsync to synchronise the portage database.
28 >
29 >
30 > Yes, as instructed here:
31 >
32 > https://wiki.gentoo.org/wiki/Local_Mirror#Setting_up_the_mirror
33 >
34 >
35 > > Then, whatever you use to fetch distfiles for installation, it uses ftp or
36 > > http transport to fetch them. ...
37 >
38 >
39 > This page discusses local distfile servers:
40 >
41 > https://wiki.gentoo.org/wiki/Local_distfiles_cache
42 >
43 > using either of two approaches:
44 > - apt-cacher-ng
45 > - nginx
46 >
47 > Do they relate to the ftp and http you mention?
48 >
49 > I already have apache and don't want to install any more packages - it would seem that if nginx can serve the files, apache should be able to, too.
50 > I'm trying to configure it.
51 >
52 > This page: https://wiki.gentoo.org/wiki/Local_distfiles_cache#Setting_up_clients
53 >
54 > says I should put this line into /etc/portage/make.conf:
55 >
56 > http_proxy="http://distfilescache:3142
57 >
58 > Is that the URL it'll send? So, all I'd have to do is have a virtual host responding to that port with a copy of /etc/portage/distfiles at its root?
59 >
60 > TIA,
61 >
62 > Tom
63 >
64 >
65 >
66 >
67 >
68 >
69 > >
70 > > --
71 > > Regards,
72 > > Peter.
73 >
74 >

Replies

Subject Author
Re: Aw: Re: Re: [gentoo-user] local mirrors (summary, leading to more questions) Peter Humphrey <peter@××××××××××××.uk>
Re: Aw: Re: Re: [gentoo-user] local mirrors (summary, leading to more questions) Mick <michaelkintzios@×××××.com>