/[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>
10 10
11<p> 11<p>
12You now need to select your timezone so that your system knows where it is 12You now need to select your timezone so that your system knows where it is
13located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then make a 13located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then make a
14symlink to <path>/etc/localtime</path> using <c>ln</c>: 14symlink to <path>/etc/localtime</path> using <c>ln</c>:
15</p> 15</p>
16 16
17<pre caption="Setting the timezone information"> 17<pre caption="Setting the timezone information">
18# <i>ls /usr/share/zoneinfo</i> 18# <i>ls /usr/share/zoneinfo</i>
19<comment>(Suppose you want to use GMT:)</comment> 19<comment>(Suppose you want to use GMT:)</comment>
317# <i>ln -s net.eth0 net.eth1</i> 317# <i>ln -s net.eth0 net.eth1</i>
318# <i>rc-update add net.eth1 default</i> 318# <i>rc-update add net.eth1 default</i>
319</pre> 319</pre>
320 320
321</body> 321</body>
322</subsection> 322</subsection>
323<subsection> 323<subsection>
324<title>Writing Down Network Information</title> 324<title>Writing Down Network Information</title>
325<body> 325<body>
326 326
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:
349</p> 350</p>
350 351
351<pre caption="/etc/hosts for lonely or fully integrated PCs"> 352<pre caption="/etc/hosts for lonely or fully integrated PCs">
352127.0.0.1 localhost tux 353127.0.0.1 localhost tux
353</pre> 354</pre>
354 355
355<p> 356<p>
356Save and exit the editor to continue. 357Save and exit the editor to continue.
357</p> 358</p>
358 359

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

  ViewVC Help
Powered by ViewVC 1.1.20