| … | |
… | |
| 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/1.0 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.4 2004/04/15 11:59:45 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.23 2004/12/02 11:00:16 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
|
|
10 | |
|
|
11 | <version>1.19</version> |
|
|
12 | <date>2004-11-04</date> |
|
|
13 | |
| 10 | <section> |
14 | <section> |
| 11 | <title>Hardware Requirements</title> |
15 | <title>Hardware Requirements</title> |
| 12 | <subsection> |
16 | <subsection> |
| 13 | <title>Introduction</title> |
17 | <title>Introduction</title> |
| 14 | <body> |
18 | <body> |
| … | |
… | |
| 30 | continue with the Gentoo installation: |
34 | continue with the Gentoo installation: |
| 31 | </p> |
35 | </p> |
| 32 | |
36 | |
| 33 | <ul> |
37 | <ul> |
| 34 | <li> |
38 | <li> |
| 35 | You need at least 1 Gb of free disk space |
39 | You need at least 1 GB of free disk space |
| 36 | </li> |
40 | </li> |
| 37 | <li> |
41 | <li> |
| 38 | For the <e>Alpha architecture</e>, you should check with the <uri |
42 | For the <e>Alpha architecture</e>, you should check with the <uri |
| 39 | link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri> |
43 | link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri> |
| 40 | </li> |
44 | </li> |
| … | |
… | |
| 95 | power users who know what they are doing. It is also a great |
99 | power users who know what they are doing. It is also a great |
| 96 | installation method for those who would like to know more about the |
100 | installation method for those who would like to know more about the |
| 97 | inner workings of Gentoo Linux. |
101 | inner workings of Gentoo Linux. |
| 98 | </p> |
102 | </p> |
| 99 | |
103 | |
|
|
104 | <p> |
|
|
105 | A <e>stage1</e> installation can only be performed when you have a working |
|
|
106 | Internet connection. |
|
|
107 | </p> |
|
|
108 | |
| 100 | <table> |
109 | <table> |
| 101 | <tr> |
110 | <tr> |
| 102 | <th>Stage1</th> |
111 | <th>Stage1</th> |
| 103 | <th>Pros and Cons</th> |
112 | <th>Pros and Cons</th> |
| 104 | </tr> |
113 | </tr> |
| … | |
… | |
| 125 | <th>-</th> |
134 | <th>-</th> |
| 126 | <ti> |
135 | <ti> |
| 127 | If you don't intend to tweak the settings, it is probably a waste of time |
136 | If you don't intend to tweak the settings, it is probably a waste of time |
| 128 | </ti> |
137 | </ti> |
| 129 | </tr> |
138 | </tr> |
|
|
139 | <tr> |
|
|
140 | <th>-</th> |
|
|
141 | <ti> |
|
|
142 | Not suitable for networkless installations |
|
|
143 | </ti> |
|
|
144 | </tr> |
| 130 | </table> |
145 | </table> |
| 131 | |
146 | |
| 132 | <p> |
147 | <p> |
| 133 | <e>Stage2</e> installs allow you to skip the bootstrap process and doing this |
148 | <e>Stage2</e> installs allow you to skip the bootstrap process and doing this |
| 134 | is fine if you are happy with the optimization settings that we chose |
149 | is fine if you are happy with the optimization settings that we chose |
| 135 | for your particular <e>stage2</e> tarball. |
150 | for your particular <e>stage2</e> tarball. |
| 136 | </p> |
151 | </p> |
| 137 | |
152 | |
|
|
153 | <p> |
|
|
154 | A <e>stage2</e> installation can only be performed when you have a working |
|
|
155 | Internet connection. |
|
|
156 | </p> |
|
|
157 | |
| 138 | <table> |
158 | <table> |
| 139 | <tr> |
159 | <tr> |
| 140 | <th>Stage2</th> |
160 | <th>Stage2</th> |
| 141 | <th>Pros and Cons</th> |
161 | <th>Pros and Cons</th> |
| 142 | </tr> |
162 | </tr> |
| … | |
… | |
| 161 | <ti>It's not the fastest way to install Gentoo</ti> |
181 | <ti>It's not the fastest way to install Gentoo</ti> |
| 162 | </tr> |
182 | </tr> |
| 163 | <tr> |
183 | <tr> |
| 164 | <th>-</th> |
184 | <th>-</th> |
| 165 | <ti>You have to accept the optimizations we chose for the bootstrap</ti> |
185 | <ti>You have to accept the optimizations we chose for the bootstrap</ti> |
|
|
186 | </tr> |
|
|
187 | <tr> |
|
|
188 | <th>-</th> |
|
|
189 | <ti> |
|
|
190 | Not suitable for networkless installations |
|
|
191 | </ti> |
| 166 | </tr> |
192 | </tr> |
| 167 | </table> |
193 | </table> |
| 168 | |
194 | |
| 169 | <p> |
195 | <p> |
| 170 | Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo |
196 | Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo |
| 171 | Linux, but also means that your base system will have the optimization |
197 | Linux, but also means that your base system will have the optimization |
| 172 | settings that we chose for you (which to be honest, are good settings |
198 | settings that we chose for you (which to be honest, are good settings |
| 173 | and were carefully chosen to enhance performance while maintaining |
199 | and were carefully chosen to enhance performance while maintaining |
| 174 | stability). <e>stage3</e> is also required if you want to install Gentoo using |
200 | stability). <e>stage3</e> is also required if you want to install Gentoo using |
| 175 | prebuilt packages. |
201 | prebuilt packages or without a network connection. |
| 176 | </p> |
202 | </p> |
| 177 | |
203 | |
| 178 | <table> |
204 | <table> |
| 179 | <tr> |
205 | <tr> |
| 180 | <th>Stage3</th> |
206 | <th>Stage3</th> |
| 181 | <th>Pros and Cons</th> |
207 | <th>Pros and Cons</th> |
| 182 | </tr> |
208 | </tr> |
| 183 | <tr> |
209 | <tr> |
| 184 | <th>+</th> |
210 | <th>+</th> |
| 185 | <ti>Fastest way to get a Gentoo base system</ti> |
211 | <ti>Fastest way to get a Gentoo base system</ti> |
|
|
212 | </tr> |
|
|
213 | <tr> |
|
|
214 | <th>+</th> |
|
|
215 | <ti>Suitable for networkless installations</ti> |
| 186 | </tr> |
216 | </tr> |
| 187 | <tr> |
217 | <tr> |
| 188 | <th>-</th> |
218 | <th>-</th> |
| 189 | <ti>You cannot tweak the base system - it's built already</ti> |
219 | <ti>You cannot tweak the base system - it's built already</ti> |
| 190 | </tr> |
220 | </tr> |
| … | |
… | |
| 255 | <p> |
285 | <p> |
| 256 | In case you wonder if your downloaded file is corrupted or not, you can |
286 | In case you wonder if your downloaded file is corrupted or not, you can |
| 257 | check its MD5 checksum and compare it with the MD5 checksum we provide (such as |
287 | check its MD5 checksum and compare it with the MD5 checksum we provide (such as |
| 258 | <path>gentoo-alpha-1.4rc1-test3.iso.bz2.md5sum</path>). You can check the MD5 |
288 | <path>gentoo-alpha-1.4rc1-test3.iso.bz2.md5sum</path>). You can check the MD5 |
| 259 | checksum with the <c>md5sum</c> tool under Linux/Unix or <uri |
289 | checksum with the <c>md5sum</c> tool under Linux/Unix or <uri |
| 260 | link="http://www.md5summer.org">md5summer</uri> for Windows. |
290 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
| 261 | </p> |
291 | </p> |
| 262 | |
292 | |
| 263 | <p> |
293 | <p> |
| 264 | Once downloaded, decompress the ISO file (as it is stored in a compressed format |
294 | Once downloaded, decompress the ISO file (as it is stored in a compressed format |
| 265 | using the Burrows-Wheeler text compression algorithm) using <c>bunzip2</c> (on |
295 | using the Burrows-Wheeler text compression algorithm) using <c>bunzip2</c> (on |
| … | |
… | |
| 269 | <pre caption="Decompressing the iso.bz2 file"> |
299 | <pre caption="Decompressing the iso.bz2 file"> |
| 270 | # <i>bunzip2 gentoo-alpha-1.4rc1-test3.iso.bz2</i> |
300 | # <i>bunzip2 gentoo-alpha-1.4rc1-test3.iso.bz2</i> |
| 271 | </pre> |
301 | </pre> |
| 272 | |
302 | |
| 273 | <p> |
303 | <p> |
|
|
304 | Another way to check the validity of the downloaded file is to use GnuPG to |
|
|
305 | verify the cryptographic signature that we provide (the file ending with |
|
|
306 | <path>.asc</path>). Download the signature file and obtain the public key: |
|
|
307 | </p> |
|
|
308 | |
|
|
309 | <pre caption="Obtaining the public key"> |
|
|
310 | $ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i> |
|
|
311 | </pre> |
|
|
312 | |
|
|
313 | <p> |
|
|
314 | Now verify the signature: |
|
|
315 | </p> |
|
|
316 | |
|
|
317 | <pre caption="Verify the cryptographic signature"> |
|
|
318 | $ <i>gpg --verify <signature file> <downloaded iso></i> |
|
|
319 | </pre> |
|
|
320 | |
|
|
321 | <p> |
| 274 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
322 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
| 275 | do this is highly program-dependent. We will discuss a couple of popular |
323 | do this is highly program-dependent. We will discuss <c>cdrecord</c> and |
| 276 | tools on how to do this. |
324 | <c>K3B</c> here; more information can be found in our <uri |
|
|
325 | link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. |
| 277 | </p> |
326 | </p> |
| 278 | |
327 | |
| 279 | <ul> |
328 | <ul> |
| 280 | <li> |
|
|
| 281 | With EasyCD Creator you select <c>File</c>, <c>Record CD |
|
|
| 282 | from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image |
|
|
| 283 | file</c>. Then locate the ISO file and click <c>Open</c>. When you click on |
|
|
| 284 | <c>Start recording</c> the ISO image will be burned correctly onto the CD-R. |
|
|
| 285 | </li> |
|
|
| 286 | <li> |
|
|
| 287 | With Nero Burning ROM, select <c>File</c>, <c>Burn CD image</c>. Set the |
|
|
| 288 | type of file to <c>*.*</c> and select the ISO file. Older versions of Nero |
|
|
| 289 | will tell you they don't recognize the format -- confirm here, it does |
|
|
| 290 | recognize it but doesn't know it yet :) In the next dialog, set the |
|
|
| 291 | following parameters: |
|
|
| 292 | <ul> |
|
|
| 293 | <li>Type of image: <c>Data Mode 1</c></li> |
|
|
| 294 | <li>Block size: <c>2048 bytes</c></li> |
|
|
| 295 | <li>File precursor and length of the image trailer: <c>0 bytes</c></li> |
|
|
| 296 | <li>Scrambled: <c>no</c></li> |
|
|
| 297 | <li>Swapped: <c>no</c></li> |
|
|
| 298 | </ul> |
|
|
| 299 | Now click on <c>OK</c> and then <c>Burn</c> (the CD-R) |
|
|
| 300 | </li> |
|
|
| 301 | <li> |
329 | <li> |
| 302 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace |
330 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace |
| 303 | <path>/dev/hdc</path> with your CD-RW drive's device path) followed |
331 | <path>/dev/hdc</path> with your CD-RW drive's device path) followed |
| 304 | by the path to the ISO file :) |
332 | by the path to the ISO file :) |
| 305 | </li> |
333 | </li> |
| 306 | <li> |
334 | <li> |
| 307 | With K3B, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. The |
335 | With K3B, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. Then |
| 308 | under the 'Image to Burn' area, locate the ISO file. Finally click |
336 | you can locate your ISO file within the 'Image to Burn' area. Finally click |
| 309 | <c>Start</c>. |
337 | <c>Start</c>. |
| 310 | </li> |
338 | </li> |
| 311 | </ul> |
339 | </ul> |
| 312 | |
340 | |
| 313 | </body> |
341 | </body> |
| … | |
… | |
| 325 | |
353 | |
| 326 | <p> |
354 | <p> |
| 327 | SRM is based on the Alpha Console Subsystem specification, which provides an |
355 | SRM is based on the Alpha Console Subsystem specification, which provides an |
| 328 | operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARM |
356 | operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARM |
| 329 | is based on the Advanced RISC Computing (ARC) specification, which provides |
357 | is based on the Advanced RISC Computing (ARC) specification, which provides |
| 330 | an operating environment for Windows NT. |
358 | an operating environment for Windows NT. You can find a |
|
|
359 | <uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on |
|
|
360 | using SRM over at the Alpha Linux website. |
| 331 | </p> |
361 | </p> |
| 332 | |
362 | |
| 333 | <p> |
363 | <p> |
| 334 | If your Alpha system supports both SRC and ARCs (ARC, AlphaBIOS, ARCSBIOS) you |
364 | If your Alpha system supports both SRC and ARCs (ARC, AlphaBIOS, ARCSBIOS) you |
| 335 | should follow <uri link="http://www.alphalinux.org/faq/x31.html">these |
365 | should follow <uri link="http://www.alphalinux.org/faq/x31.html">these |
| … | |
… | |
| 422 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
452 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
| 423 | </pre> |
453 | </pre> |
| 424 | |
454 | |
| 425 | </body> |
455 | </body> |
| 426 | </subsection> |
456 | </subsection> |
| 427 | <subsection> |
457 | <subsection id="useraccounts"> |
| 428 | <title>Optional: User Accounts</title> |
458 | <title>Optional: User Accounts</title> |
| 429 | <body> |
459 | <body> |
| 430 | |
460 | |
| 431 | <p> |
461 | <p> |
| 432 | If you plan on giving other people access to your installation |
462 | If you plan on giving other people access to your installation |
| … | |
… | |
| 450 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
480 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
| 451 | In the next example, we create a user called "john". |
481 | In the next example, we create a user called "john". |
| 452 | </p> |
482 | </p> |
| 453 | |
483 | |
| 454 | <pre caption="Creating a user account"> |
484 | <pre caption="Creating a user account"> |
| 455 | # <i>useradd john</i> |
485 | # <i>useradd -m -G users john</i> |
| 456 | # <i>passwd john</i> |
486 | # <i>passwd john</i> |
| 457 | New password: <comment>(Enter john's password)</comment> |
487 | New password: <comment>(Enter john's password)</comment> |
| 458 | Re-enter password: <comment>(Re-enter john's password)</comment> |
488 | Re-enter password: <comment>(Re-enter john's password)</comment> |
| 459 | </pre> |
489 | </pre> |
| 460 | |
490 | |
| … | |
… | |
| 462 | You can change your user id from root to the newly created user by using |
492 | You can change your user id from root to the newly created user by using |
| 463 | <c>su</c>: |
493 | <c>su</c>: |
| 464 | </p> |
494 | </p> |
| 465 | |
495 | |
| 466 | <pre caption="Changing user id"> |
496 | <pre caption="Changing user id"> |
| 467 | # <i>su john -</i> |
497 | # <i>su - john</i> |
|
|
498 | </pre> |
|
|
499 | |
|
|
500 | </body> |
|
|
501 | </subsection> |
|
|
502 | <subsection> |
|
|
503 | <title>Optional: Viewing Documentation while Installing</title> |
|
|
504 | <body> |
|
|
505 | |
|
|
506 | <p> |
|
|
507 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
508 | installation, make sure you have created a user account (see <uri |
|
|
509 | link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
510 | go to a new terminal and log in. |
| 468 | </pre> |
511 | </p> |
|
|
512 | |
|
|
513 | <p> |
|
|
514 | If you want to view the documentation on the CD you can immediately run |
|
|
515 | <c>lynx</c> to read it: |
|
|
516 | </p> |
|
|
517 | |
|
|
518 | <pre caption="Viewing the on-CD documentation"> |
|
|
519 | # <i>lynx /mnt/cdrom/docs/html/index.html</i> |
|
|
520 | </pre> |
|
|
521 | |
|
|
522 | <p> |
|
|
523 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
524 | more recent than the one provided on the CD. You can view it using <c>lynx</c> |
|
|
525 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
526 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
527 | document): |
|
|
528 | </p> |
|
|
529 | |
|
|
530 | <pre caption="Viewing the Online Documentation"> |
|
|
531 | # <i>lynx http://www.gentoo.org/doc/en/handbook/handbook-alpha.xml</i> |
|
|
532 | </pre> |
|
|
533 | |
|
|
534 | <p> |
|
|
535 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
536 | </p> |
| 469 | |
537 | |
| 470 | </body> |
538 | </body> |
| 471 | </subsection> |
539 | </subsection> |
| 472 | <subsection> |
540 | <subsection> |
| 473 | <title>Optional: Starting the SSH Daemon</title> |
541 | <title>Optional: Starting the SSH Daemon</title> |
| … | |
… | |
| 488 | <pre caption="Starting the SSH daemon"> |
556 | <pre caption="Starting the SSH daemon"> |
| 489 | # <i>/etc/init.d/sshd start</i> |
557 | # <i>/etc/init.d/sshd start</i> |
| 490 | </pre> |
558 | </pre> |
| 491 | |
559 | |
| 492 | <p> |
560 | <p> |
| 493 | To be able to use sshd, you first need to setup your networking. Continue with |
561 | To be able to use sshd, you first need to set up your networking. Continue with |
| 494 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
562 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
| 495 | </p> |
563 | </p> |
| 496 | |
564 | |
| 497 | </body> |
565 | </body> |
| 498 | </subsection> |
566 | </subsection> |