| 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/1.0 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.14 2004/07/29 16:21:22 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.15 2004/08/08 10:12:39 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | <section> |
10 | <section> |
| 11 | <title>Hardware Requirements</title> |
11 | <title>Hardware Requirements</title> |
| 12 | <subsection> |
12 | <subsection> |
| 13 | <title>Introduction</title> |
13 | <title>Introduction</title> |
| 14 | <body> |
14 | <body> |
| 15 | |
15 | |
| 16 | <p> |
16 | <p> |
| 17 | Before we start, we first list what hardware requirements you need to |
17 | Before we start, we first list what hardware requirements you need to |
| 18 | successfully install Gentoo on your box. This of course depends on your |
18 | successfully install Gentoo on your box. This of course depends on your |
| 19 | architecture. |
19 | architecture. |
| 20 | </p> |
20 | </p> |
| 21 | |
21 | |
| 22 | </body> |
22 | </body> |
| … | |
… | |
| 524 | </pre> |
524 | </pre> |
| 525 | |
525 | |
| 526 | <p> |
526 | <p> |
| 527 | To tweak, you can use any of the following examples (or experiment |
527 | To tweak, you can use any of the following examples (or experiment |
| 528 | yourself) which use <path>/dev/hda</path> as disk (substitute with your |
528 | yourself) which use <path>/dev/hda</path> as disk (substitute with your |
| 529 | disk): |
529 | disk): |
| 530 | </p> |
530 | </p> |
| 531 | |
531 | |
| 532 | <pre caption="Tweaking hard disk performance"> |
532 | <pre caption="Tweaking hard disk performance"> |
| 533 | <comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i> |
533 | <comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i> |
| 534 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
534 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
| 535 | </pre> |
535 | </pre> |
| 536 | |
536 | |
| 537 | </body> |
537 | </body> |
| 538 | </subsection> |
538 | </subsection> |
| 539 | <subsection> |
539 | <subsection id="useraccounts"> |
| 540 | <title>Optional: User Accounts</title> |
540 | <title>Optional: User Accounts</title> |
| 541 | <body> |
541 | <body> |
| 542 | |
542 | |
| 543 | <p> |
543 | <p> |
| 544 | If you plan on giving other people access to your installation |
544 | If you plan on giving other people access to your installation |
| 545 | environment or you want to chat using <c>irssi</c> without root privileges (for |
545 | environment or you want to chat using <c>irssi</c> without root privileges (for |
| 546 | security reasons), you need to create the necessary user accounts and change |
546 | security reasons), you need to create the necessary user accounts and change |
| 547 | the root password. |
547 | the root password. |
| 548 | </p> |
548 | </p> |
| 549 | |
549 | |
| 550 | <p> |
550 | <p> |
| 551 | To change the root password, use the <c>passwd</c> utility: |
551 | To change the root password, use the <c>passwd</c> utility: |
| 552 | </p> |
552 | </p> |
| 553 | |
553 | |
| 554 | <pre caption="Changing the root password"> |
554 | <pre caption="Changing the root password"> |
| … | |
… | |
| 570 | Re-enter password: <comment>(Re-enter john's password)</comment> |
570 | Re-enter password: <comment>(Re-enter john's password)</comment> |
| 571 | </pre> |
571 | </pre> |
| 572 | |
572 | |
| 573 | <p> |
573 | <p> |
| 574 | You can change your user id from root to the newly created user by using |
574 | You can change your user id from root to the newly created user by using |
| 575 | <c>su</c>: |
575 | <c>su</c>: |
| 576 | </p> |
576 | </p> |
| 577 | |
577 | |
| 578 | <pre caption="Changing user id"> |
578 | <pre caption="Changing user id"> |
| 579 | # <i>su john -</i> |
579 | # <i>su john -</i> |
| 580 | </pre> |
580 | </pre> |
| 581 | |
581 | |
| 582 | </body> |
582 | </body> |
| 583 | </subsection> |
583 | </subsection> |
| 584 | <subsection> |
584 | <subsection> |
|
|
585 | <title>Optional: Viewing Documentation while Installing</title> |
|
|
586 | <body> |
|
|
587 | |
|
|
588 | <p> |
|
|
589 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
590 | installation, make sure you have created a user account (see <uri |
|
|
591 | link="#useraccouts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
592 | go to a new terminal and log in. |
|
|
593 | </p> |
|
|
594 | |
|
|
595 | <p> |
|
|
596 | If you want to view the documentation on the CD you can immediately run |
|
|
597 | <c>links2</c> to read it: |
|
|
598 | </p> |
|
|
599 | |
|
|
600 | <pre caption="Viewing the on-CD documentation"> |
|
|
601 | # <i>links2 /mnt/cdrom/docs/html/index.html</i> |
|
|
602 | </pre> |
|
|
603 | |
|
|
604 | <p> |
|
|
605 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
606 | more recent than the one provided on the CD. You can view it using <c>links2</c> |
|
|
607 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
608 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
609 | document): |
|
|
610 | </p> |
|
|
611 | |
|
|
612 | <pre caption="Viewing the Online Documentation"> |
|
|
613 | # <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml</i> |
|
|
614 | </pre> |
|
|
615 | |
|
|
616 | <p> |
|
|
617 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
618 | </p> |
|
|
619 | |
|
|
620 | </body> |
|
|
621 | </subsection> |
|
|
622 | <subsection> |
| 585 | <title>Optional: Starting the SSH Daemon</title> |
623 | <title>Optional: Starting the SSH Daemon</title> |
| 586 | <body> |
624 | <body> |
| 587 | |
625 | |
| 588 | <p> |
626 | <p> |
| 589 | If you want to allow other users to access your computer during the |
627 | If you want to allow other users to access your computer during the |
| 590 | Gentoo installation (perhaps because those users are going to help you |
628 | Gentoo installation (perhaps because those users are going to help you |
| 591 | install Gentoo, or even do it for you), you need to create a user |
629 | install Gentoo, or even do it for you), you need to create a user |
| 592 | account for them and perhaps even provide them with your root password |
630 | account for them and perhaps even provide them with your root password |
| 593 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
631 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
| 594 | </p> |
632 | </p> |
| 595 | |
633 | |
| 596 | <p> |
634 | <p> |
| 597 | To fire up the SSH daemon, execute the following command: |
635 | To fire up the SSH daemon, execute the following command: |
| 598 | </p> |
636 | </p> |
| 599 | |
637 | |