/[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.21 Revision 1.22
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.21 2004/02/03 10:18:07 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.22 2004/02/07 18:24:26 swift Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Filesystem Information</title> 11<title>Filesystem Information</title>
12<subsection> 12<subsection>
13<title>What is fstab?</title> 13<title>What is fstab?</title>
14<body> 14<body>
15 15
16<p> 16<p>
17Under Linux, all partitions used by the system must be listed in 17Under Linux, all partitions used by the system must be listed in
18<path>/etc/fstab</path>. This file contains the mountpoints of those partitions 18<path>/etc/fstab</path>. This file contains the mountpoints of those partitions
19(where they are seen in the file system structure), how they should be mounted 19(where they are seen in the file system structure), how they should be mounted
20(special options) and when (automatically or not, can users mount those or not, 20(special options) and when (automatically or not, can users mount those or not,
21etc.). 21etc.).
22</p> 22</p>
313<p> 313<p>
314You now need to inform Linux about your network. This is defined in 314You now need to inform Linux about your network. This is defined in
315<path>/etc/hosts</path> and helps in resolving hostnames to IP addresses 315<path>/etc/hosts</path> and helps in resolving hostnames to IP addresses
316for hosts that aren't resolved by your nameserver. For instance, if your 316for hosts that aren't resolved by your nameserver. For instance, if your
317internal network consists of three PCs called <c>jenny</c> (192.168.0.5), 317internal network consists of three PCs called <c>jenny</c> (192.168.0.5),
318<c>benny</c> (192.168.0.6) and <c>tux</c> (192.168.0.7 - this system) you would 318<c>benny</c> (192.168.0.6) and <c>tux</c> (192.168.0.7 - this system) you would
319open <path>/etc/hosts</path> and fill in the values: 319open <path>/etc/hosts</path> and fill in the values:
320</p> 320</p>
321 321
322<pre caption="Opening /etc/hosts"> 322<pre caption="Opening /etc/hosts">
323# <i>nano -w /etc/hosts</i> 323# <i>nano -w /etc/hosts</i>
324</pre> 324</pre>
325 325
326<pre caption="Filling in the networking information"> 326<pre caption="Filling in the networking information">
327127.0.0.1 localhost 327127.0.0.1 localhost
328192.168.0.5 jenny 328192.168.0.5 jenny.homenetwork jenny
329192.168.0.6 benny 329192.168.0.6 benny.homenetwork benny
330192.168.0.7 tux 330192.168.0.7 tux.homenetwork tux
331</pre> 331</pre>
332 332
333<p> 333<p>
334If your system is the only system (or the nameservers handle all name 334If your system is the only system (or the nameservers handle all name
335resolution) a single line is sufficient: 335resolution) a single line is sufficient:
336</p> 336</p>
337 337
338<pre caption="/etc/hosts for lonely or fully integrated PCs"> 338<pre caption="/etc/hosts for lonely or fully integrated PCs">
339127.0.0.1 localhost tux 339127.0.0.1 localhost tux
340</pre> 340</pre>
341 341
342<p> 342<p>
343Save and exit the editor to continue. 343Save and exit the editor to continue.
344</p> 344</p>
345 345

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20