/[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.5
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.5 2010/10/14 06:14:35 nightmorph Exp $ -->
4 4
5<included> 5<included>
6 6
7<version>1</version> 7<version>5</version>
8<date>2008-01-01</date> 8<date>2010-10-13</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>
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/make.conf</path> to optimise the code to your specific needs. Please
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>nano -w make.conf</i> 112mybox etc # <i>nano -w make.conf</i>
113<comment>(Set -march to your CPU type in CFLAGS)</comment> 113<comment>(Set -march to your CPU type in CFLAGS)</comment>
114CFLAGS="-O2 -march=<i>athlon-xp</i> -pipe" 114CFLAGS="-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> 115<comment>(Only add the following if you know what you're doing)</comment>
118ACCEPT_KEYWORDS="~x86" 116ACCEPT_KEYWORDS="~x86"
119</pre> 117</pre>
120 118
121<p> 119<p>
136<brite>B</brite> ]" in the output of <c>emerge -vpuD --newuse world</c> and 134<brite>B</brite> ]" in the output of <c>emerge -vpuD --newuse world</c> and
137use <c>emerge -C</c> to remove them. 135use <c>emerge -C</c> to remove them.
138</p> 136</p>
139 137
140<pre caption="Update your packages"> 138<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> 139<comment>(Please note that the switch to ~x86 causes many packages to be upgraded)</comment>
145mybox etc # <i>emerge -vpuD --newuse world</i> 140mybox etc # <i>emerge -vpuD --newuse world</i>
146<comment>(Take a good look at the package list and their USE flags, 141<comment>(Take a good look at the package list and their USE flags,
147remove blocking packages if any, and start the lengthy process)</comment> 142remove blocking packages if any, and start the lengthy process)</comment>
148mybox etc # <i>time emerge -vuD --newuse world</i> 143mybox etc # <i>time emerge -vuD --newuse world</i>
151real 180m13.276s 146real 180m13.276s
152user 121m22.905s 147user 121m22.905s
153sys 36m31.472s 148sys 36m31.472s
154 149
155<comment>(Remerge libtool to avoid further potential problems)</comment> 150<comment>(Remerge libtool to avoid further potential problems)</comment>
156mybox etc # <i>emerge libtool</i> 151mybox etc # <i>emerge --oneshot libtool</i>
157 152
158<comment>(Update config files, make sure you <b>do not</b> let etc-update 153<comment>(Update config files, make sure you <b>do not</b> let dispatch-conf
159update config files you have edited)</comment> 154update config files you have edited)</comment>
160mybox etc # <i>etc-update</i> 155mybox etc # <i>dispatch-conf</i>
161 156
162<comment>(If perl has been updated, you should run the perl-cleaner script)</comment> 157<comment>(If perl has been updated, you should run the perl-cleaner script)</comment>
163mybox etc # <i>time perl-cleaner all</i> 158mybox etc # <i>time perl-cleaner all</i>
164real 1m6.495s 159real 1m6.495s
165user 0m42.699s 160user 0m42.699s
197<comment>(Look at the list of packages and their USE flags, 192<comment>(Look at the list of packages and their USE flags,
198then edit make.conf if required.</comment> 193then edit make.conf if required.</comment>
199mybox etc # <i>nano -w /etc/make.conf</i> 194mybox etc # <i>nano -w /etc/make.conf</i>
200<comment>(The following USE flags have been defined)</comment> 195<comment>(The following USE flags have been defined)</comment>
201USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \ 196USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \
202 -kde -qt3 -qt4 -arts -eds -esd gnome gstreamer gtk firefox" 197 -kde -qt4 -arts -eds -esd gnome gstreamer gtk firefox"
203 198
204mybox etc # <i>time emerge gnome</i> 199mybox etc # <i>time emerge gnome</i>
205<comment>(326 packages have been emerged)</comment> 200<comment>(326 packages have been emerged)</comment>
206 201
207real 520m44.532s 202real 520m44.532s
214<comment>(Look at the list of packages and their USE flags, 209<comment>(Look at the list of packages and their USE flags,
215then edit make.conf if required.</comment> 210then edit make.conf if required.</comment>
216mybox etc # <i>nano -w /etc/make.conf</i> 211mybox etc # <i>nano -w /etc/make.conf</i>
217<comment>The following USE flags have been defined)</comment> 212<comment>The following USE flags have been defined)</comment>
218USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \ 213USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \
219 kde qt3 qt4 -arts -eds -esd -gnome -gstreamer -gtk -firefox" 214 kde qt4 -arts -eds -esd -gnome -gstreamer -gtk -firefox"
220 215
221mybox etc # <i>time emerge kde-meta</i> 216mybox etc # <i>time emerge kde-meta</i>
222<comment>(391 packages have been emerged)</comment> 217<comment>(391 packages have been emerged)</comment>
223 218
224real 1171m25.318s 219real 1171m25.318s

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

  ViewVC Help
Powered by ViewVC 1.1.20