|
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=' >> /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.<country>.gentoo.org</c> where <c><country></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 automatically obtain good settings: |
| 50 |
</p> |
| 51 |
|
| 52 |
<pre caption="Selecting fast mirrors"> |
| 53 |
# <i>mirrorselect -a -s4 -o >> /mnt/gentoo/etc/make.conf</i> |
| 54 |
</pre> |
| 55 |
|
| 56 |
<p> |
| 57 |
After running <c>mirrorselect</c> it is adviseable to double-check the settings |
| 58 |
in <path>/mnt/gentoo/etc/make.conf</path>. |
| 33 |
</p> |
59 |
</p> |
| 34 |
|
60 |
|
| 35 |
</body> |
61 |
</body> |