Ignore:
Timestamp:
06/11/2016 05:26:20 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
cec6657e
Parents:
a9e71e2
Message:

[Systemd merge] - Chapter 16

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/nfs-utils.xml

    ra9e71e2 r7b478500  
    7070      <xref linkend="libevent"/>,
    7171      <xref linkend="sqlite"/> and
    72       <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">libnfsidmap</ulink> (for NFSv4 support),
     72      <phrase revision="sysv"><ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">libnfsidmap</ulink></phrase>
     73      <phrase revision="systemd"><xref linkend="libnfsidmap"/></phrase>
     74      (for NFSv4 support),
    7375      <xref linkend="mitkrb"/> or
    7476      <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">libgssapi</ulink>, and
     
    218220
    219221      <sect4 id="nfs-utils-server-init">
    220         <title>Boot Script</title>
    221 
    222         <para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename>
    223         init script included in the <xref linkend="bootscripts" revision="sysv"/>
     222        <title><phrase revision="sysv">Boot Script</phrase>
     223               <phrase revision="systemd">Systemd Units</phrase></title>
     224
     225        <para>Install the
     226        <phrase revision="sysv"><filename>/etc/rc.d/init.d/nfs-server</filename>
     227        init script</phrase>
     228        <phrase revision="systemd">NFSv4 server units</phrase>
     229        included in the <xref linkend="bootscripts" revision="sysv"/>
    224230        <xref linkend="systemd-units" revision="systemd"/> package
    225231        to start the server at boot.</para>
    226232
     233<screen role="root" revision="systemd"><userinput>make install-nfsv4-server</userinput></screen>
     234
     235        <para revision="systemd">
     236          If you have disabled NFSv4 support, run the following command as the
     237          <systemitem class="username">root</systemitem> user to omit the NFSv4
     238          specific systemd units:
     239        </para>
     240
     241<!-- both -->
    227242<screen role="root"><userinput>make install-nfs-server</userinput></screen>
    228243
    229         <indexterm zone="nfs-utils nfs-utils-server-init">
     244        <indexterm zone="nfs-utils nfs-utils-server-init" revision="sysv">
    230245          <primary sortas="f-nfs-server">nfs-server</primary>
    231246        </indexterm>
    232247
    233         <para>Now create the <filename>/etc/sysconfig/nfs-server</filename>
    234         configuration file:</para>
    235 
    236 <screen role="root"><userinput>cat &gt; /etc/sysconfig/nfs-server &lt;&lt; "EOF"
     248        <para revision="sysv">Now create the
     249          <filename>/etc/sysconfig/nfs-server</filename> configuration file:
     250        </para>
     251
     252<screen role="root" revision="sysv"><userinput>cat &gt; /etc/sysconfig/nfs-server &lt;&lt; "EOF"
    237253<literal>PORT="2049"
    238254PROCESSES="8"
     
    241257EOF</userinput></screen>
    242258
    243         <note><para>The above parameters may be optionally placed in
    244         <filename>/etc/sysconfig/rc.site</filename>.</para></note>
    245 
    246         <indexterm zone="nfs-utils nfs-utils-server-init">
     259        <note revision="sysv">
     260          <para>The above parameters may be optionally placed in
     261            <filename>/etc/sysconfig/rc.site</filename>.
     262          </para>
     263        </note>
     264
     265        <indexterm zone="nfs-utils nfs-utils-server-init" revision="sysv">
    247266          <primary
    248267          sortas="e-etc-sysconfig-nfs-server">/etc/sysconfig/nfs-server</primary>
    249268        </indexterm>
     269
     270        <para revision="systemd">
     271          You can edit the <filename>/etc/default/nfs-utils</filename>
     272          file to change the startup options for NFS daemons. Defaults
     273          should be fine for most use cases.
     274        </para>
     275
     276        <indexterm zone="nfs-utils nfs-utils-server-init" revision="systemd">
     277          <primary sortas="e-etc-default-nfs-utils">/etc/default/nfs-utils</primary>
     278        </indexterm>
     279
     280
    250281
    251282      </sect4>
     
    287318
    288319      <sect4  id="nfs-utils-client-init">
    289         <title>Boot Script</title>
    290 
    291         <note><para>The following boot script is not required if the
    292         nfs-server script is installed.</para></note>
    293 
    294         <para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename> init
    295         script included in the <xref linkend="bootscripts" revision="sysv"/>
     320        <title><phrase revision="sysv">Boot Script</phrase>
     321               <phrase revision="systemd">Systemd Units</phrase></title>
     322
     323        <note>
     324          <para>
     325            The following <phrase revision="sysv">boot script is</phrase>
     326            <phrase revision="systemd">systemd units are</phrase> not required
     327            if the nfs-server <phrase revision="sysv">script is</phrase>
     328            <phrase revision="systemd">units are</phrase> installed.
     329          </para>
     330        </note>
     331
     332        <para>Install the
     333        <phrase revision="sysv">
     334        <filename>/etc/rc.d/init.d/nfs-client</filename> init script</phrase>
     335        <phrase revision="systemd">units</phrase> included in the
     336        <xref linkend="bootscripts" revision="sysv"/>
    296337        <xref linkend="systemd-units" revision="systemd"/> package to start
    297338        the client services at boot.</para>
     
    308349        <xref linkend="postlfs-config-netfs"/>.</para>
    309350
    310         <indexterm zone="nfs-utils nfs-utils-client-config">
     351        <indexterm zone="nfs-utils nfs-utils-client-config" revision="sysv">
    311352          <primary sortas="f-netfs">netfs</primary>
    312353        </indexterm>
Note: See TracChangeset for help on using the changeset viewer.