Changeset cae7a6fb for networking/netprogs
- Timestamp:
- 07/15/2014 07:51:11 AM (10 years ago)
- Branches:
- gnome
- Children:
- 5bc57bb
- Parents:
- e1df6e21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netprogs/nfs-utils.xml
re1df6e21 rcae7a6fb 195 195 </indexterm> 196 196 197 <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 <sect4 id="nfs-utils-server-init-systemd"> 198 <title>Systemd Unit File</title> 199 200 <note> 201 <para> 202 Note that there is no support for gss (gssd) daemons nor nfsv4 (idmapd) 203 daemons yet since BLFS doesn't support the configuration out of the box. 204 </para> 205 </note> 206 207 208 <para> 209 The systemd-units package provides native unit files. To install the unit file 210 included in the <xref linkend="systemd-units"/> package 211 to start the server at boot issue the following command 212 as the <systemitem class="username">root</systemitem> user: 213 </para> 203 214 204 215 <screen role="root"><userinput>make install-nfs-server</userinput></screen> 205 216 206 <indexterm zone="nfs-utils nfs-utils-server-init ">217 <indexterm zone="nfs-utils nfs-utils-server-init-systemd"> 207 218 <primary sortas="f-nfs-server">nfs-server</primary> 208 219 </indexterm> 209 220 210 <para>Now create the <filename>/etc/ sysconfig/nfs-server</filename>221 <para>Now create the <filename>/etc/default/nfs-utils</filename> 211 222 configuration file:</para> 212 223 213 <screen role="root"><userinput>cat > /etc/ sysconfig/nfs-server<< "EOF"224 <screen role="root"><userinput>cat > /etc/default/nfs-utils << "EOF" 214 225 <literal>PORT="2049" 215 226 PROCESSES="8" … … 218 229 EOF</userinput></screen> 219 230 220 <note><para>The above parameters may be optionally placed in 221 <filename>/etc/sysconfig/rc.site</filename>.</para></note> 222 223 <indexterm zone="nfs-utils nfs-utils-server-init"> 231 <indexterm zone="nfs-utils nfs-utils-server-init-systemd"> 224 232 <primary 225 233 sortas="e-etc-sysconfig-nfs-server">/etc/sysconfig/nfs-server</primary> … … 289 297 nfs-server script is installed.</para></note> 290 298 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> 299 <para>Install the systemd unit file included in the 300 <xref linkend="systemd-units"/> package to start 301 the client services at boot issue the following command as the 302 <systemitem class="username">root</systemitem> 303 user:</para> 294 304 295 305 <screen role="root"><userinput>make install-nfs-client</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.