Changeset dec19e9 for networking/netprogs/nfs-utils-systemd.xml
- Timestamp:
- 10/26/2014 10:09:24 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- da4ed49
- Parents:
- 34eaf20
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
networking/netprogs/nfs-utils-systemd.xml
r34eaf20 rdec19e9 73 73 <xref linkend="mitkrb"/> or 74 74 <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) 77 76 </para> 78 77 … … 196 195 197 196 <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> 203 205 204 206 <screen role="root"><userinput>make install-nfs-server</userinput></screen> … … 208 210 </indexterm> 209 211 210 <para>Now create the <filename>/etc/sysconfig/nfs-server</filename> 211 configuration file:</para> 212 213 <screen role="root"><userinput>cat > /etc/sysconfig/nfs-server << "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> 222 215 223 216 <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> 226 218 </indexterm> 227 219 … … 284 276 285 277 <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> 294 289 295 290 <screen role="root"><userinput>make install-nfs-client</userinput></screen> … … 297 292 <indexterm zone="nfs-utils nfs-utils-client-config"> 298 293 <primary sortas="f-nfs-client">nfs-client</primary> 299 </indexterm>300 301 <para>To automatically mount <systemitem302 class="filesystem">nfs</systemitem> filesystems, clients will also need303 to install the <filename>netfs</filename> bootscript as described in304 <xref linkend="postlfs-config-netfs"/>.</para>305 306 <indexterm zone="nfs-utils nfs-utils-client-config">307 <primary sortas="f-netfs">netfs</primary>308 294 </indexterm> 309 295
Note:
See TracChangeset
for help on using the changeset viewer.