/[gentoo]/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE included SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml,v 1.6 2011/02/16 15:37:12 jkt Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml,v 1.7 2012/07/24 12:12:51 swift Exp $ -->
4 4
5<included> 5<included>
6 6
7<version>6</version> 7<version>7</version>
8<date>2011-02-16</date> 8<date>2012-07-24</date>
9 9
10<section id="after-reboot"> 10<section id="after-reboot">
11<title>Finalizing the Installation</title> 11<title>Finalizing the Installation</title>
12<body> 12<body>
13 13
54<title>Last configuration touches</title> 54<title>Last configuration touches</title>
55<body> 55<body>
56 56
57<p> 57<p>
58Start by selecting nearby mirrors either by defining the <c>SYNC</c> and 58Start by selecting nearby mirrors either by defining the <c>SYNC</c> and
59<c>GENTOO_MIRRORS</c> variables in <path>/etc/make.conf</path> or by using 59<c>GENTOO_MIRRORS</c> variables in <path>/etc/portage/make.conf</path> or by using
60<c>mirrorselect</c>. You can also define the number of concurrent compilation 60<c>mirrorselect</c>. You can also define the number of concurrent compilation
61processes at this point. 61processes at this point.
62</p> 62</p>
63 63
64<pre caption="Use mirrorselect and set MAKEOPTS"> 64<pre caption="Use mirrorselect and set MAKEOPTS">
65mybox ~ # <i>emerge mirrorselect</i> 65mybox ~ # <i>emerge mirrorselect</i>
66mybox ~ # <i>mirrorselect -i -o >> /etc/make.conf</i> 66mybox ~ # <i>mirrorselect -i -o >> /etc/portage/make.conf</i>
67mybox ~ # <i>mirrorselect -i -r -o >> /etc/make.conf</i> 67mybox ~ # <i>mirrorselect -i -r -o >> /etc/portage/make.conf</i>
68<comment>(Usually, (the number of processors + 1) is a good value)</comment> 68<comment>(Usually, (the number of processors + 1) is a good value)</comment>
69mybox ~ # <i>echo 'MAKEOPTS="-j2"' >> /etc/make.conf</i> 69mybox ~ # <i>echo 'MAKEOPTS="-j2"' >> /etc/portage/make.conf</i>
70</pre> 70</pre>
71 71
72<p> 72<p>
73Now is a good time to enable or disable some USE flags. Run <c>emerge -vpe 73Now is a good time to enable or disable some USE flags. Run <c>emerge -vpe
74world</c> to list all currently installed packages and their enabled and 74world</c> to list all currently installed packages and their enabled and
75disabled USE flags. Either edit <path>/etc/make.conf</path> or use the 75disabled USE flags. Either edit <path>/etc/portage/make.conf</path> or use the
76following command to define the USE variable: 76following command to define the USE variable:
77</p> 77</p>
78 78
79<pre caption="View USE flags in use and enable or disable some"> 79<pre caption="View USE flags in use and enable or disable some">
80mybox ~ # <i>emerge -vpe world</i> 80mybox ~ # <i>emerge -vpe world</i>
81<comment>(Portage displays the packages and their USE flags, as an example, let's 81<comment>(Portage displays the packages and their USE flags, as an example, let's
82disable fortran, and enable ipv6 and unicode)</comment> 82disable fortran, and enable ipv6 and unicode)</comment>
83mybox ~ # <i>echo 'USE="nptl nptlonly ipv6 -fortran unicode"' >> /etc/make.conf</i> 83mybox ~ # <i>echo 'USE="nptl nptlonly ipv6 -fortran unicode"' >> /etc/portage/make.conf</i>
84</pre> 84</pre>
85 85
86<p> 86<p>
87Recent versions of glibc use <path>/etc/locale.gen</path> to define locale 87Recent versions of glibc use <path>/etc/locale.gen</path> to define locale
88settings. 88settings.
94mybox etc # <i>locale-gen</i> 94mybox etc # <i>locale-gen</i>
95</pre> 95</pre>
96 96
97<p> 97<p>
98Last but not least, you may want to alter the <c>CFLAGS</c> variable in your 98Last but not least, you may want to alter the <c>CFLAGS</c> variable in your
99<path>/etc/make.conf</path> to optimise the code to your specific needs. Please 99<path>/etc/portage/make.conf</path> to optimise the code to your specific needs. Please
100note that using a long list of flags is rarely needed and can even lead to a 100note that using a long list of flags is rarely needed and can even lead to a
101broken system. It is recommended to specify the processor type in the 101broken system. It is recommended to specify the processor type in the
102<c>march</c> option and stick to <c>-O2 -pipe</c>. 102<c>march</c> option and stick to <c>-O2 -pipe</c>.
103</p> 103</p>
104 104
107deal with the odd broken ebuild or package. If you'd rather keep your system 107deal with the odd broken ebuild or package. If you'd rather keep your system
108stable, <e>don't</e> add the <c>ACCEPT_KEYWORDS</c> variable. 108stable, <e>don't</e> add the <c>ACCEPT_KEYWORDS</c> variable.
109</p> 109</p>
110 110
111<pre caption="Last edit of make.conf"> 111<pre caption="Last edit of make.conf">
112mybox etc # <i>cd portage</i>
112mybox etc # <i>nano -w make.conf</i> 113mybox portage # <i>nano -w make.conf</i>
113<comment>(Set -march to your CPU type in CFLAGS)</comment> 114<comment>(Set -march to your CPU type in CFLAGS)</comment>
114CFLAGS="-O2 -march=<i>athlon-xp</i> -pipe" 115CFLAGS="-O2 -march=<i>athlon-xp</i> -pipe"
115<comment>(Only add the following if you know what you're doing)</comment> 116<comment>(Only add the following if you know what you're doing)</comment>
116ACCEPT_KEYWORDS="~x86" 117ACCEPT_KEYWORDS="~x86"
117</pre> 118</pre>
189 190
190<pre caption="Emerge GNOME"> 191<pre caption="Emerge GNOME">
191mybox etc # <i>emerge -vp gnome</i> 192mybox etc # <i>emerge -vp gnome</i>
192<comment>(Look at the list of packages and their USE flags, 193<comment>(Look at the list of packages and their USE flags,
193then edit make.conf if required.</comment> 194then edit make.conf if required.</comment>
194mybox etc # <i>nano -w /etc/make.conf</i> 195mybox etc # <i>nano -w /etc/portage/make.conf</i>
195<comment>(The following USE flags have been defined)</comment> 196<comment>(The following USE flags have been defined)</comment>
196USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \ 197USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \
197 -kde -qt4 -arts -eds -esd gnome gstreamer gtk firefox" 198 -kde -qt4 -arts -eds -esd gnome gstreamer gtk firefox"
198 199
199mybox etc # <i>time emerge gnome</i> 200mybox etc # <i>time emerge gnome</i>
206 207
207<pre caption="Emerge KDE"> 208<pre caption="Emerge KDE">
208mybox etc # <i>emerge -vp kde-meta</i> 209mybox etc # <i>emerge -vp kde-meta</i>
209<comment>(Look at the list of packages and their USE flags, 210<comment>(Look at the list of packages and their USE flags,
210then edit make.conf if required.</comment> 211then edit make.conf if required.</comment>
211mybox etc # <i>nano -w /etc/make.conf</i> 212mybox etc # <i>nano -w /etc/portage/make.conf</i>
212<comment>The following USE flags have been defined)</comment> 213<comment>The following USE flags have been defined)</comment>
213USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \ 214USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \
214 kde qt4 -arts -eds -esd -gnome -gstreamer -gtk -firefox" 215 kde qt4 -arts -eds -esd -gnome -gstreamer -gtk -firefox"
215 216
216mybox etc # <i>time emerge kde-meta</i> 217mybox etc # <i>time emerge kde-meta</i>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20