Changeset 21ba4e3 for chapter07


Ignore:
Timestamp:
10/09/2003 11:22:07 PM (21 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_0, 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:
27d9bc1a
Parents:
1a7aecc6
Message:

Internal markup reworking to fix the extraneous whitespace problem in the "tidy generated" web site pages. Essentially replace all ocurrences of <para><screen> with <screen> (and of course the matching closing tags).

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

Location:
chapter07
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter07/hostname.xml

    r1a7aecc6 r21ba4e3  
    99running:</para>
    1010
    11 <para><screen><userinput>echo "HOSTNAME=lfs" &gt; /etc/sysconfig/network</userinput></screen></para>
     11<screen><userinput>echo "HOSTNAME=lfs" &gt; /etc/sysconfig/network</userinput></screen>
    1212
    1313<para><quote>lfs</quote> needs to be replaced with the name the computer is
  • chapter07/hosts.xml

    r1a7aecc6 r21ba4e3  
    77syntax is:</para>
    88
    9 <para><screen>&lt;IP address&gt; myhost.mydomain.org aliases</screen></para>
     9<screen>&lt;IP address&gt; myhost.mydomain.org aliases</screen>
    1010
    1111<para>You should make sure that the IP-address is in the private network
    1212IP-address range. Valid ranges are:</para>
    1313
    14 <para><screen>  Class Networks
     14<screen>        Class Networks
    1515        A     10.0.0.0
    1616        B     172.16.0.0 through 172.31.0.0
    17         C     192.168.0.0 through 192.168.255.0</screen></para>
     17        C     192.168.0.0 through 192.168.255.0</screen>
    1818
    1919<para>A valid IP address could be 192.168.1.1. A valid FQDN for this IP could
     
    2727<filename>/etc/hosts</filename> file by running:</para>
    2828
    29 <para><screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"</userinput>
     29<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"</userinput>
    3030# Begin /etc/hosts (no network card version)
    3131
     
    3333
    3434# End /etc/hosts (no network card version)
    35 <userinput>EOF</userinput></screen></para>
     35<userinput>EOF</userinput></screen>
    3636
    3737<para>If a network card is to be configured, create the
    3838<filename>/etc/hosts</filename> file by running:</para>
    3939
    40 <para><screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"</userinput>
     40<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"</userinput>
    4141# Begin /etc/hosts (network card version)
    4242
     
    4545
    4646# End /etc/hosts (network card version)
    47 <userinput>EOF</userinput></screen></para>
     47<userinput>EOF</userinput></screen>
    4848
    4949<para>Of course, the 192.168.1.1 and &lt;value of HOSTNAME&gt;.mydomain.org
  • chapter07/network.xml

    r1a7aecc6 r21ba4e3  
    1919/etc/sysconfig/network file by running the following:</para>
    2020
    21 <para><screen><userinput>cat &gt;&gt; /etc/sysconfig/network &lt;&lt; "EOF"</userinput>
     21<screen><userinput>cat &gt;&gt; /etc/sysconfig/network &lt;&lt; "EOF"</userinput>
    2222GATEWAY=192.168.1.2
    2323GATEWAY_IF=eth0
    24 <userinput>EOF</userinput></screen></para>
     24<userinput>EOF</userinput></screen>
    2525
    2626<para>The values for GATEWAY and GATEWAY_IF need to be changed to match
     
    4646The following command creates a sample ifconfig.eth0 file:</para>
    4747
    48 <para><screen><userinput>cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</userinput>
     48<screen><userinput>cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</userinput>
    4949ONBOOT=yes
    5050IP=192.168.1.1
    5151NETMASK=255.255.255.0
    5252BROADCAST=192.168.1.255
    53 <userinput>EOF</userinput></screen></para>
     53<userinput>EOF</userinput></screen>
    5454
    5555<para>Of course, the values of those variables have to be changed
  • chapter07/setclock.xml

    r1a7aecc6 r21ba4e3  
    1717the following:</para>
    1818
    19 <para><screen><userinput>cat &gt; /etc/sysconfig/clock &lt;&lt; "EOF"</userinput>
     19<screen><userinput>cat &gt; /etc/sysconfig/clock &lt;&lt; "EOF"</userinput>
    2020# Begin /etc/sysconfig/clock
    2121
     
    2323
    2424# End /etc/sysconfig/clock
    25 <userinput>EOF</userinput></screen></para>
     25<userinput>EOF</userinput></screen>
    2626
    2727<para>Now, you may want to take a look at a very good hint explaining how we
Note: See TracChangeset for help on using the changeset viewer.