/[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.1 Revision 1.7
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml,v 1.1 2008/01/01 21:32:30 neysx Exp $ -->
3<!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.7 2012/07/24 12:12:51 swift Exp $ -->
4 4
5<included> 5<included>
6 6
7<version>1</version> 7<version>7</version>
8<date>2008-01-01</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
39Warning: Permanently added '192.168.1.10' (RSA) to the list of known hosts. 39Warning: Permanently added '192.168.1.10' (RSA) to the list of known hosts.
40Password: <comment>type_the_password</comment> 40Password: <comment>type_the_password</comment>
41</pre> 41</pre>
42 42
43<pre caption="Add a new user"> 43<pre caption="Add a new user">
44mybox ~ # <i>adduser -g users -G lp,wheel,audio,cdrom,portage,cron -m john</i> 44mybox ~ # <i>useradd -g users -G lp,wheel,audio,cdrom,portage,cron -m john</i>
45mybox ~ # <i>passwd john</i> 45mybox ~ # <i>passwd john</i>
46New UNIX password: <comment>Set John's password</comment> 46New UNIX password: <comment>Set John's password</comment>
47Retype new UNIX password: <comment>Type John's password again</comment> 47Retype new UNIX password: <comment>Type John's password again</comment>
48passwd: password updated successfully 48passwd: password updated successfully
49</pre> 49</pre>
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 ipv6 and fortran, and enable 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.
89</p> 89</p>
90 90
91<pre caption="Define locales"> 91<pre caption="Define locales">
92mybox ~ # <i>cd /etc</i> 92mybox ~ # <i>cd /etc</i>
93mybox etc # <i>nano -w locale.gen</i> 93mybox etc # <i>nano -w locale.gen</i>
94mybox etc # <i>locale-gen</i>
94</pre> 95</pre>
95 96
96<p> 97<p>
97Last 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
98<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
99note 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
100broken system. It is recommended to specify the processor type in the 101broken system. It is recommended to specify the processor type in the
101<c>march</c> option and stick to <c>-O2 -pipe</c>. 102<c>march</c> option and stick to <c>-O2 -pipe</c>.
102</p> 103</p>
103 104
104<p> 105<p>
105You may also want to switch to <b>~x86</b>. You should only do this if you can 106You may also want to switch to <b>~x86</b>. You should only do this if you can
106deal 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
107stable, don't add the <c>ACCEPT_KEYWORDS</c> variable. Adding 108stable, <e>don't</e> add the <c>ACCEPT_KEYWORDS</c> variable.
108<c>FEATURES="parallel-fetch ccache"</c> is also a good idea.
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>(Add the following line)</comment>
116FEATURES="parallel-fetch ccache"
117<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>
118ACCEPT_KEYWORDS="~x86" 117ACCEPT_KEYWORDS="~x86"
119</pre> 118</pre>
120 119
121<p> 120<p>
136<brite>B</brite> ]" in the output of <c>emerge -vpuD --newuse world</c> and 135<brite>B</brite> ]" in the output of <c>emerge -vpuD --newuse world</c> and
137use <c>emerge -C</c> to remove them. 136use <c>emerge -C</c> to remove them.
138</p> 137</p>
139 138
140<pre caption="Update your packages"> 139<pre caption="Update your packages">
141<comment>(Install ccache)</comment>
142mybox etc # <i>emerge ccache</i>
143
144<comment>(Please note that the switch to ~x86 causes many packages to be upgraded)</comment> 140<comment>(Please note that the switch to ~x86 causes many packages to be upgraded)</comment>
145mybox etc # <i>emerge -vpuD --newuse world</i> 141mybox etc # <i>emerge -vpuD --newuse world</i>
146<comment>(Take a good look at the package list and their USE flags, 142<comment>(Take a good look at the package list and their USE flags,
147remove blocking packages if any, and start the lengthy process)</comment> 143remove blocking packages if any, and start the lengthy process)</comment>
148mybox etc # <i>time emerge -vuD --newuse world</i> 144mybox etc # <i>time emerge -vuD --newuse world</i>
151real 180m13.276s 147real 180m13.276s
152user 121m22.905s 148user 121m22.905s
153sys 36m31.472s 149sys 36m31.472s
154 150
155<comment>(Remerge libtool to avoid further potential problems)</comment> 151<comment>(Remerge libtool to avoid further potential problems)</comment>
156mybox etc # <i>emerge libtool</i> 152mybox etc # <i>emerge --oneshot libtool</i>
157 153
158<comment>(Update config files, make sure you <b>do not</b> let etc-update 154<comment>(Update config files, make sure you <b>do not</b> let dispatch-conf
159update config files you have edited)</comment> 155update config files you have edited)</comment>
160mybox etc # <i>etc-update</i> 156mybox etc # <i>dispatch-conf</i>
161 157
162<comment>(If perl has been updated, you should run the perl-cleaner script)</comment> 158<comment>(If perl has been updated, you should run the perl-cleaner script)</comment>
163mybox etc # <i>time perl-cleaner all</i> 159mybox etc # <i>time perl-cleaner all</i>
164real 1m6.495s 160real 1m6.495s
165user 0m42.699s 161user 0m42.699s
194 190
195<pre caption="Emerge GNOME"> 191<pre caption="Emerge GNOME">
196mybox etc # <i>emerge -vp gnome</i> 192mybox etc # <i>emerge -vp gnome</i>
197<comment>(Look at the list of packages and their USE flags, 193<comment>(Look at the list of packages and their USE flags,
198then edit make.conf if required.</comment> 194then edit make.conf if required.</comment>
199mybox etc # <i>nano -w /etc/make.conf</i> 195mybox etc # <i>nano -w /etc/portage/make.conf</i>
200<comment>(The following USE flags have been defined)</comment> 196<comment>(The following USE flags have been defined)</comment>
201USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \ 197USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \
202 -kde -qt3 -qt4 -arts -eds -esd gnome gstreamer gtk firefox" 198 -kde -qt4 -arts -eds -esd gnome gstreamer gtk firefox"
203 199
204mybox etc # <i>time emerge gnome</i> 200mybox etc # <i>time emerge gnome</i>
205<comment>(326 packages have been emerged)</comment> 201<comment>(326 packages have been emerged)</comment>
206 202
207real 520m44.532s 203real 520m44.532s
211 207
212<pre caption="Emerge KDE"> 208<pre caption="Emerge KDE">
213mybox etc # <i>emerge -vp kde-meta</i> 209mybox etc # <i>emerge -vp kde-meta</i>
214<comment>(Look at the list of packages and their USE flags, 210<comment>(Look at the list of packages and their USE flags,
215then edit make.conf if required.</comment> 211then edit make.conf if required.</comment>
216mybox etc # <i>nano -w /etc/make.conf</i> 212mybox etc # <i>nano -w /etc/portage/make.conf</i>
217<comment>The following USE flags have been defined)</comment> 213<comment>The following USE flags have been defined)</comment>
218USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \ 214USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \
219 kde qt3 qt4 -arts -eds -esd -gnome -gstreamer -gtk -firefox" 215 kde qt4 -arts -eds -esd -gnome -gstreamer -gtk -firefox"
220 216
221mybox etc # <i>time emerge kde-meta</i> 217mybox etc # <i>time emerge kde-meta</i>
222<comment>(391 packages have been emerged)</comment> 218<comment>(391 packages have been emerged)</comment>
223 219
224real 1171m25.318s 220real 1171m25.318s

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

  ViewVC Help
Powered by ViewVC 1.1.20