/[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.13 Revision 1.14
1<!-- The content of this document is licensed under the CC-BY-SA license --> 1<!-- The content of this document is licensed under the CC-BY-SA license -->
2<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 2<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
3 3
4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.13 2003/12/07 12:15:17 swift Exp $ --> 4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.14 2003/12/20 20:32:02 swift Exp $ -->
5 5
6<sections> 6<sections>
7<section> 7<section>
8<title>Timezone</title> 8<title>Timezone</title>
9<body> 9<body>
327<p> 327<p>
328You now need to inform Linux about your network. This is defined in 328You now need to inform Linux about your network. This is defined in
329<path>/etc/hosts</path> and helps in resolving hostnames to IP addresses 329<path>/etc/hosts</path> and helps in resolving hostnames to IP addresses
330for hosts that aren't resolved by your nameserver. For instance, if your 330for hosts that aren't resolved by your nameserver. For instance, if your
331internal network consists of three PCs called <c>jenny</c> (192.168.0.5), 331internal network consists of three PCs called <c>jenny</c> (192.168.0.5),
332<c>benny</c> (192.168.0.6) and <c>tux</c> (this system) you would 332<c>benny</c> (192.168.0.6) and <c>tux</c> (192.168.0.7 - this system) you would
333open <path>/etc/hosts</path> and fill in the values: 333open <path>/etc/hosts</path> and fill in the values:
334</p> 334</p>
335 335
336<pre caption="Opening /etc/hosts"> 336<pre caption="Opening /etc/hosts">
337# <i>nano -w /etc/hosts</i> 337# <i>nano -w /etc/hosts</i>
338</pre> 338</pre>
339 339
340<pre caption="Filling in the networking information"> 340<pre caption="Filling in the networking information">
341127.0.0.1 tux.homenetwork localhost 341127.0.0.1 localhost
342192.168.0.5 jenny 342192.168.0.5 jenny
343192.168.0.56 benny 343192.168.0.6 benny
344192.168.0.7 tux
344</pre> 345</pre>
345 346
346<p> 347<p>
347If your system is the only system (or the nameservers handle all name 348If your system is the only system (or the nameservers handle all name
348resolution) a single line is sufficient: 349resolution) a single line is sufficient:

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

  ViewVC Help
Powered by ViewVC 1.1.20