source: basicnet/netprogs/nfs-utils/nfs-utils-config.xml@ 98d18589

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 98d18589 was 98d18589, checked in by Tushar Teredesai <tushar@…>, 20 years ago

More bootscript changes

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

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[176b211]1<sect2>
2<title>Configuring nfs-utils</title>
3
[a945d40]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
[98d18589]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>
[a945d40]19
[98d18589]20<screen><userinput><command>make install-nfs-server</command></userinput></screen>
[a945d40]21
[176b211]22</sect3>
23
[a945d40]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
[98d18589]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 mount
36the partitions at boot.</para>
[a945d40]37
[98d18589]38<screen><userinput><command>make install-nfs-client</command></userinput></screen>
[176b211]39
40</sect3>
41
42</sect2>
43
Note: See TracBrowser for help on using the repository browser.