From 0090db5c7b0cb69fc9c06da99ad868814414d2b0 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Fri, 14 Apr 2006 09:37:17 +0000 Subject: Changed typography convections. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7516 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/hosts.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'chapter07/hosts.xml') diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index 0b196cefd..e51aa37be 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -26,7 +26,7 @@ fully-qualified domain name (FQDN), and possible aliases for use in the /etc/hosts file. The syntax is: -<IP address> myhost.example.org aliases +IP_address myhost.example.org aliases Unless the computer is to be visible to the Internet (i.e., there is a registered domain and a valid block of assigned IP @@ -54,16 +54,17 @@ # Begin /etc/hosts (network card version) 127.0.0.1 localhost -[192.168.1.1] [<HOSTNAME>.example.org] [HOSTNAME] +<192.168.1.1> <HOSTNAME.example.org> [alias1] [alias2 ...] # End /etc/hosts (network card version) EOF - The [192.168.1.1] and - [<HOSTNAME>.example.org] + The <192.168.1.1> and + <HOSTNAME.example.org> values need to be changed for specific users or requirements (if assigned an IP address by a network/system administrator and the - machine will be connected to an existing network). + machine will be connected to an existing network). The optional alias + name(s) can be omitted. If a network card is not going to be configured, create the /etc/hosts file by running: @@ -71,7 +72,7 @@ EOF cat > /etc/hosts << "EOF" # Begin /etc/hosts (no network card version) -127.0.0.1 [<HOSTNAME>.example.org] [HOSTNAME] localhost +127.0.0.1 <HOSTNAME.example.org> <HOSTNAME> localhost # End /etc/hosts (no network card version) EOF -- cgit v1.2.3-54-g00ecf