/[gentoo]/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-quickinstall.xml

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

Revision 1.69 Revision 1.70
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.xml,v 1.69 2007/02/26 08:58:04 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.70 2007/04/08 00:51:00 nightmorph Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 5
6<guide link="/doc/en/gentoo-x86-quickinstall.xml" lang="en"> 6<guide link="/doc/en/gentoo-x86-quickinstall.xml" lang="en">
7<title>Gentoo Linux x86 Quick Install Guide</title> 7<title>Gentoo Linux x86 Quick Install Guide</title>
23 23
24<!-- The content of this document is licensed under the CC-BY-SA license --> 24<!-- The content of this document is licensed under the CC-BY-SA license -->
25<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 25<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
26<license/> 26<license/>
27 27
28<version>12</version> 28<version>13</version>
29<date>2007-02-26</date> 29<date>2007-04-07</date>
30 30
31<chapter> 31<chapter>
32<title>Introduction</title> 32<title>Introduction</title>
33<section> 33<section>
34<body> 34<body>
391<section> 391<section>
392<title>Set your timezone</title> 392<title>Set your timezone</title>
393<body> 393<body>
394 394
395<p> 395<p>
396Set your time zone information by copying the correct file from 396Set your time zone information by setting the timezone listing from
397<path>/usr/share/zoneinfo</path> over the <path>/etc/localtime</path> file. 397<path>/usr/share/zoneinfo</path> in <path>/etc/conf.d/clock</path>.
398</p> 398</p>
399 399
400<pre caption="Copy your timezone file"> 400<pre caption="Copy your timezone file">
401<comment>(Using Brussels as an example)</comment> 401<comment>(Using Brussels as an example)</comment>
402livecd / # <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i> 402livecd / # <i>nano -w /etc/conf.d/clock</i>
403TIMEZONE="CET"
404
403livecd / # <i>date</i> 405livecd / # <i>date</i>
404Wed Mar 8 00:46:05 CET 2006 406Wed Mar 8 00:46:05 CET 2006
405</pre> 407</pre>
406 408
407</body> 409</body>
487</p> 489</p>
488 490
489<pre caption="Configure networking"> 491<pre caption="Configure networking">
490livecd etc # <i>cd conf.d</i> 492livecd etc # <i>cd conf.d</i>
491livecd conf.d # <i>echo 'config_eth0=( "192.168.1.10/24" )' >> net</i> 493livecd conf.d # <i>echo 'config_eth0=( "192.168.1.10/24" )' >> net</i>
492livecd conf.d # <i>echo 'routes_eth0=( "default via 192.168.1.1" )' >> net</i> 494livecd conf.d # <i>echo 'routes_eth0=( "default gw 192.168.1.1" )' >> net</i>
493livecd conf.d # <i>rc-update add net.eth0 default</i> 495livecd conf.d # <i>rc-update add net.eth0 default</i>
494<comment>(If you compiled your network card driver as a module, 496<comment>(If you compiled your network card driver as a module,
495add it to /etc/modules.autoload.d/kernel-2.6)</comment> 497add it to /etc/modules.autoload.d/kernel-2.6)</comment>
496livecd conf.d # <i>echo r8169 >> /etc/modules.autoload.d/kernel-2.6</i> 498livecd conf.d # <i>echo r8169 >> /etc/modules.autoload.d/kernel-2.6</i>
497<comment>(If you want to reconnect via ssh after you have rebooted your new box:)</comment> 499<comment>(If you want to reconnect via ssh after you have rebooted your new box:)</comment>
498livecd conf.d # <i>rc-update add sshd default</i> 500livecd conf.d # <i>rc-update add sshd default</i>
499</pre> 501</pre>
500 502
501<note> 503<note>
502Emerge <c>pcmcia-cs</c> and add it to the default run level if you need it. 504Emerge <c>pcmciautils</c> if you need support for PCMCIA cards.
503</note> 505</note>
504 506
505<p> 507<p>
506Set the root password using <c>passwd</c>. 508Set the root password using <c>passwd</c>.
507</p> 509</p>
554livecd conf.d # <i>rc-update add vixie-cron default</i> 556livecd conf.d # <i>rc-update add vixie-cron default</i>
555</pre> 557</pre>
556 558
557<p> 559<p>
558Install the necessary file system tools (<c>xfsprogs</c>, <c>reiserfsprogs</c> 560Install the necessary file system tools (<c>xfsprogs</c>, <c>reiserfsprogs</c>
559or <c>jfsutils</c>) and networking tools (<c>dhcpcd</c> or <c>rp-pppoe</c>) if 561or <c>jfsutils</c>) and networking tools (<c>dhcpcd</c> or <c>ppp</c>) if you
560you need any. 562need any.
561</p> 563</p>
562 564
563<pre caption="Install extra tools if required"> 565<pre caption="Install extra tools if required">
564livecd conf.d # <i>emerge xfsprogs</i> <comment>(If you use the XFS file system)</comment> 566livecd conf.d # <i>emerge xfsprogs</i> <comment>(If you use the XFS file system)</comment>
565livecd conf.d # <i>emerge jfsutils</i> <comment>(If you use the JFS file system)</comment> 567livecd conf.d # <i>emerge jfsutils</i> <comment>(If you use the JFS file system)</comment>
566livecd conf.d # <i>emerge reiserfsprogs</i> <comment>(If you use the Reiser file system)</comment> 568livecd conf.d # <i>emerge reiserfsprogs</i> <comment>(If you use the Reiser file system)</comment>
567livecd conf.d # <i>emerge dhcpcd</i> <comment>(If you need a DHCP client)</comment> 569livecd conf.d # <i>emerge dhcpcd</i> <comment>(If you need a DHCP client)</comment>
568livecd conf.d # <i>USE="-X" emerge rp-pppoe</i> <comment>(If you need PPPoE ADSL connectivity)</comment> 570livecd conf.d # <i>USE="-X" emerge ppp</i> <comment>(If you need PPPoE ADSL connectivity)</comment>
569</pre> 571</pre>
570 572
571</body> 573</body>
572</section> 574</section>
573<section> 575<section>
745</p> 747</p>
746 748
747<pre caption="View USE flags in use and enable or disable some"> 749<pre caption="View USE flags in use and enable or disable some">
748mybox ~ # <i>emerge -vpe world</i> 750mybox ~ # <i>emerge -vpe world</i>
749<comment>(Portage displays the packages and their USE flags, as an example, let's 751<comment>(Portage displays the packages and their USE flags, as an example, let's
750disable ipv6 and fortran, and enable userlocales and unicode)</comment> 752disable ipv6 and fortran, and enable unicode)</comment>
751mybox ~ # <i>echo 'USE="nptl nptlonly -ipv6 -fortran userlocales unicode"' >> /etc/make.conf</i> 753mybox ~ # <i>echo 'USE="nptl nptlonly -ipv6 -fortran unicode"' >> /etc/make.conf</i>
752</pre> 754</pre>
753 755
754<p>
755If you enabled the <c>userlocales</c> USE flag for versions of glibc that still
756support it, you should edit <path>/etc/locales.build</path> and define the
757locales you want to build.
758</p> 756<p>
759 757Recent versions of glibc use <path>/etc/locale.gen</path> to define locale
760<p> 758settings. If you are upgrading glibc to such a version, you should create
761Later versions of glibc ignore the userlocales USE flag and use 759<path>/etc/locale.gen</path> <e>and remove</e> <path>/etc/locales.build</path>.
762<path>/etc/locale.gen</path> instead. If you are upgrading glibc to such a
763version, you should create <path>/etc/locale.gen</path> <e>and remove</e>
764<path>/etc/locales.build</path>. Check the output of <c>emerge -vpe world</c>
765to know whether glibc supports the userlocales USE flag.
766</p> 760</p>
767 761
768<pre caption="Define locales"> 762<pre caption="Define locales">
769mybox ~ # <i>cd /etc</i> 763mybox # <i>cd /etc</i>
770<comment>(For versions of glibc with the userlocales USE flag)</comment>
771mybox etc # <i>nano -w locales.build</i>
772
773<comment>(For recent versions of glibc, convert locales.build)</comment>
774mybox etc # <i>grep '^[^#].*' locales.build | sed 's:/: :' >locale.gen</i>
775mybox etc # <i>rm locales.build</i>
776mybox etc # <i>nano -w locale.gen</i> 764mybox # <i>nano -w locale.gen</i>
777</pre> 765</pre>
778 766
779<p> 767<p>
780Last but not least, you may want to alter the <c>CFLAGS</c> variable in your 768Last but not least, you may want to alter the <c>CFLAGS</c> variable in your
781<path>/etc/make.conf</path> to optimise the code to your specific needs. Please 769<path>/etc/make.conf</path> to optimise the code to your specific needs. Please

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

  ViewVC Help
Powered by ViewVC 1.1.20