From 140190c033ddaf881cb4fdc369904575a3d157a8 Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Tue, 26 Aug 2003 21:21:44 +0000 Subject: 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 --- chapter01/changelog.xml | 4 ++++ chapter07/hosts.xml | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f5cbd9f5b..648db5997 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -6,6 +6,10 @@ +August 26, 2003 [jeremy] - Chapter 07 - +Creating /etc/hosts: Changed www.mydomain.org to +<value of HOSTNAME>.mydomain.org + August 26, 2003 [jeremy] - Chapter 04 - Mounting the LFS partition: Added text regarding mounting with too restrictive permissions. diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index db3dfe36d..b5119509f 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -29,7 +29,7 @@ correctly. cat > /etc/hosts << "EOF" # 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) EOF @@ -41,15 +41,15 @@ correctly. # 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) EOF -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). +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). -- cgit v1.2.3-54-g00ecf