Changeset 1be4837c for server/other


Ignore:
Timestamp:
10/26/2014 10:42:39 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
44ae5736
Parents:
da4ed49
Message:

Convert entire Servers section.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/krejzi@14757 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
server/other
Files:
1 edited
3 moved

Legend:

Unmodified
Added
Removed
  • server/other/openldap-systemd.xml

    rda4ed49 r1be4837c  
    9191    <bridgehead renderas="sect4">Recommended</bridgehead>
    9292    <para role="recommended">
    93       <xref linkend="db"/> (only if building server),
    94       <xref linkend="cyrus-sasl"/>, and
     93      <xref linkend="cyrus-sasl"/>,
     94      <xref linkend="db"/> (only if building server) and
    9595      <xref linkend="openssl"/>
    9696    </para>
     
    9999    <para role="optional">
    100100      <xref linkend="icu"/>,
    101         <xref linkend="mariadb"/> or
    102         <ulink url="http://www.mysql.com/">MySQL</ulink> or
    103         <xref linkend="postgresql"/>,
     101      <xref linkend="mariadb"/> or
     102      <xref linkend="postgresql"/>,
    104103      <ulink url="http://www.openslp.org/">OpenSLP</ulink>,
    105104      <xref linkend="pth"/> and
     
    187186
    188187    <para>
    189       To test the results, issue: <command>make test</command>. Tests may fail
    190       after a long time (~ 5 SBU).
     188      To test the results, issue: <command>make -k test</command>.
    191189    </para>
    192190
     
    223221
    224222    <para>
    225       <command>sed ... configure</command>: Fix  <command>configure</command>
    226       script for building with <application>Berkeley DB-6.0.20</application> or
    227       later.
     223      <command>sed ... configure</command>: This command prevents
     224      <command>configure</command> from failing when
     225      <application>Berkeley-DB-6.0.20</application> or later is
     226      found on the system.
    228227    </para>
    229228
     
    397396
    398397    <sect3 id="openldap-init">
    399       <title>Boot Script</title>
    400 
    401       <para>
    402         To automate the startup of the LDAP server at system bootup,
    403         install the <filename>/etc/rc.d/init.d/slapd</filename> init script
    404         included in the <xref linkend="bootscripts"/> package
    405         using the following command:
     398      <title>Systemd Units</title>
     399
     400      <para>
     401        To start the <command>slapd</command> daemon at boot,
     402        install the systemd unit from the <xref linkend="bootscripts"/>
     403        package by running the following command as the
     404        <systemitem class="username">root</systemitem> user:
    406405      </para>
    407406
     
    415414        <para>
    416415          You'll need to modify the
    417           <filename>/etc/sysconfig/slapd</filename> to include the
     416          <filename>/etc/default/slapd</filename> to include the
    418417          parameters needed for your specific configuration. See the
    419418          <command>slapd</command> man page for parameter information.
     
    427426
    428427      <para>
    429         Start the LDAP server using the init script:
    430       </para>
    431 
    432 <screen role="root"><userinput>/etc/rc.d/init.d/slapd start</userinput></screen>
     428        Start the LDAP server using <command>systemctl</command>:
     429      </para>
     430
     431<screen role="root"><userinput>systemctl start slapd</userinput></screen>
    433432
    434433      <para>
  • server/other/other.xml

    rda4ed49 r1be4837c  
    2323  that you can analyze the risks.</para>
    2424
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openldap.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openldap-systemd.xml"/>
    2626<!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="soprano.xml"/>-->
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unbound.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unbound-systemd.xml"/>
    2828<!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="virtuoso.xml"/>-->
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xinetd.xml"/>
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xinetd-systemd.xml"/>
    3030
    3131</chapter>
  • server/other/unbound-systemd.xml

    rda4ed49 r1be4837c  
    155155
    156156    <para>
    157       <option>--with-libevent</option>: This option enables libevent support
     157      <option>--with-libevent</option>: This switch enables libevent support
    158158      allowing use of large outgoing port ranges.
    159159    </para>
    160160
    161161    <para>
    162       <option>--with-pyunbound</option>: This option enables building of the Python
     162      <option>--with-pyunbound</option>: This switch enables building of the Python
    163163      bindings.
    164164    </para>
     
    211211
    212212    <sect3 id="unbound-init">
    213       <title>Boot Script</title>
    214 
    215       <para>If you want the <application>Unbound</application> server to
    216       start automatically when the system is booted, install the
    217       <filename>/etc/rc.d/init.d/unbound</filename> init script included
    218       in the <xref linkend="bootscripts"/> package.</para>
     213      <title>Systemd Units</title>
     214
     215      <para>
     216        To start the <command>unbound</command> daemon at boot,
     217        install the systemd unit from the <xref linkend="bootscripts"/>
     218        package by running the following command as the
     219        <systemitem class="username">root</systemitem> user:
     220      </para>
    219221
    220222      <indexterm zone="unbound unbound-init">
  • server/other/xinetd-systemd.xml

    rda4ed49 r1be4837c  
    88  <!-- <!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz"> -->
    99  <!ENTITY xinetd-download-http " ">
    10   <!ENTITY xinetd-download-ftp  "&sources-anduin-ftp;/x/xinetd-&xinetd-version;.tar.gz">
     10  <!ENTITY xinetd-download-ftp  "&gentoo-ftp-repo;/xinetd-&xinetd-version;.tar.gz">
    1111  <!ENTITY xinetd-md5sum        "77358478fd58efa6366accae99b8b04c">
    1212  <!ENTITY xinetd-size          "308 KB">
     
    7777    commands:</para>
    7878
    79 <screen><userinput>sed -i -e "s/exec_server/child_process/" xinetd/builtins.c       &amp;&amp;
     79<screen><userinput>sed -i -e "s/exec_server/child_process/" xinetd/builtins.c        &amp;&amp;
    8080sed -i -e "/register unsigned count/s/register//" xinetd/itox.c  &amp;&amp;
    8181./configure --prefix=/usr --mandir=/usr/share/man --with-loadavg &amp;&amp;
     
    397397
    398398    <sect3  id="xinetd-init">
    399       <title>Boot Script</title>
    400 
    401       <para>As the <systemitem class="username">root</systemitem> user, install
    402       the <filename>/etc/rc.d/init.d/xinetd</filename> init script included in
    403       the <xref linkend="bootscripts"/> package.</para>
     399      <title>Systemd Units</title>
     400
     401      <para>
     402        To start the <command>xinetd</command> daemon at boot,
     403        install the systemd unit from the <xref linkend="bootscripts"/>
     404        package by running the following command as the
     405        <systemitem class="username">root</systemitem> user:
     406      </para>
    404407
    405408      <indexterm zone="xinetd xinetd-init">
     
    410413
    411414      <para>As the <systemitem class="username">root</systemitem> user,
    412       use the new boot script to start <command>xinetd</command>:</para>
    413 
    414 <screen role="root"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen>
    415 
    416       <para>Check the <filename>/var/log/daemon.log</filename> to ensure the
     415      use the <command>systemctl</command> utility to start
     416      <command>xinetd</command>:</para>
     417
     418<screen role="root"><userinput>systemctl start xinetd</userinput></screen>
     419
     420      <para>Check the <command>journalctl</command> output to ensure the
    417421      appropriate services are started. If no services are enabled, the program
    418422      will not start without the <option>-stayalive</option> option.</para>
Note: See TracChangeset for help on using the changeset viewer.