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

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

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

Revision 1.12 Revision 1.13
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+raid+lvm2-quickinstall.xml,v 1.12 2007/04/11 10:17:50 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml,v 1.13 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+raid+lvm2-quickinstall.xml" lang="en"> 6<guide link="/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml" lang="en">
7<title>Gentoo Linux x86 with Software Raid and LVM2 Quick Install Guide</title> 7<title>Gentoo Linux x86 with Software Raid and LVM2 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>7</version> 28<version>8</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>
180and name server. 180and name server.
181</p> 181</p>
182 182
183<pre caption="Configure networking the manual way"> 183<pre caption="Configure networking the manual way">
184livecd root # <i>ifconfig eth0 192.168.1.10/24</i> 184livecd root # <i>ifconfig eth0 192.168.1.10/24</i>
185livecd root # <i>route add default gw 192.168.1.1</i> 185livecd root # <i>route add default via 192.168.1.1</i>
186livecd root # <i>echo nameserver 192.168.1.1 > /etc/resolv.conf</i> 186livecd root # <i>echo nameserver 192.168.1.1 > /etc/resolv.conf</i>
187</pre> 187</pre>
188 188
189<p> 189<p>
190The installation CD allows you to start an <c>sshd</c> server, add additional 190The installation CD allows you to start an <c>sshd</c> server, add additional
469<pre caption="Create the file systems and activate swap"> 469<pre caption="Create the file systems and activate swap">
470<comment>(ext2 is all you need on the /boot partition)</comment> 470<comment>(ext2 is all you need on the /boot partition)</comment>
471livecd ~ # <i>mke2fs /dev/md1</i> 471livecd ~ # <i>mke2fs /dev/md1</i>
472 472
473<comment>(Let's use ext3 on the root partition)</comment> 473<comment>(Let's use ext3 on the root partition)</comment>
474livecd ~ # <i>mke2fs -j -O dir_index /dev/md3</i> 474livecd ~ # <i>mke2fs -j /dev/md3</i>
475 475
476<comment>(Create file systems on logical volumes)</comment> 476<comment>(Create file systems on logical volumes)</comment>
477livecd ~ # <i>mke2fs -b 4096 -T largefile /dev/vg/distfiles</i> 477livecd ~ # <i>mke2fs -b 4096 -T largefile /dev/vg/distfiles</i>
478livecd ~ # <i>mke2fs -j -O dir_index /dev/vg/home</i> 478livecd ~ # <i>mke2fs -j /dev/vg/home</i>
479livecd ~ # <i>mke2fs -j -O dir_index /dev/vg/opt</i> 479livecd ~ # <i>mke2fs -j /dev/vg/opt</i>
480livecd ~ # <i>mke2fs -b 1024 -N 200000 /dev/vg/portage</i> 480livecd ~ # <i>mke2fs -b 1024 -N 200000 /dev/vg/portage</i>
481livecd ~ # <i>mke2fs /dev/vg/tmp</i> 481livecd ~ # <i>mke2fs /dev/vg/tmp</i>
482livecd ~ # <i>mke2fs -j -O dir_index /dev/vg/usr</i> 482livecd ~ # <i>mke2fs -j /dev/vg/usr</i>
483livecd ~ # <i>mke2fs -j -O dir_index /dev/vg/var</i> 483livecd ~ # <i>mke2fs -j /dev/vg/var</i>
484livecd ~ # <i>mke2fs /dev/vg/vartmp</i> 484livecd ~ # <i>mke2fs /dev/vg/vartmp</i>
485 485
486<comment>(Create and activate swap)</comment> 486<comment>(Create and activate swap)</comment>
487livecd ~ # <i>mkswap /dev/sda2 &amp;&amp; mkswap /dev/sdb2</i> 487livecd ~ # <i>mkswap /dev/sda2 &amp;&amp; mkswap /dev/sdb2</i>
488livecd ~ # <i>swapon -p 1 /dev/sda2 &amp;&amp; swapon -p 1 /dev/sdb2</i> 488livecd ~ # <i>swapon -p 1 /dev/sda2 &amp;&amp; swapon -p 1 /dev/sdb2</i>
612<section> 612<section>
613<title>Set your time zone</title> 613<title>Set your time zone</title>
614<body> 614<body>
615 615
616<p> 616<p>
617Set your time zone information by copying the correct file from 617Set your time zone information by using the correct listing in
618<path>/usr/share/zoneinfo</path> over the <path>/etc/localtime</path> file. 618<path>/usr/share/zoneinfo</path>.
619</p> 619</p>
620 620
621<pre caption="Copy your timezone file"> 621<pre caption="Setting your timezone">
622livecd / # <i>ls /usr/share/zoneinfo</i>
622<comment>(Using Brussels as an example)</comment> 623<comment>(Using Brussels as an example)</comment>
623livecd / # <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i> 624livecd / # <i>nano -w /etc/conf.d/clock</i>
625TIMEZONE="Europe/Brussels"
626
624livecd / # <i>date</i> 627livecd / # <i>date</i>
625Wed Mar 8 00:46:05 CET 2006 628Wed Mar 8 00:46:05 CET 2006
626</pre> 629</pre>
627 630
628</body> 631</body>
763Retype new UNIX password: <comment>type_the_password_again</comment> 766Retype new UNIX password: <comment>type_the_password_again</comment>
764passwd: password updated successfully 767passwd: password updated successfully
765</pre> 768</pre>
766 769
767<p> 770<p>
768Edit <path>/etc/conf.d/clock</path> to define the time zone you used
769previously.
770</p>
771
772<pre caption="Edit /etc/conf.d/clock">
773livecd conf.d # <i>nano -w /etc/conf.d/clock</i>
774TIMEZONE="Europe/Brussels"
775</pre>
776
777<p>
778Check the system configuration in <path>/etc/rc.conf</path>, 771Check the system configuration in <path>/etc/rc.conf</path>,
779<path>/etc/conf.d/rc</path>, <path>/etc/conf.d/keymaps</path> and edit any of 772<path>/etc/conf.d/rc</path>, <path>/etc/conf.d/keymaps</path> and edit any of
780those files if required. 773those files if required.
781</p> 774</p>
782 775
831<pre caption="Install extra tools if required"> 824<pre caption="Install extra tools if required">
832livecd conf.d # <i>emerge xfsprogs</i> <comment>(If you use the XFS file system)</comment> 825livecd conf.d # <i>emerge xfsprogs</i> <comment>(If you use the XFS file system)</comment>
833livecd conf.d # <i>emerge jfsutils</i> <comment>(If you use the JFS file system)</comment> 826livecd conf.d # <i>emerge jfsutils</i> <comment>(If you use the JFS file system)</comment>
834livecd conf.d # <i>emerge reiserfsprogs</i> <comment>(If you use the Reiser file system)</comment> 827livecd conf.d # <i>emerge reiserfsprogs</i> <comment>(If you use the Reiser file system)</comment>
835livecd conf.d # <i>emerge dhcpcd</i> <comment>(If you need a DHCP client)</comment> 828livecd conf.d # <i>emerge dhcpcd</i> <comment>(If you need a DHCP client)</comment>
836livecd conf.d # <i>USE="-X" emerge rp-pppoe</i> <comment>(If you need PPPoE ADSL connectivity)</comment> 829livecd conf.d # <i>emerge ppp</i> <comment>(If you need PPPoE ADSL connectivity)</comment>
837</pre> 830</pre>
838 831
839</body> 832</body>
840</section> 833</section>
841<section> 834<section>

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20