/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-config.xml

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

Revision 1.102 Revision 1.103
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/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-config.xml,v 1.102 2010/05/14 22:32:52 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.103 2011/08/02 17:43:17 jkt Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12You need to edit some important configuration files. In this chapter 12You need to edit some important configuration files. In this chapter
13you receive an overview of these files and an explanation on how to 13you receive an overview of these files and an explanation on how to
14proceed. 14proceed.
15</abstract> 15</abstract>
16 16
17<version>9.5</version> 17<version>10</version>
18<date>2010-05-14</date> 18<date>2011-08-02</date>
19 19
20<section> 20<section>
21<title>Filesystem Information</title> 21<title>Filesystem Information</title>
22<subsection> 22<subsection>
23<title>What is fstab?</title> 23<title>What is fstab?</title>
24<body> 24<body>
25 25
26<p> 26<p>
27Under Linux, all partitions used by the system must be listed in 27Under Linux, all partitions used by the system must be listed in
28<path>/etc/fstab</path>. This file contains the mount points of those partitions 28<path>/etc/fstab</path>. This file contains the mount points of those partitions
29(where they are seen in the file system structure), how they should be mounted 29(where they are seen in the file system structure), how they should be mounted
30and with what special options (automatically or not, whether users can mount 30and with what special options (automatically or not, whether users can mount
31them or not, etc.) 31them or not, etc.)
32</p> 32</p>
33 33
337Now save the configuration and exit to continue. 337Now save the configuration and exit to continue.
338</p> 338</p>
339 339
340</body> 340</body>
341</subsection> 341</subsection>
342<subsection> 342<subsection>
343<title>Automatically Start Networking at Boot</title> 343<title>Automatically Start Networking at Boot</title>
344<body> 344<body>
345 345
346<p> 346<p>
347To have your network interfaces activated at boot, you need to add them to the 347To have your network interfaces activated at boot, you need to add them to the
348default runlevel. 348default runlevel.
349</p> 349</p>
350 350
351<pre caption="Adding net.eth0 to the default runlevel"> 351<pre caption="Adding net.eth0 to the default runlevel">
352# <i>cd /etc/init.d</i>
353# <i>ln -s net.lo net.eth0</i>
352# <i>rc-update add net.eth0 default</i> 354# <i>rc-update add net.eth0 default</i>
353</pre> 355</pre>
354 356
355<p> 357<p>
356If you have several network interfaces, you need to create the appropriate 358If you have several network interfaces, you need to create the appropriate
357<path>net.eth1</path>, <path>net.eth2</path> etc. initscripts for those. You can 359<path>net.eth1</path>, <path>net.eth2</path> etc. just like you did with
358use <c>ln</c> to do this: 360<path>net.eth0</path>.
359</p>
360
361<pre caption="Creating extra initscripts">
362# <i>cd /etc/init.d</i>
363# <i>ln -s net.lo net.eth1</i>
364# <i>rc-update add net.eth1 default</i>
365</pre> 361</p>
366 362
367</body> 363</body>
368</subsection> 364</subsection>
369<subsection> 365<subsection>
370<title>Writing Down Network Information</title> 366<title>Writing Down Network Information</title>
371<body> 367<body>
372 368
373<p> 369<p>
374You now need to inform Linux about your network. This is defined in 370You now need to inform Linux about your network. This is defined in
375<path>/etc/hosts</path> and helps in resolving host names to IP addresses for 371<path>/etc/hosts</path> and helps in resolving host names to IP addresses for
376hosts that aren't resolved by your nameserver. You need to define your system. 372hosts that aren't resolved by your nameserver. You need to define your system.
377You may also want to define other systems on your network if you don't want to 373You may also want to define other systems on your network if you don't want to
378set up your own internal DNS system. 374set up your own internal DNS system.
379</p> 375</p>
380 376

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103

  ViewVC Help
Powered by ViewVC 1.1.20