Changeset 0afaac4 for chapter07


Ignore:
Timestamp:
01/18/2004 01:07:23 AM (20 years ago)
Author:
Greg Schafer <greg@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
7d19427
Parents:
51fe215
Message:

Chapter 7 - Creating the /etc/hosts file: Amended example domain
names to comply with RFC 2066. Closes 742. From Anderson Lizardo.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/hosts.xml

    r51fe215 r0afaac4  
    77syntax is:</para>
    88
    9 <screen>&lt;IP address&gt; myhost.mydomain.org aliases</screen>
     9<screen>&lt;IP address&gt; myhost.example.org aliases</screen>
    1010
    1111<para>You should make sure that the IP-address is in the private network
     
    3030# Begin /etc/hosts (no network card version)
    3131
    32 127.0.0.1 &lt;value of HOSTNAME&gt;.mydomain.com &lt;value of HOSTNAME&gt; localhost
     32127.0.0.1 &lt;value of HOSTNAME&gt;.example.org &lt;value of HOSTNAME&gt; localhost
    3333
    3434# End /etc/hosts (no network card version)
     
    4141# Begin /etc/hosts (network card version)
    4242
    43 127.0.0.1 localhost.localdomain localhost
    44 192.168.1.1 &lt;value of HOSTNAME&gt;.mydomain.org &lt;value of HOSTNAME&gt;
     43127.0.0.1 localhost
     44192.168.1.1 &lt;value of HOSTNAME&gt;.example.org &lt;value of HOSTNAME&gt;
    4545
    4646# End /etc/hosts (network card version)
    4747<userinput>EOF</userinput></screen>
    4848
    49 <para>Of course, the 192.168.1.1 and &lt;value of HOSTNAME&gt;.mydomain.org
     49<para>Of course, the 192.168.1.1 and &lt;value of HOSTNAME&gt;.example.org
    5050have to be changed to your liking (or requirements if assigned an IP-address
    5151by a network/system administrator and this machine is planned to be connected
Note: See TracChangeset for help on using the changeset viewer.