1 |
neysx 06/05/27 13:02:15 |
2 |
|
3 |
Modified: hb-install-config.xml |
4 |
Log: |
5 |
#122911 make /etc/hosts simpler |
6 |
|
7 |
Revision Changes Path |
8 |
1.5 xml/htdocs/doc/en/handbook/2006.0/hb-install-config.xml |
9 |
|
10 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2006.0/hb-install-config.xml?rev=1.5&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
11 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2006.0/hb-install-config.xml?rev=1.5&content-type=text/plain&cvsroot=gentoo |
12 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2006.0/hb-install-config.xml.diff?r1=1.4&r2=1.5&cvsroot=gentoo |
13 |
|
14 |
Index: hb-install-config.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2006.0/hb-install-config.xml,v |
17 |
retrieving revision 1.4 |
18 |
retrieving revision 1.5 |
19 |
diff -u -r1.4 -r1.5 |
20 |
--- hb-install-config.xml 15 May 2006 07:02:13 -0000 1.4 |
21 |
+++ hb-install-config.xml 27 May 2006 13:02:15 -0000 1.5 |
22 |
@@ -4,12 +4,12 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2006.0/hb-install-config.xml,v 1.4 2006/05/15 07:02:13 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2006.0/hb-install-config.xml,v 1.5 2006/05/27 13:02:15 neysx Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
-<version>6.1</version> |
32 |
-<date>2006-03-28</date> |
33 |
+<version>6.2</version> |
34 |
+<date>2006-05-27</date> |
35 |
|
36 |
<section> |
37 |
<title>Filesystem Information</title> |
38 |
@@ -334,11 +334,10 @@ |
39 |
|
40 |
<p> |
41 |
You now need to inform Linux about your network. This is defined in |
42 |
-<path>/etc/hosts</path> and helps in resolving hostnames to IP addresses |
43 |
-for hosts that aren't resolved by your nameserver. For instance, if your |
44 |
-internal network consists of three PCs called <c>jenny</c> (192.168.0.5), |
45 |
-<c>benny</c> (192.168.0.6) and <c>tux</c> (192.168.0.7 - this system) you would |
46 |
-open <path>/etc/hosts</path> and fill in the values: |
47 |
+<path>/etc/hosts</path> and helps in resolving hostnames to IP addresses for |
48 |
+hosts that aren't resolved by your nameserver. You need to define your system. |
49 |
+You may also want to define other systems on your network if you don't want to |
50 |
+set up your own internal DNS system. |
51 |
</p> |
52 |
|
53 |
<pre caption="Opening /etc/hosts"> |
54 |
@@ -346,20 +345,13 @@ |
55 |
</pre> |
56 |
|
57 |
<pre caption="Filling in the networking information"> |
58 |
-127.0.0.1 localhost |
59 |
+<comment>(This defines the current system)</comment> |
60 |
+127.0.0.1 tux.homenetwork tux localhost |
61 |
+ |
62 |
+<comment>(Define extra systems on your network, |
63 |
+they need to have a static IP to be defined this way.)</comment> |
64 |
192.168.0.5 jenny.homenetwork jenny |
65 |
192.168.0.6 benny.homenetwork benny |
66 |
-192.168.0.7 tux.homenetwork tux |
67 |
-</pre> |
68 |
- |
69 |
-<p> |
70 |
-If your system is the only system (or the nameservers handle all name |
71 |
-resolution) a single line is sufficient. For instance, if you want to call your |
72 |
-system <c>tux</c>: |
73 |
-</p> |
74 |
- |
75 |
-<pre caption="/etc/hosts for lonely or fully integrated PCs"> |
76 |
-127.0.0.1 localhost tux |
77 |
</pre> |
78 |
|
79 |
<p> |
80 |
|
81 |
|
82 |
|
83 |
-- |
84 |
gentoo-doc-cvs@g.o mailing list |