/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml

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

Revision 1.32 Revision 1.54
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.32 2005/05/25 09:47:58 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.54 2011/02/27 07:05:54 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.4</version> 11<version>12</version>
12<date>2005-05-24</date> 12<date>2011-02-26</date>
13 13
14<section> 14<section>
15<title>Hardware Requirements</title> 15<title>Hardware Requirements</title>
16<subsection> 16<subsection>
17<title>Introduction</title> 17<title>Introduction</title>
51</table> 51</table>
52 52
53</body> 53</body>
54</subsection> 54</subsection>
55</section> 55</section>
56<!-- Copy/paste from the hb-install-x86-medium.xml file. --> 56
57<!-- START -->
58<section> 57<section>
59<title>The Gentoo Installation Approaches</title>
60<subsection>
61<title>Introduction</title>
62<body>
63
64<p>
65Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
66A stage file is a tarball (compressed archive) that contains a minimal
67environment.
68</p>
69
70<ul>
71 <li>
72 A stage1 file contains nothing more than a compiler, Portage (Gentoo's
73 software management system) and a couple of packages on which the compiler
74 or Portage depends.
75 </li>
76 <li>
77 A stage2 file contains a so-called bootstrapped system, a minimal
78 environment from which one can start building all other necessary
79 applications that make a Gentoo environment complete.
80 </li>
81 <li>
82 A stage3 file contains a prebuilt minimal system which is almost fully
83 deployable. It only lacks a few applications where you, the Gentoo user,
84 needs to choose which one you want to install.
85 </li>
86</ul>
87
88<p>
89To help you decide what stage file you want to use, we have written down the
90major advantages and disadvantages of each stage file.
91</p>
92
93</body>
94</subsection>
95<subsection>
96<title>A Stage1 Approach</title>
97<body>
98
99<p>
100A <e>stage1</e> is used when you want to bootstrap and build the entire system
101from scratch.
102</p>
103
104<p>
105Starting from a stage1 allows you to have total control over the
106optimization settings and optional build-time functionality that is
107initially enabled on your system. This makes <e>stage1</e> installs good for
108power users who know what they are doing. It is also a great
109installation method for those who would like to know more about the
110inner workings of Gentoo Linux.
111</p>
112
113<table>
114<tr>
115 <th>Stage1</th>
116 <th>Pros and Cons</th>
117</tr>
118<tr>
119 <th>+</th>
120 <ti>
121 Allows you to have total control over the optimization settings and optional
122 build-time functionality that is initially enabled on your system
123 </ti>
124</tr>
125<tr>
126 <th>+</th>
127 <ti>Suitable for powerusers that know what they are doing</ti>
128</tr>
129<tr>
130 <th>+</th>
131 <ti>Allows you to learn more about the inner workings of Gentoo</ti>
132</tr>
133<tr>
134 <th>-</th>
135 <ti>Takes a long time to finish the installation</ti>
136</tr>
137<tr>
138 <th>-</th>
139 <ti>
140 If you don't intend to tweak the settings, it is a waste of time
141 </ti>
142</tr>
143<tr>
144 <th>-</th>
145 <ti>
146 Requires a working Internet connection during the installation
147 </ti>
148</tr>
149</table>
150
151</body>
152</subsection>
153<subsection>
154<title>A Stage2 Approach</title>
155<body>
156
157<p>
158A <e>stage2</e> is used for building the entire system from a bootstrapped
159"semi-compiled" state.
160</p>
161
162<p>
163Stage2 installs allow you to skip the bootstrap process; doing this
164is fine if you are happy with the optimization settings that we chose
165for your particular stage2 tarball.
166</p>
167
168<table>
169<tr>
170 <th>Stage2</th>
171 <th>Pros and Cons</th>
172</tr>
173<tr>
174 <th>+</th>
175 <ti>You don't need to bootstrap</ti>
176</tr>
177<tr>
178 <th>+</th>
179 <ti>Faster than starting with stage1</ti>
180</tr>
181<tr>
182 <th>+</th>
183 <ti>You can still tweak your settings</ti>
184</tr>
185<tr>
186 <th>-</th>
187 <ti>You cannot tweak as much as with a stage1</ti>
188</tr>
189<tr>
190 <th>-</th>
191 <ti>It's still not the fastest way to install Gentoo</ti>
192</tr>
193<tr>
194 <th>-</th>
195 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
196</tr>
197<tr>
198 <th>-</th>
199 <ti>
200 Requires a working Internet connection during the installation
201 </ti>
202</tr>
203</table>
204
205</body>
206</subsection>
207<subsection>
208<title>A Stage3 Approach</title>
209<body>
210
211<p>
212A <e>stage3</e> installation contains a basic Gentoo Linux system that has been
213built for you. You will only need to build a few packages of which we can't
214decide for you which one to choose.
215</p>
216
217<p>
218Choosing to go with a stage3 allows for the fastest install of Gentoo
219Linux, but also means that your base system will have the optimization
220settings that we chose for you (which to be honest, are good settings
221and were carefully chosen to enhance performance while maintaining
222stability). Stage3 is also required if you want to install Gentoo using
223prebuilt packages or without a network connection.
224</p>
225
226<table>
227<tr>
228 <th>Stage3</th>
229 <th>Pros and Cons</th>
230</tr>
231<tr>
232 <th>+</th>
233 <ti>Fastest way to get a Gentoo base system</ti>
234</tr>
235<tr>
236 <th>-</th>
237 <ti>You cannot tweak the base system - it's built already</ti>
238</tr>
239</table>
240
241<p>
242You might be interested to know that, if you decide to use different
243optimization settings after having installed Gentoo, you will be able to
244recompile your entire system with the new optimization settings.
245</p>
246
247</body>
248</subsection>
249</section>
250<section>
251<title>The Gentoo Installation CDs</title> 58<title>The Gentoo Installation CD</title>
252<subsection> 59<subsection>
253<title>Introduction</title> 60<title>Introduction</title>
254<body> 61<body>
255 62
256<p> 63<p>
260are loaded. They are maintained by Gentoo developers. 67are loaded. They are maintained by Gentoo developers.
261</p> 68</p>
262 69
263<p> 70<p>
264All Installation CDs allow you to boot, set up networking, initialize your 71All Installation CDs allow you to boot, set up networking, initialize your
265partitions and start installing Gentoo from the Internet. We currently provide 72partitions and start installing Gentoo from the Internet.
266two Installation CDs which are equaly suitable to install Gentoo from, as long
267as you're planning on performing an Internet-based installation using the
268latest version of the available packages.
269</p>
270
271<p> 73</p>
74
75<!--
76<impo>
272If you wish to install Gentoo without a working Internet connection, please use 77If you wish to install Gentoo without a working Internet connection, please use
273the installation instructions described in the <uri 78the installation instructions described in the <uri
274link="2005.0/index.xml">Gentoo 2005.0 Handbooks</uri>. 79link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>.
275</p> 80</impo>
276 81
277<p> 82<p>
278The two Installation CDs we currently provide are: 83The two Installation CDs we currently provide are:
279</p> 84</p>
280 85
284 sole purpose is to boot the system, prepare the networking and continue 89 sole purpose is to boot the system, prepare the networking and continue
285 with the Gentoo installation. 90 with the Gentoo installation.
286 </li> 91 </li>
287 <li> 92 <li>
288 The Gentoo Universal Installation CD, a bootable CD with the same abilities 93 The Gentoo Universal Installation CD, a bootable CD with the same abilities
289 as the Minimal Installation CD. Additionally, it contains a stage1 and 94 as the Minimal Installation CD. Additionally, it contains several stage3
290 several stage3 tarballs (optimized for the individual subarchitectures). 95 tarballs (optimized for the individual subarchitectures).
291 </li> 96 </li>
292</ul> 97</ul>
293 98
294<p> 99<p>
295To help you decide which Installation CD you need, we have written down the 100To help you decide which Installation CD you need, we have written down the
296major advantages and disadvantages of each Installation CD. 101major advantages and disadvantages of each Installation CD.
297</p> 102</p>
103-->
298 104
299</body> 105</body>
300</subsection>
301<subsection> 106</subsection>
107<subsection>
302<title>Gentoo's Minimal Installation CD</title> 108<title>Gentoo Minimal Installation CD</title>
303<body> 109<body>
304 110
305<p>
306The Minimal Installation CD is called <c>install-alpha-minimal-2005.0.iso</c>
307and takes up only 54 MB of diskspace. You can use this Installation CD to
308install Gentoo, but always with a working Internet connection only.
309</p> 111<p>
310 112The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
113takes up only <keyval id="min-cd-size"/> MB of diskspace. You can use this
114Installation CD to install Gentoo, but <e>only</e> with a working Internet
115connection.
116</p>
117<!--
311<table> 118<table>
312<tr> 119<tr>
313 <th>Minimal Installation CD</th> 120 <th>Minimal Installation CD</th>
314 <th>Pros and Cons</th> 121 <th>Pros and Cons</th>
315</tr> 122</tr>
316<tr> 123<tr>
317 <th>+</th> 124 <th>+</th>
318 <ti>Smallest download</ti> 125 <ti>Smallest download</ti>
319</tr> 126</tr>
320<tr> 127<tr>
321 <th>+</th>
322 <ti>
323 You can do a stage1, stage2 or stage3 by getting the stage tarball off the
324 net
325 </ti>
326</tr>
327<tr>
328 <th>-</th> 128 <th>-</th>
329 <ti> 129 <ti>
330 Contains no stages, no Portage snapshot, no prebuilt packages and is 130 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
331 therefore not suitable for networkless installation 131 therefore not suitable for networkless installation
332 </ti> 132 </ti>
333</tr> 133</tr>
334</table> 134</table>
335 135
338<subsection> 138<subsection>
339<title>Gentoo's Universal Installation CD</title> 139<title>Gentoo's Universal Installation CD</title>
340<body> 140<body>
341 141
342<p> 142<p>
343The Universal Installation CD is called <c>install-alpha-universal-2005.0.iso</c> 143The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c>
344and consumes the entire surface of a 650 MB CD. You can use this Installation CD 144and consumes about 316 MB on a CD. You can use this Installation CD to install
345to install Gentoo, and you can even use it to install Gentoo without a working 145Gentoo, and you can even use it to install Gentoo without a working internet
346internet connection, just in case you want to bring Gentoo to another PC than 146connection.
347the one you are currently installing Gentoo on :)
348</p> 147</p>
349 148
350<table> 149<table>
351<tr> 150<tr>
352 <th>Universal Installation CD</th> 151 <th>Universal Installation CD</th>
367</tr> 166</tr>
368</table> 167</table>
369 168
370</body> 169</body>
371</subsection> 170</subsection>
171
372<subsection> 172<subsection>
373<title>Other CDs</title> 173<title>Other CDs</title>
374<body> 174<body>
375 175
376<p> 176<p>
377You might find a so-called Package CD on one of our mirrors. This CD is no 177You might find a Package CD on one of our mirrors. This CD is not an
378Installation CD but an additional resource that can be exploited during a 178Installation CD but an additional resource that can be exploited during a
379networkless installation. It contains prebuilt packages (the so-called GRP set) 179networkless installation. It contains prebuilt packages (also known as the GRP
380that allows you to easily and quickly install additional applications (such as 180set) that allow you to easily and quickly install additional applications
381OpenOffice.org, KDE, GNOME, ...) immediately after the networkless Gentoo 181(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
382installation. 182Gentoo installation.
183</p>
184
185<p>
186If you intend to use the Packages CD to quickly install additional software,
187make sure that you use the same subarchitecture as the stage3 tarball you use.
188</p>
189-->
190</body>
191</subsection>
192<subsection>
193<title>The Stage3 Tarball</title>
194<body>
195
196<p>
197A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
198to continue the Gentoo installation using the instructions in this manual.
199Previously, the Gentoo Handbook described the installation using one of three
200stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
201official installation method uses the stage3 tarball. If you are interested in
202performing a Gentoo installation using a stage1 or stage2 tarball, please read
203the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
204Using a Stage1 or Stage2 Tarball?</uri>
205</p>
206
207<p>
208Stage3 tarballs can be downloaded from <path><keyval
209id="release-dir"/>current-stage3/</path> on any of the <uri
210link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided
211on the LiveCD.
383</p> 212</p>
384 213
385</body> 214</body>
386</subsection> 215</subsection>
387</section> 216</section>
397downloading and burning the chosen Installation CD. We previously discussed 226downloading and burning the chosen Installation CD. We previously discussed
398the several available Installation CDs, but where can you find them? 227the several available Installation CDs, but where can you find them?
399</p> 228</p>
400 229
401<p> 230<p>
402You can download any of the Installation CDs (and, if you want to, a Packages 231You can download any of the Installation CDs from one of our <uri
403CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The 232link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in
404Installation CDs are located in the <path>releases/alpha/2005.0/installcd</path> 233the <path><keyval id="release-dir"/>current-iso/</path> directory.
405directory.
406</p>
407
408<p> 234</p>
235
236<p>
409Inside that directory you'll find so-called ISO-files. Those are full CD images 237Inside that directory you'll find ISO files. Those are full CD images which you
410which you can write on a CD-R. 238can write on a CD-R.
411</p>
412
413<p> 239</p>
240
241<p>
414In case you wonder if your downloaded file is corrupted or not, you can 242In case you wonder if your downloaded file is corrupted or not, you can check
415check its MD5 checksum and compare it with the MD5 checksum we provide (such as 243its MD5 checksum and compare it with the MD5 checksum we provide (such as
416<path>install-alpha-minimal-2005.0.iso.md5</path>). You can check the MD5 244<path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5 checksum
417checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 245with the <c>md5sum</c> tool under Linux/Unix or <uri
418link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 246link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
419</p> 247</p>
420 248
421<p> 249<p>
422Another way to check the validity of the downloaded file is to use GnuPG to 250Another way to check the validity of the downloaded file is to use GnuPG to
423verify the cryptographic signature that we provide (the file ending with 251verify the cryptographic signature that we provide (the file ending with
424<path>.asc</path>). Download the signature file and obtain the public key: 252<path>.asc</path>). Download the signature file and obtain the public key:
425</p> 253</p>
426 254
427<pre caption="Obtaining the public key"> 255<pre caption="Obtaining the public key">
428$ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i> 256$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 2D182910</i>
429</pre> 257</pre>
430 258
431<p> 259<p>
432Now verify the signature: 260Now verify the signature:
433</p> 261</p>
434 262
435<pre caption="Verify the cryptographic signature"> 263<pre caption="Verify the files">
436$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i> 264<comment>(Verify the cryptographic signature)</comment>
265$ <i>gpg --verify &lt;downloaded iso.DIGESTS.asc&gt;</i>
266<comment>(Verify the checksum)</comment>
267$ <i>sha1sum -c &lt;downloaded iso.DIGESTS.asc&gt;</i>
437</pre> 268</pre>
438 269
439<p> 270<p>
440To burn the downloaded ISO(s), you have to select raw-burning. How you 271To burn the downloaded ISO(s), you have to select raw-burning. How you
441do this is highly program-dependent. We will discuss <c>cdrecord</c> and 272do this is highly program-dependent. We will discuss <c>cdrecord</c> and
448 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso 279 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
449 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's 280 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
450 device path). 281 device path).
451 </li> 282 </li>
452 <li> 283 <li>
453 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 284 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
454 you can locate your ISO file within the 'Image to Burn' area. Finally click 285 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
455 <c>Start</c>.
456 </li> 286 </li>
457</ul> 287</ul>
458 288
459</body> 289</body>
460</subsection> 290</subsection>
485are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you 315are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you
486will need to choose <c>MILO</c> later on when we are talking about bootloaders. 316will need to choose <c>MILO</c> later on when we are talking about bootloaders.
487</p> 317</p>
488 318
489<p> 319<p>
490Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the 320Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the
491system. You can use SRM to boot the Installation CD. If you cannot do that, you 321system. You can use SRM to boot the Installation CD. If you cannot do that, you
492will have to use <c>MILO</c>. If you don't have <c>MILO</c> installed already, 322will have to use <c>MILO</c>.
493use one of the precompiled <c>MILO</c> images available on <uri
494link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>.
495</p> 323</p>
496 324
497<pre caption="Booting a CD-ROM using SRM"> 325<pre caption="Booting a CD-ROM using SRM">
498<comment>(List available hardware drives)</comment> 326<comment>(List available hardware drives)</comment>
499&gt;&gt;&gt; <i>show device</i> 327&gt;&gt;&gt; <i>show device</i>
500dkb0.0.1.4.0 DKB0 TOSHIBA CDROM 328dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
501<comment>(...)</comment> 329<comment>(...)</comment>
502<comment>(Substitute dkb0 with your CD-ROM drive device)</comment> 330<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
503&gt;&gt;&gt; <i>boot dkb0 -flags 0</i> 331&gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
332<comment>(This flag will use serial port ttyS0 as the default console)</comment>
333&gt;&gt;&gt; <i>boot dkb0 -flags 2</i>
504</pre> 334</pre>
505 335
506<pre caption="Booting a CD-ROM using MILO"> 336<pre caption="Booting a CD-ROM using MILO">
507<comment>(Substitute hdb with your CD-ROM drive device)</comment> 337<comment>(Substitute sdb with your CD-ROM drive device)</comment>
508MILO&gt; <i>boot hdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i> 338MILO&gt; <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot</i>
339<comment>(Using serial port ttyS0 as the default console)</comment>
340MILO&gt; <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot</i>
509</pre> 341</pre>
510 342
511<p> 343<p>
512You should have a root ("#") prompt on the current console and can also switch 344You should have a root ("#") prompt on the current console and can also switch
513to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 345to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
518Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 350Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
519</p> 351</p>
520 352
521</body> 353</body>
522</subsection> 354</subsection>
523<subsection id="hardware">
524<title>Extra Hardware Configuration</title>
525<body>
526 355
527<p>
528When the Installation CD boots, it tries to detect all your hardware devices and
529loads the appropriate kernel modules to support your hardware. In the
530vast majority of cases, it does a very good job. However, in some cases it may
531not auto-load the kernel
532modules you need. If the PCI auto-detection missed some of your system's
533hardware, you will have to load the appropriate kernel modules manually.
534</p>
535
536<p>
537In the next example we try to load the <c>8139too</c> module (support for
538certain kinds of network interfaces):
539</p>
540
541<pre caption="Loading kernel modules">
542# <i>modprobe 8139too</i>
543</pre>
544
545</body>
546</subsection> 356<subsection>
357<include href="hb-install-bootconfig.xml"/>
547<subsection> 358</subsection>
548<title>Optional: Tweaking Hard Disk Performance</title>
549<body>
550 359
551<p>
552If you are an advanced user, you might want to tweak the IDE hard disk
553performance using <c>hdparm</c>. With the <c>-tT</c> options you can
554test the performance of your disk (execute it several times to get a
555more precise impression):
556</p>
557
558<pre caption="Testing disk performance">
559# <i>hdparm -tT /dev/hda</i>
560</pre>
561
562<p>
563To tweak, you can use any of the following examples (or experiment
564yourself) which use <path>/dev/hda</path> as disk (substitute with your
565disk):
566</p>
567
568<pre caption="Tweaking hard disk performance">
569<comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
570<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
571</pre>
572
573</body>
574</subsection>
575<subsection id="useraccounts">
576<title>Optional: User Accounts</title>
577<body>
578
579<p>
580If you plan on giving other people access to your installation
581environment or you want to chat using <c>irssi</c> without root privileges (for
582security reasons), you need to create the necessary user accounts and change
583the root password.
584</p>
585
586<p>
587To change the root password, use the <c>passwd</c> utility:
588</p>
589
590<pre caption="Changing the root password">
591# <i>passwd</i>
592New password: <comment>(Enter your new password)</comment>
593Re-enter password: <comment>(Re-enter your password)</comment>
594</pre>
595
596<p>
597To create a user account, we first enter their credentials, followed by
598its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
599In the next example, we create a user called &quot;john&quot;.
600</p>
601
602<pre caption="Creating a user account">
603# <i>useradd -m -G users john</i>
604# <i>passwd john</i>
605New password: <comment>(Enter john's password)</comment>
606Re-enter password: <comment>(Re-enter john's password)</comment>
607</pre>
608
609<p>
610You can change your user id from root to the newly created user by using
611<c>su</c>:
612</p>
613
614<pre caption="Changing user id">
615# <i>su - john</i>
616</pre>
617
618</body>
619</subsection>
620<subsection>
621<title>Optional: Viewing Documentation while Installing</title>
622<body>
623
624<p>
625If you want to view the Gentoo Handbook (either from-CD or online) during the
626installation, make sure you have created a user account (see <uri
627link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
628go to a new terminal and log in.
629</p>
630
631<p>
632If you want to view the documentation on the CD you can immediately run
633<c>lynx</c> to read it:
634</p>
635
636<pre caption="Viewing the on-CD documentation">
637# <i>lynx /mnt/cdrom/docs/handbook/html/index.html</i>
638</pre>
639
640<p>
641However, it is preferred that you use the online Gentoo Handbook as it will be
642more recent than the one provided on the CD. You can view it using <c>lynx</c>
643as well, but only after having completed the <e>Configuring your Network</e>
644chapter (otherwise you won't be able to go on the Internet to view the
645document):
646</p>
647
648<pre caption="Viewing the Online Documentation">
649# <i>lynx http://www.gentoo.org/doc/en/handbook/handbook-alpha.xml</i>
650</pre>
651
652<p>
653You can go back to your original terminal by pressing <c>Alt-F1</c>.
654</p>
655
656</body>
657</subsection>
658<subsection>
659<title>Optional: Starting the SSH Daemon</title>
660<body>
661
662<p>
663If you want to allow other users to access your computer during the
664Gentoo installation (perhaps because those users are going to help you
665install Gentoo, or even do it for you), you need to create a user
666account for them and perhaps even provide them with your root password
667(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
668</p>
669
670<p>
671To fire up the SSH daemon, execute the following command:
672</p>
673
674<pre caption="Starting the SSH daemon">
675# <i>/etc/init.d/sshd start</i>
676</pre>
677
678<p>
679To be able to use sshd, you first need to set up your networking. Continue with
680the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
681</p>
682
683</body>
684</subsection>
685</section> 360</section>
686</sections> 361</sections>

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20