Changeset b8214dc6


Ignore:
Timestamp:
10/20/2004 06:55:24 AM (18 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 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, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
94b1dc3
Parents:
e16d90ee
Message:

bind-9.3.0 and fsfs for svnserver

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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netutils/bind-utils.xml

    re16d90ee rb8214dc6  
    77  <!ENTITY bind-download-http   "http://gd.tuwien.ac.at/infosys/servers/isc/bind9/&bind-version;/bind-&bind-version;.tar.gz">
    88  <!ENTITY bind-download-ftp    "ftp://ftp.isc.org/isc/bind9/&bind-version;/bind-&bind-version;.tar.gz">
    9   <!ENTITY bind-size            "4.4 MB">
    10   <!ENTITY bind-utils-buildsize "47 MB">
    11   <!ENTITY bind-utils-time      "0.54 SBU">
     9  <!ENTITY bind-size            "4.6 MB">
     10  <!ENTITY bind-utils-buildsize "67 MB">
     11  <!ENTITY bind-utils-time      "0.41 SBU">
    1212]>
    1313
     
    2121
    2222<sect2>
    23 <title>Introduction to <application><acronym>BIND</acronym> Utilities</application></title>
     23<title>Introduction to <application><acronym>BIND</acronym>
     24Utilities</application></title>
    2425
    2526<para><application><acronym>BIND</acronym> Utilities</application> is not a
     
    5051
    5152<sect2>
    52 <title>Installation of <application><acronym>BIND</acronym> Utilities</application></title>
     53<title>Installation of <application><acronym>BIND</acronym>
     54Utilities</application></title>
    5355
    54 <para>Install <application><acronym>BIND</acronym> Utilities</application> by
     56<para>Install
     57<application><acronym>BIND</acronym> Utilities</application> by
    5558running the following commands:</para>
    5659
     
    5861make -C lib/dns &amp;&amp;
    5962make -C lib/isc &amp;&amp;
     63make -C lib/bind9 &amp;&amp;
     64make -C lib/isccfg &amp;&amp;
     65make -C lib/lwres &amp;&amp;
    6066make -C bin/dig &amp;&amp;
    6167make -C bin/dig install</userinput></screen>
     
    6672<title>Command explanations</title>
    6773
    68 <para><command>make -C lib/...</command>: This command  builds the libraries that are needed for the client programs.</para>
     74<para><command>make -C lib/...</command>: These commands build the
     75libraries that are needed for the client programs.</para>
    6976
    70 <para><command>make -C bin/dig</command>: This command  builds the client programs.</para>
     77<para><command>make -C bin/dig</command>: This command  builds the
     78client programs.</para>
    7179
    7280</sect2>
  • general.ent

    re16d90ee rb8214dc6  
    183183<!ENTITY nmap-version                 "3.70"> 
    184184<!ENTITY whois-version                "4.6.21">
    185 <!ENTITY bind-version                 "9.2.3">
     185<!ENTITY bind-version                 "9.3.0">
    186186<!ENTITY ethereal-version             "0.10.6">
    187187                                 
  • introduction/welcome/changelog.xml

    re16d90ee rb8214dc6  
    2222
    2323<itemizedlist>
     24
     25<listitem><para>October 20th, 2004 [dj]: Updated to bind-9.3.0 and
     26moved subversion to use FSFS backend.</para></listitem>
    2427
    2528<listitem><para>October 20th, 2004 [randy]: Updated to
  • server/other/bind.xml

    re16d90ee rb8214dc6  
    77<!ENTITY bind-download-http "http://gd.tuwien.ac.at/infosys/servers/isc/bind9/&bind-version;/bind-&bind-version;.tar.gz">
    88<!ENTITY bind-download-ftp "ftp://ftp.isc.org/isc/bind9/&bind-version;/bind-&bind-version;.tar.gz">
    9 <!ENTITY bind-size "4.4 MB">
    10 <!ENTITY bind-buildsize "88 MB">
    11 <!ENTITY bind-time "0.89 SBU">
     9<!ENTITY bind-size "4.6 MB">
     10<!ENTITY bind-buildsize "138 MB">
     11<!ENTITY bind-time "0.67 SBU">
    1212
    1313]>
     
    7272<sect3><title>Configuration Information</title>
    7373
    74 <para>We will configure
    75 <application><acronym>BIND</acronym></application> to run in a chroot
    76 jail as an unprivileged user (named). This configuration is more secure
    77 in that a <acronym>DNS</acronym> compromise can only affect a few files
    78 in the named user's <envar>HOME</envar> directory.</para>
    79 
    80 <para>First we create the unprivileged user and group named:</para>
     74<para><application><acronym>BIND</acronym></application> will configured
     75to run in a chroot jail as an unprivileged user (named). This configuration
     76is more secure in that a <acronym>DNS</acronym> compromise can only affect
     77a few files in the named user's <envar>HOME</envar> directory.</para>
     78
     79<para>Create the unprivileged user and group named:</para>
    8180
    8281<screen><userinput><command>groupadd named &amp;&amp;
    8382useradd -m -g named -s /bin/false named</command></userinput></screen>
    8483
    85 <para>Then we set up some files, directories and devices needed by
     84<para>Set up some files, directories and devices needed by
    8685<application><acronym>BIND</acronym></application>:</para>
    8786
     
    9493cp /etc/localtime /home/named/etc</command></userinput></screen>
    9594
     95<para>Then, generate a key for use in the <filename>named.conf</filename>
     96and <filename>rdnc.conf</filename> files using the
     97<command>rndc-confgen</command> command:</para>
     98
     99<screen><userinput><command>rndc-confgen -b 512 | grep -m 1 "secret" | cut -d '"' -f 2</command></userinput></screen>
     100
    96101<para>Create the <filename>named.conf</filename> file from which named
    97102will read the location of zone files, root name servers and secure
     
    110115 key "rndc_key" {
    111116     algorithm hmac-md5;
    112      secret "<replaceable>[c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K]</replaceable>";
     117     secret "<replaceable>[Insert secret from rndc-confgen's output here]</replaceable>";
    113118 };
    114119 zone "." {
     
    121126 };
    122127<command>EOF</command></userinput></screen>
     128
     129<para>Create the <filename>rndc.conf</filename> with the following commands:</para>
     130                                                                                                                     
     131<screen><userinput><command>cat &gt; /etc/rndc.conf &lt;&lt; "EOF"</command>
     132key rndc_key {
     133algorithm "hmac-md5";
     134    secret
     135    "<replaceable>[Insert secret from rndc-confgen's output here]</replaceable>";
     136    };
     137options {
     138    default-server localhost;
     139    default-key    rndc_key;
     140};
     141<command>EOF</command></userinput></screen>
     142                                                                                                                     
     143<para>The <filename>rndc.conf</filename> file contains information for
     144controlling named operations with the <command>rndc</command>
     145utility.</para>
    123146
    124147<para>Create a zone file with the following contents:</para>
     
    177200details.</para>
    178201
    179 <para>Create the <filename>rndc.conf</filename> with the following commands:</para>
    180 
    181 <screen><userinput><command>cat &gt; /etc/rndc.conf &lt;&lt; "EOF"</command>
    182 key rndc_key {
    183 algorithm "hmac-md5";
    184     secret
    185     "<replaceable>[c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K]</replaceable>";
    186     };
    187 options {
    188     default-server localhost;
    189     default-key    rndc_key;
    190 };
    191 <command>EOF</command></userinput></screen>
    192 
    193 <para>The <filename>rndc.conf</filename> file contains information for
    194 controlling named operations with the <command>rndc</command>
    195 utility.</para>
    196 
    197202<para>Create or modify <filename>resolv.conf</filename> to use the new
    198203name server with the following commands:</para>
  • server/other/svnserver.xml

    re16d90ee rb8214dc6  
    8383<sect3><title>2. Create a <application>Subversion</application>
    8484repository.</title>
     85
     86<para>With subversion-1.1.0 and greater, a new type of repository
     87data-store is availible, <acronym>FSFS</acronym>.  There is a tradeoff
     88for speed with the new backend, however, the repository can now be
     89placed on a network mount, and any corruption does not require an
     90admin to recover the repository.  For more information and comparison
     91between <acronym>FSFS</acronym> and <acronym>BDB</acronym>, plese see
     92<ulink url="http://svnbook.red-bean.com/svnbook-1.1/ch05.html#svn-ch-5-sect-1.2.A"/>.
     93Optionally you can pass <parameter>bdb</parameter> in place of
     94<parameter>fsfs</parameter> in the following command to create a
     95BerkelyDB data-store.</para>
     96
    8597<para>Create a new <application>Subversion</application> repository with
    8698the following commands:</para>
     
    88100<screen><userinput><command>install -d -m0755 /srv &amp;&amp;
    89101install -d -m0755 -o svn -g svn /srv/svn/repositories &amp;&amp;
    90 svnadmin create /srv/svn/repositories/svntest</command></userinput></screen>
     102svnadmin create --fs-type fsfs /srv/svn/repositories/svntest</command></userinput></screen>
    91103
    92104<para>Now that the repository is created, we need to populate it with
     
    209221<command>EOF</command></userinput></screen>
    210222
    211 <para>Finally, if you wish to simply start the sever in daemon mode at
     223<para>Finally, if you wish to simply start the sever at
    212224startup, install the svn bootscript included in the
    213225<xref linkend="intro-important-bootscripts"/> package.</para>
Note: See TracChangeset for help on using the changeset viewer.