| … | |
… | |
| 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/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.46 2008/04/01 08:53:46 nightmorph Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.48 2009/01/26 07:51:05 nightmorph Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>9.0</version> |
11 | <version>9.2</version> |
| 12 | <date>2008-04-01</date> |
12 | <date>2009-01-25</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> |
| … | |
… | |
| 149 | |
149 | |
| 150 | <p> |
150 | <p> |
| 151 | The Universal Installation CD is called |
151 | The Universal Installation CD is called |
| 152 | <c>install-sparc64-universal-2008.0.iso</c> and uses 295 MB. You can use this |
152 | <c>install-sparc64-universal-2008.0.iso</c> and uses 295 MB. You can use this |
| 153 | Installation CD to install Gentoo, and you can even use it to install Gentoo |
153 | Installation CD to install Gentoo, and you can even use it to install Gentoo |
| 154 | without a working internet connection, just in case you want to bring Gentoo to |
154 | without a working internet connection. |
| 155 | another PC than the one you are currently installing Gentoo on :) |
|
|
| 156 | </p> |
155 | </p> |
| 157 | |
156 | |
| 158 | <table> |
157 | <table> |
| 159 | <tr> |
158 | <tr> |
| 160 | <th>Universal Installation CD</th> |
159 | <th>Universal Installation CD</th> |
| … | |
… | |
| 323 | Continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
322 | Continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
| 324 | </p> |
323 | </p> |
| 325 | |
324 | |
| 326 | </body> |
325 | </body> |
| 327 | </subsection> |
326 | </subsection> |
| 328 | <subsection id="hardware"> |
|
|
| 329 | <title>Extra Hardware Configuration</title> |
|
|
| 330 | <body> |
|
|
| 331 | |
327 | |
| 332 | <p> |
|
|
| 333 | If not all hardware is supported out-of-the-box, you will need to load the |
|
|
| 334 | appropriate kernel modules. |
|
|
| 335 | </p> |
|
|
| 336 | |
|
|
| 337 | <p> |
|
|
| 338 | In the next example we try to load the <c>8139too</c> module (support for |
|
|
| 339 | certain kinds of network interfaces): |
|
|
| 340 | </p> |
|
|
| 341 | |
|
|
| 342 | <pre caption="Loading kernel modules"> |
|
|
| 343 | # <i>modprobe 8139too</i> |
|
|
| 344 | </pre> |
|
|
| 345 | |
|
|
| 346 | </body> |
|
|
| 347 | </subsection> |
328 | <subsection> |
| 348 | <subsection id="useraccounts"> |
329 | <include href="hb-install-bootconfig.xml"/> |
| 349 | <title>Optional: User Accounts</title> |
|
|
| 350 | <body> |
|
|
| 351 | |
|
|
| 352 | <p> |
|
|
| 353 | If you plan on giving other people access to your installation |
|
|
| 354 | environment or you want to chat using <c>irssi</c> without root privileges (for |
|
|
| 355 | security reasons), you need to create the necessary user accounts and change |
|
|
| 356 | the root password. |
|
|
| 357 | </p> |
|
|
| 358 | |
|
|
| 359 | <p> |
|
|
| 360 | To change the root password, use the <c>passwd</c> utility: |
|
|
| 361 | </p> |
|
|
| 362 | |
|
|
| 363 | <pre caption="Changing the root password"> |
|
|
| 364 | # <i>passwd</i> |
|
|
| 365 | New password: <comment>(Enter your new password)</comment> |
|
|
| 366 | Re-enter password: <comment>(Re-enter your password)</comment> |
|
|
| 367 | </pre> |
|
|
| 368 | |
|
|
| 369 | <p> |
|
|
| 370 | To create a user account, we first enter their credentials, followed by |
|
|
| 371 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
|
|
| 372 | In the next example, we create a user called "john". |
|
|
| 373 | </p> |
|
|
| 374 | |
|
|
| 375 | <pre caption="Creating a user account"> |
|
|
| 376 | # <i>useradd -m -G users john</i> |
|
|
| 377 | # <i>passwd john</i> |
|
|
| 378 | New password: <comment>(Enter john's password)</comment> |
|
|
| 379 | Re-enter password: <comment>(Re-enter john's password)</comment> |
|
|
| 380 | </pre> |
|
|
| 381 | |
|
|
| 382 | <p> |
|
|
| 383 | You can change your user id from root to the newly created user by using |
|
|
| 384 | <c>su</c>: |
|
|
| 385 | </p> |
|
|
| 386 | |
|
|
| 387 | <pre caption="Changing user id"> |
|
|
| 388 | # <i>su - john</i> |
|
|
| 389 | </pre> |
|
|
| 390 | |
|
|
| 391 | </body> |
|
|
| 392 | </subsection> |
|
|
| 393 | <subsection> |
330 | </subsection> |
| 394 | <title>Optional: Viewing Documentation while Installing</title> |
|
|
| 395 | <body> |
|
|
| 396 | |
331 | |
| 397 | <p> |
|
|
| 398 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
| 399 | installation, make sure you have created a user account (see <uri |
|
|
| 400 | link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
| 401 | go to a new terminal and log in. |
|
|
| 402 | </p> |
|
|
| 403 | |
|
|
| 404 | <p> |
|
|
| 405 | If you want to view the documentation on the CD you can immediately run |
|
|
| 406 | <c>links</c> to read it: |
|
|
| 407 | </p> |
|
|
| 408 | |
|
|
| 409 | <pre caption="Viewing the on-CD documentation"> |
|
|
| 410 | # <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
|
|
| 411 | </pre> |
|
|
| 412 | |
|
|
| 413 | <p> |
|
|
| 414 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
| 415 | more recent than the one provided on the CD. You can view it using <c>links</c> |
|
|
| 416 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
| 417 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
| 418 | document): |
|
|
| 419 | </p> |
|
|
| 420 | |
|
|
| 421 | <pre caption="Viewing the Online Documentation"> |
|
|
| 422 | # <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
|
|
| 423 | </pre> |
|
|
| 424 | |
|
|
| 425 | <p> |
|
|
| 426 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
| 427 | </p> |
|
|
| 428 | |
|
|
| 429 | </body> |
|
|
| 430 | </subsection> |
|
|
| 431 | <subsection> |
|
|
| 432 | <title>Optional: Starting the SSH Daemon</title> |
|
|
| 433 | <body> |
|
|
| 434 | |
|
|
| 435 | <p> |
|
|
| 436 | If you want to allow other users to access your computer during the |
|
|
| 437 | Gentoo installation (perhaps because those users are going to help you |
|
|
| 438 | install Gentoo, or even do it for you), you need to create a user |
|
|
| 439 | account for them and perhaps even provide them with your root password |
|
|
| 440 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
|
|
| 441 | </p> |
|
|
| 442 | |
|
|
| 443 | <p> |
|
|
| 444 | To fire up the SSH daemon, execute the following command: |
|
|
| 445 | </p> |
|
|
| 446 | |
|
|
| 447 | <pre caption="Starting the SSH daemon"> |
|
|
| 448 | # <i>/etc/init.d/sshd start</i> |
|
|
| 449 | </pre> |
|
|
| 450 | |
|
|
| 451 | <p> |
|
|
| 452 | To be able to use sshd, you first need to set up your networking. Continue with |
|
|
| 453 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
|
|
| 454 | </p> |
|
|
| 455 | |
|
|
| 456 | </body> |
|
|
| 457 | </subsection> |
|
|
| 458 | </section> |
332 | </section> |
| 459 | </sections> |
333 | </sections> |