/[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.73 Revision 1.74
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.73 2007/04/11 10:17:50 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.74 2007/05/07 18:11:40 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>16</version> 28<version>17</version>
29<date>2007-04-11</date> 29<date>2007-05-07</date>
30 30
31<chapter> 31<chapter>
32<title>Introduction</title> 32<title>Introduction</title>
33<section> 33<section>
34<body> 34<body>
170and name server. 170and name server.
171</p> 171</p>
172 172
173<pre caption="Configure networking the manual way"> 173<pre caption="Configure networking the manual way">
174livecd root # <i>ifconfig eth0 192.168.1.10/24</i> 174livecd root # <i>ifconfig eth0 192.168.1.10/24</i>
175livecd root # <i>route add default gw 192.168.1.1</i> 175livecd root # <i>route add default via 192.168.1.1</i>
176livecd root # <i>echo nameserver 192.168.1.1 &gt; /etc/resolv.conf</i> 176livecd root # <i>echo nameserver 192.168.1.1 &gt; /etc/resolv.conf</i>
177</pre> 177</pre>
178 178
179<p> 179<p>
180The installation CD allows you to start an <c>sshd</c> server, add additional 180The installation CD allows you to start an <c>sshd</c> server, add additional
274<pre caption="Create the file systems and activate swap"> 274<pre caption="Create the file systems and activate swap">
275<comment>(ext2 is all you need on the /boot partition)</comment> 275<comment>(ext2 is all you need on the /boot partition)</comment>
276livecd ~ # <i>mke2fs /dev/sda1</i> 276livecd ~ # <i>mke2fs /dev/sda1</i>
277 277
278<comment>(Let's use ext3 on the main partition)</comment> 278<comment>(Let's use ext3 on the main partition)</comment>
279livecd ~ # <i>mke2fs -j -O dir_index /dev/sda3</i> 279livecd ~ # <i>mke2fs -j /dev/sda3</i>
280 280
281<comment>(Create and activate swap)</comment> 281<comment>(Create and activate swap)</comment>
282livecd ~ # <i>mkswap /dev/sda2 &amp;&amp; swapon /dev/sda2</i> 282livecd ~ # <i>mkswap /dev/sda2 &amp;&amp; swapon /dev/sda2</i>
283</pre> 283</pre>
284 284
390<section> 390<section>
391<title>Set your time zone</title> 391<title>Set your time zone</title>
392<body> 392<body>
393 393
394<p> 394<p>
395Set your time zone information by copying the correct file from 395Set your time zone information by using the correct listing in
396<path>/usr/share/zoneinfo</path> over the <path>/etc/localtime</path> file. 396<path>/usr/share/zoneinfo</path>.
397</p> 397</p>
398 398
399<pre caption="Setting your timezone"> 399<pre caption="Setting your timezone">
400livecd / # <i>ls /usr/share/zoneinfo</i>
400<comment>(Using Brussels as an example)</comment> 401<comment>(Using Brussels as an example)</comment>
401livecd / # <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i> 402livecd / # <i>nano -w /etc/conf.d/clock</i>
403TIMEZONE="Europe/Brussels"
404
402livecd / # <i>date</i> 405livecd / # <i>date</i>
403Wed Mar 8 00:46:05 CET 2006 406Wed Mar 8 00:46:05 CET 2006
404</pre> 407</pre>
405 408
406</body> 409</body>
486</p> 489</p>
487 490
488<pre caption="Configure networking"> 491<pre caption="Configure networking">
489livecd etc # <i>cd conf.d</i> 492livecd etc # <i>cd conf.d</i>
490livecd 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>
491livecd conf.d # <i>echo 'routes_eth0=( "default gw 192.168.1.1" )' >> net</i> 494livecd conf.d # <i>echo 'routes_eth0=( "default via 192.168.1.1" )' >> net</i>
492livecd conf.d # <i>rc-update add net.eth0 default</i> 495livecd conf.d # <i>rc-update add net.eth0 default</i>
493<comment>(If you compiled your network card driver as a module, 496<comment>(If you compiled your network card driver as a module,
494add it to /etc/modules.autoload.d/kernel-2.6)</comment> 497add it to /etc/modules.autoload.d/kernel-2.6)</comment>
495livecd 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>
496<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>
511Retype new UNIX password: <comment>type_the_password_again</comment> 514Retype new UNIX password: <comment>type_the_password_again</comment>
512passwd: password updated successfully 515passwd: password updated successfully
513</pre> 516</pre>
514 517
515<p> 518<p>
516Edit <path>/etc/conf.d/clock</path> to define the time zone you used
517previously.
518</p>
519
520<pre caption="Edit /etc/conf.d/clock">
521livecd conf.d # <i>nano -w /etc/conf.d/clock</i>
522TIMEZONE="Europe/Brussels"
523</pre>
524
525<p>
526Check the system configuration in <path>/etc/rc.conf</path>, 519Check the system configuration in <path>/etc/rc.conf</path>,
527<path>/etc/conf.d/rc</path>, <path>/etc/conf.d/keymaps</path> and edit any of 520<path>/etc/conf.d/rc</path>, <path>/etc/conf.d/keymaps</path> and edit any of
528those files if required. 521those files if required.
529</p> 522</p>
530 523
571<pre caption="Install extra tools if required"> 564<pre caption="Install extra tools if required">
572livecd conf.d # <i>emerge xfsprogs</i> <comment>(If you use the XFS file system)</comment> 565livecd conf.d # <i>emerge xfsprogs</i> <comment>(If you use the XFS file system)</comment>
573livecd conf.d # <i>emerge jfsutils</i> <comment>(If you use the JFS file system)</comment> 566livecd conf.d # <i>emerge jfsutils</i> <comment>(If you use the JFS file system)</comment>
574livecd conf.d # <i>emerge reiserfsprogs</i> <comment>(If you use the Reiser file system)</comment> 567livecd conf.d # <i>emerge reiserfsprogs</i> <comment>(If you use the Reiser file system)</comment>
575livecd conf.d # <i>emerge dhcpcd</i> <comment>(If you need a DHCP client)</comment> 568livecd conf.d # <i>emerge dhcpcd</i> <comment>(If you need a DHCP client)</comment>
576livecd conf.d # <i>USE="-X" emerge ppp</i> <comment>(If you need PPPoE ADSL connectivity)</comment> 569livecd conf.d # <i>emerge ppp</i> <comment>(If you need PPPoE ADSL connectivity)</comment>
577</pre> 570</pre>
578 571
579</body> 572</body>
580</section> 573</section>
581<section> 574<section>

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

  ViewVC Help
Powered by ViewVC 1.1.20