source: basicnet/netprogs/nfs-utils/nfs-utils-config.xml@ 12929fb

10.0 10.1 11.0 11.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/intltool xry111/test-20220226
Last change on this file since 12929fb was 12929fb, checked in by Igor Živković <igor@…>, 18 years ago

fixed nfs-client's init script installation wording

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

  • Property mode set to 100644
File size: 1.6 KB
Line 
1<sect2>
2<title>Configuring nfs-utils</title>
3
4<sect3><title>Server Configutation</title>
5
6<para><filename>/etc/exports</filename> contains the exported directories on NFS servers.
7Refer to the exports manual page for the syntax of this file. Also refer to the
8NFS HowTo available at <ulink url="http://nfs.sourceforge.net/nfs-howto/"/> on how to
9configure the servers and clients in a secure manner. For example, for sharing the
10<filename>/home</filename> directory over the local network, the following line may
11be added:</para>
12
13<screen><userinput>/home 192.168.0.0/255.255.0.0(rw)</userinput></screen>
14
15<para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename>
16init script included in the
17<xref linkend="intro-important-bootscripts"/> package to start
18the server at boot.</para>
19
20<screen><userinput><command>make install-nfs-server</command></userinput></screen>
21
22</sect3>
23
24<sect3><title>Client Configutation</title>
25
26<para><filename>/etc/fstab</filename> contains the directories that are to be mounted
27on the client. Alternately the partitions can be mounted by using the
28<command>mount</command> command with the proper options. To mount the <filename>/home</filename>
29partition, add the following to the <filename>/etc/fstab</filename>:</para>
30
31<screen><userinput>&lt;server-name&gt;:/home /home nfs rw 0 0</userinput></screen>
32
33<para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename>
34init script included in the
35<xref linkend="intro-important-bootscripts"/> package to
36start the client services at boot.</para>
37
38<screen><userinput><command>make install-nfs-client</command></userinput></screen>
39
40</sect3>
41
42</sect2>
Note: See TracBrowser for help on using the repository browser.