Changeset 0afaac4 for chapter07/hosts.xml
- Timestamp:
- 01/18/2004 01:07:23 AM (21 years ago)
- 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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 7d19427
- Parents:
- 51fe215
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/hosts.xml
r51fe215 r0afaac4 7 7 syntax is:</para> 8 8 9 <screen><IP address> myhost. mydomain.org aliases</screen>9 <screen><IP address> myhost.example.org aliases</screen> 10 10 11 11 <para>You should make sure that the IP-address is in the private network … … 30 30 # Begin /etc/hosts (no network card version) 31 31 32 127.0.0.1 <value of HOSTNAME>. mydomain.com<value of HOSTNAME> localhost32 127.0.0.1 <value of HOSTNAME>.example.org <value of HOSTNAME> localhost 33 33 34 34 # End /etc/hosts (no network card version) … … 41 41 # Begin /etc/hosts (network card version) 42 42 43 127.0.0.1 localhost .localdomain localhost44 192.168.1.1 <value of HOSTNAME>. mydomain.org <value of HOSTNAME>43 127.0.0.1 localhost 44 192.168.1.1 <value of HOSTNAME>.example.org <value of HOSTNAME> 45 45 46 46 # End /etc/hosts (network card version) 47 47 <userinput>EOF</userinput></screen> 48 48 49 <para>Of course, the 192.168.1.1 and <value of HOSTNAME>. mydomain.org49 <para>Of course, the 192.168.1.1 and <value of HOSTNAME>.example.org 50 50 have to be changed to your liking (or requirements if assigned an IP-address 51 51 by a network/system administrator and this machine is planned to be connected
Note:
See TracChangeset
for help on using the changeset viewer.