Ignore:
Timestamp:
10/26/2014 10:09:24 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
da4ed49
Parents:
34eaf20
Message:

Netprogs conversion.

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

File:
1 moved

Legend:

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

    r34eaf20 rdec19e9  
    7373      <xref linkend="mitkrb"/> or
    7474      <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">libgssapi</ulink>, and
    75       <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">librpcsecgss</ulink> (for GSS and RPC security support) and
    76       <xref linkend="libcap-pam"/>
     75      <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">librpcsecgss</ulink> (for GSS and RPC security support)
    7776    </para>
    7877
     
    196195
    197196      <sect4 id="nfs-utils-server-init">
    198         <title>Boot Script</title>
    199 
    200         <para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename>
    201         init script included in the <xref linkend="bootscripts"/> package
    202         to start the server at boot.</para>
     197        <title>Systemd Units</title>
     198
     199        <para>
     200          To start the NFS server daemons at boot,
     201          install the systemd units from the <xref linkend="bootscripts"/>
     202          package by running the following command as the
     203          <systemitem class="username">root</systemitem> user:
     204        </para>
    203205
    204206<screen role="root"><userinput>make install-nfs-server</userinput></screen>
     
    208210        </indexterm>
    209211
    210         <para>Now create the <filename>/etc/sysconfig/nfs-server</filename>
    211         configuration file:</para>
    212 
    213 <screen role="root"><userinput>cat &gt; /etc/sysconfig/nfs-server &lt;&lt; "EOF"
    214 <literal>PORT="2049"
    215 PROCESSES="8"
    216 QUOTAS="no"
    217 KILLDELAY="10"</literal>
    218 EOF</userinput></screen>
    219 
    220         <note><para>The above parameters may be optionally placed in
    221         <filename>/etc/sysconfig/rc.site</filename>.</para></note>
     212        <para>You can edit the <filename>/etc/default/nfs-utils</filename>
     213        file to change the startup options for NFS daemons. Defaults should
     214        be fine for most use cases.</para>
    222215
    223216        <indexterm zone="nfs-utils nfs-utils-server-init">
    224           <primary
    225           sortas="e-etc-sysconfig-nfs-server">/etc/sysconfig/nfs-server</primary>
     217          <primary sortas="e-etc-default-nfs-utils">/etc/default/nfs-utils</primary>
    226218        </indexterm>
    227219
     
    284276
    285277      <sect4  id="nfs-utils-client-init">
    286         <title>Boot Script</title>
    287 
    288         <note><para>The following boot script is not required if the
    289         nfs-server script is installed.</para></note>
    290 
    291         <para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename> init
    292         script included in the <xref linkend="bootscripts"/> package to start
    293         the client services at boot.</para>
     278        <title>Systemd Units</title>
     279
     280        <note><para>The following systemd unis are not required if the
     281        nfs-server units were previously installed.</para></note>
     282
     283        <para>
     284          To start the NFS client services at boot,
     285          install the systemd units from the <xref linkend="bootscripts"/>
     286          package by running the following command as the
     287          <systemitem class="username">root</systemitem> user:
     288        </para>
    294289
    295290<screen role="root"><userinput>make install-nfs-client</userinput></screen>
     
    297292        <indexterm zone="nfs-utils nfs-utils-client-config">
    298293          <primary sortas="f-nfs-client">nfs-client</primary>
    299         </indexterm>
    300 
    301         <para>To automatically mount <systemitem
    302         class="filesystem">nfs</systemitem> filesystems, clients will also need
    303         to install the <filename>netfs</filename> bootscript as described in
    304         <xref linkend="postlfs-config-netfs"/>.</para>
    305 
    306         <indexterm zone="nfs-utils nfs-utils-client-config">
    307           <primary sortas="f-netfs">netfs</primary>
    308294        </indexterm>
    309295
Note: See TracChangeset for help on using the changeset viewer.