Changeset fe3b285


Ignore:
Timestamp:
12/02/2002 11:00:41 PM (19 years ago)
Author:
Billy O 'Connor <billyoc@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
f14c264
Parents:
17ced16
Message:

xml cleanups, more <<'s and &&'s.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@431 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
server/other/bind
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/other/bind/bind-config-exp.xml

    r17ced16 rfe3b285  
    2323Create a single zone file.</para>
    2424<para><userinput>
    25 cat > /home/named/etc/namedb/root.hints << "EOF" :</userinput>
     25cat &gt; /home/named/etc/namedb/root.hints &lt;&lt; "EOF" :</userinput>
    2626The root.hints file is a list of root nameservers.  This file must be
    2727updated periodically with the dig utility.  Consult the BIND 9
    2828Administrator Reference Manual for details.</para>
    2929<para><userinput>
    30 cat > /etc/rndc.conf << "EOF" :</userinput>
     30cat &gt; /etc/rndc.conf &lt;&lt; "EOF" :</userinput>
    3131The rncd.conf file contains information for controlling named
    3232operations with the rndc utility.</para>
    3333
    3434<para><userinput>
    35 cat > /etc/resolv.conf << "EOF" :</userinput>
     35cat &gt; /etc/resolv.conf &lt;&lt; "EOF" :</userinput>
    3636The resolv.conf file will specify the local host(127.0.0.1) as the
    3737nameserver.</para>
    3838
    3939<para><userinput>
    40 cat > /etc/rc.d/init.d/bind << "EOF" :</userinput>
     40cat &gt; /etc/rc.d/init.d/bind &lt;&lt; "EOF" :</userinput>
    4141Create the boot script for BIND 9, used to start and stop the name
    4242server daemon, named.</para>
  • server/other/bind/bind-config.xml

    r17ced16 rfe3b285  
    2626<para>Create the named.conf file with the following commands:</para>
    2727<para><screen><userinput>
    28 cat > /home/named/etc/named.conf << "EOF"
     28cat &gt; /home/named/etc/named.conf &lt;&lt; "EOF"
    2929 options {
    3030     directory "/etc/namedb";
     
    5252<para>Create a zone file with the following contents: </para>
    5353<para><screen><userinput>
    54 cat &gt; /home/named/etc/namedb/pz/127.0.0 &lt;&lt "EOF"
     54cat &gt; /home/named/etc/namedb/pz/127.0.0 &lt;&lt; "EOF"
    5555$TTL 3D
    5656@      IN      SOA     ns.local.domain. hostmaster.local.domain. (
     
    6969file.</para></note>
    7070<para><screen><userinput>
    71 cat > /home/named/etc/namedb/root.hints << "EOF"
     71cat &gt; /home/named/etc/namedb/root.hints &lt;&lt; "EOF"
    7272.                       6D  IN      NS      A.ROOT-SERVERS.NET.
    7373.                       6D  IN      NS      B.ROOT-SERVERS.NET.
     
    101101<para>Create the rndc.conf with the following commands:</para>
    102102<para><screen><userinput>
    103 cat > /etc/rndc.conf << "EOF"
     103cat &gt; /etc/rndc.conf &lt;&lt; "EOF"
    104104key rndc_key {
    105105algorithm "hmac-md5";
     
    121121<para><screen><userinput>
    122122cp /etc/resolv.conf /etc/resolv.conf.bak
    123 cat > /etc/resolv.conf << "EOF"
     123cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
    124124search yourdomain.com
    125125nameserver 127.0.0.1
     
    176176<para>Add the run level symlinks:</para>
    177177<para><screen><userinput>
    178 chmod 754 /etc/rc.d/init.d/bind &&
    179 ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc0.d/K49bind &&
    180 ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc1.d/K49bind &&
    181 ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc2.d/K49bind &&
    182 ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc3.d/S22bind &&
    183 ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc4.d/S22bind &&
    184 ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc5.d/S22bind &&
     178chmod 754 /etc/rc.d/init.d/bind &amp;&amp;
     179ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc0.d/K49bind &amp;&amp;
     180ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc1.d/K49bind &amp;&amp;
     181ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc2.d/K49bind &amp;&amp;
     182ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc3.d/S22bind &amp;&amp;
     183ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc4.d/S22bind &amp;&amp;
     184ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc5.d/S22bind &amp;&amp;
    185185ln -s  /etc/rc.d/init.d/bind /etc/rc.d/rc6.d/K49bind
    186186</userinput></screen></para>
Note: See TracChangeset for help on using the changeset viewer.