|
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. Portage will look in your <path>make.conf</path> file for the |
| 23 |
and source code (of course this requires a working network connection): |
23 |
GENTOO_MIRRORS variable and use the mirrors listed therein. You can surf to |
|
|
24 |
our <uri link="/main/en/mirrors.xml">mirror list</uri> and search |
| 25 |
for a mirror (or mirrors) close to you (as those are most frequently the |
| 26 |
fastest ones), but we provide a nice tool called <c>mirrorselect</c> which |
| 27 |
provides you with a nice interface to select the mirrors you want. |
| 28 |
</p> |
| 29 |
|
| 30 |
<pre caption="Using mirrorselect for the GENTOO_MIRRORS variable"> |
| 31 |
# <i>mirrorselect -i -o >> /mnt/gentoo/etc/make.conf</i> |
| 32 |
</pre> |
| 33 |
|
| 34 |
<p> |
| 35 |
A second important setting is the SYNC setting in <path>make.conf</path>. This |
| 36 |
variable contains the rsync server you want to use when updating your Portage |
| 37 |
tree (the collection of ebuilds, scripts containing all the information Portage |
| 38 |
needs to download and install software). Although you can manually enter a SYNC |
| 39 |
server for yourself, <c>mirrorselect</c> can ease that operation for you: |
| 24 |
</p> |
40 |
</p> |
| 25 |
|
41 |
|
| 26 |
<pre caption="Selecting fast mirrors"> |
42 |
<pre caption="Selecting an rsync mirror using mirrorselect"> |
| 27 |
# <i>mirrorselect -a -s4 -o |grep 'GENTOO_MIRRORS=' >> /mnt/gentoo/etc/make.conf</i> |
43 |
# <i>mirrorselect -i -r -o >> /mnt/gentoo/etc/make.conf</i> |
| 28 |
</pre> |
44 |
</pre> |
| 29 |
|
45 |
|
| 30 |
<p> |
46 |
<p> |
| 31 |
If for some reason <c>mirrorselect</c> fails, don't panic. This step is |
47 |
After running <c>mirrorselect</c> it is adviseable to double-check the settings |
| 32 |
completely optional, the default values suffice. |
48 |
in <path>/mnt/gentoo/etc/make.conf</path> ! |
| 33 |
</p> |
49 |
</p> |
| 34 |
|
50 |
|
| 35 |
</body> |
51 |
</body> |