mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Fixed chapter 7 creation of hosts file to eliminate the use of www.mydomain.org.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2681 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
69a7180b3a
commit
140190c033
@ -6,6 +6,10 @@
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>August 26, 2003 [jeremy] - Chapter 07 -
|
||||
Creating /etc/hosts: Changed www.mydomain.org to
|
||||
<value of HOSTNAME>.mydomain.org</para></listitem>
|
||||
|
||||
<listitem><para>August 26, 2003 [jeremy] - Chapter 04 -
|
||||
Mounting the LFS partition: Added text regarding mounting
|
||||
with too restrictive permissions.</para></listitem>
|
||||
|
@ -29,7 +29,7 @@ correctly.</para>
|
||||
<para><screen><userinput>cat > /etc/hosts << "EOF"</userinput>
|
||||
# Begin /etc/hosts (no network card version)
|
||||
|
||||
127.0.0.1 www.mydomain.com <value of HOSTNAME> localhost
|
||||
127.0.0.1 <value of HOSTNAME>.mydomain.com <value of HOSTNAME> localhost
|
||||
|
||||
# End /etc/hosts (no network card version)
|
||||
<userinput>EOF</userinput></screen></para>
|
||||
@ -41,15 +41,15 @@ correctly.</para>
|
||||
# Begin /etc/hosts (network card version)
|
||||
|
||||
127.0.0.1 localhost.localdomain localhost
|
||||
192.168.1.1 www.mydomain.org <value of HOSTNAME>
|
||||
192.168.1.1 <value of HOSTNAME>.mydomain.org <value of HOSTNAME>
|
||||
|
||||
# End /etc/hosts (network card version)
|
||||
<userinput>EOF</userinput></screen></para>
|
||||
|
||||
<para>Of course, the 192.168.1.1 and www.mydomain.org have to be changed
|
||||
to your liking (or requirements if assigned an IP-address by a network/system
|
||||
administrator and this machine is planned to be connected to an existing
|
||||
network).</para>
|
||||
<para>Of course, the 192.168.1.1 and <value of HOSTNAME>.mydomain.org
|
||||
have to be changed to your liking (or requirements if assigned an IP-address
|
||||
by a network/system administrator and this machine is planned to be connected
|
||||
to an existing network).</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user