Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 80699 | Differences between
and this patch

Collapse All | Expand All

(-)hb-install-system.xml (-6 / +43 lines)
Lines 18-35 Link Here
18
<body>
18
<body>
19
19
20
<p>
20
<p>
21
If you have booted from a Gentoo LiveCD, you are able to use <c>mirrorselect</c>
21
In order to download source code quickly it is recommended to select a fast
22
to update <path>/etc/make.conf</path> so fast mirrors are used for both Portage
22
mirror. Go to our <uri link="/main/en/mirrors.xml">mirror list</uri> and search
23
and source code (of course this requires a working network connection):
23
for a mirror (or mirrors) close to you (as those are most frequently the 
24
fastest ones). Write down the URLs, open <path>/mnt/gentoo/etc/make.conf</path> 
25
in your favorite editor and define the GENTOO_MIRRORS variable with those 
26
URLs.
24
</p>
27
</p>
25
28
26
<pre caption="Selecting fast mirrors">
29
<pre caption="Selecting fast mirrors">
27
# <i>mirrorselect -a -s4 -o |grep 'GENTOO_MIRRORS=' &gt;&gt; /mnt/gentoo/etc/make.conf</i>
30
# <i>links2 http://www.gentoo.org/main/en/mirrors.xml</i>
31
<comment>(Write down the URLs of the mirrors you want to use)</comment>
32
# <i>nano -w /mnt/gentoo/etc/make.conf</i>
33
<comment>(The next setting is fictional)</comment>
34
GENTOO_MIRRORS="ftp://ftp.server.com/gentoo ftp://gentoo.otherserver.com"
28
</pre>
35
</pre>
29
36
30
<p>
37
<p>
31
If for some reason <c>mirrorselect</c> fails, don't panic. This step is
38
To have Portage use a local RSYNC mirror, define the SYNC variable with
32
completely optional, the default values suffice.
39
<c>rsync://rsync.&lt;country&gt;.gentoo.org</c> where <c>&lt;country&gt;</c> is
40
the country code for your country.
41
</p>
42
43
<pre caption="Selecting a local RSYNC mirror in /mnt/gentoo/etc/make.conf">
44
<comment>(An example for a US RSYNC mirror)</comment>
45
SYNC="rsync://rsync.us.gentoo.org"
46
</pre>
47
48
<p>
49
You can also use <c>mirrorselect</c> to obtain good settings. This application
50
will download the list of mirrors from our website and display the available
51
mirrors to you in a nice interface. You can then select the mirrors you want to
52
use.
53
</p>
54
55
<p>
56
In the next example, we will run <c>mirrorselect</c> twice: once to select a few
57
source code mirrors and once to select an rsync mirror. As our
58
<path>make.conf</path> file is located in <path>/mnt/gentoo/etc</path> instead
59
of in <path>/etc</path> we'll need to redirect <c>mirrorselect</c>'s output.
60
</p>
61
62
<pre caption="Selecting mirrors using mirrorselect">
63
# <i>mirrorselect -i -o &gt;&gt; /mnt/gentoo/etc/make.conf</i>
64
# <i>mirrorselect -i -r -o &gt;&gt; /mnt/gentoo/etc/make.conf</i>
65
</pre>
66
67
<p>
68
After running <c>mirrorselect</c> it is adviseable to double-check the settings
69
in <path>/mnt/gentoo/etc/make.conf</path>.
33
</p>
70
</p>
34
71
35
</body>
72
</body>

Return to bug 80699