Gentoo Archives: gentoo-user

From: n952162@×××.de
To: gentoo-user@l.g.o
Subject: [gentoo-user] setting up a local mirror
Date: Wed, 22 May 2019 21:04:06
Message-Id: trinity-bd9076e4-0ad9-4767-a53e-c0b5a45be168-1558559024501@3c-app-webde-bap36
1 It's getting late tonight to try this - before I do so tomorrow, does anyone
2 have any thoughts about the following plan?
3
4 I want one machine facing the internet that's my local mirror and if
5 a client needs something that's not on the mirror, the emerge will fail and
6 I'll get it onto the mirror manually first.
7
8 I'm thinking I need to set these variables:
9 - make.conf: FEATURES = force-mirror
10 - make.conf: GENTOO_MIRRORS doesn't seem to do anything
11 - /etc/portage/mirrors:
12 local http://192.168.0.4/distfiles
13
14 I've already set up /etc/portage/repos.conf on the clients and rsyncd on
15 the server. The local mirror of ebuilds seems to work. I've also set up
16 my apache server to have access to the local repository (I'm somewhat
17 less sure of my distfiles server)
18
19 /var/log/emerge* tells me that emerge on clients is going out directly
20 to the internet instead of getting packages from my mirror. That's what
21 I'm trying to prevent.
22
23 Any thoughts will be appreciated.

Replies

Subject Author
Re: [gentoo-user] setting up a local mirror Mick <michaelkintzios@×××××.com>