source: server/major/nfs-utils.xml@ df77402

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since df77402 was df77402, checked in by Bruce Dubbs <bdubbs@…>, 19 years ago

Moved php to programming and NFS to Major Servers

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

  • Property mode set to 100644
File size: 7.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY nfs-utils-download-http "http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz">
8 <!ENTITY nfs-utils-download-ftp "ftp://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz">
9 <!ENTITY nfs-utils-md5sum "f17e9983457e1cf61c37f0be4493fce6">
10 <!ENTITY nfs-utils-size "260 KB">
11 <!ENTITY nfs-utils-buildsize "4.1 MB">
12 <!ENTITY nfs-utils-time "0.9 SBU">
13]>
14
15<sect1 id="nfs-utils" xreflabel="NFS Utilities-&nfs-utils-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="nfs-utils.html"?>
21<title>NFS Utilities-&nfs-utils-version;</title>
22
23<sect2>
24<title>Introduction to <application>nfs-utils</application></title>
25
26<para>The <application>nfs-utils</application> package contains the userspace
27server and client tools necessary to use the kernel's nfs-abilities.
28<acronym>NFS</acronym> is a protocol that allows sharing file systems over the
29network.</para>
30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP): <ulink
34url="&nfs-utils-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink
36url="&nfs-utils-download-ftp;"/></para></listitem>
37<listitem><para>Download MD5 sum: &nfs-utils-md5sum;</para></listitem>
38<listitem><para>Download size: &nfs-utils-size;</para></listitem>
39<listitem><para>Estimated disk space required:
40&nfs-utils-buildsize;</para></listitem>
41<listitem><para>Estimated build time:
42&nfs-utils-time;</para></listitem></itemizedlist>
43</sect3>
44
45<sect3><title><application>nfs-utils</application> dependencies</title>
46<sect4><title>Required</title>
47<para><xref linkend="portmap"/></para>
48</sect4>
49</sect3>
50
51</sect2>
52
53<sect2>
54<title>Kernel Configuration</title>
55
56<para>Enable the following options in the kernel configuration
57and recompile the kernel if neccessary:</para>
58
59<screen>File systems:
60 Network File Systems:
61 NFS File System Support: M or Y
62 NFS Server Support: M or Y</screen>
63
64<para>Select the appropriate sub-options that appear when the above options
65are selected.</para>
66
67</sect2>
68
69<sect2>
70<title>Installation of nfs-utils</title>
71
72<para>Before you compile the program, you need to be sure the "nobody"
73user and "nogroup" group are available. You can add these with the
74following commands:</para>
75
76<screen><userinput><command>groupadd -g 65534 nogroup &amp;&amp;
77useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody</command></userinput></screen>
78
79<para>Install nfs-utils by running the following commands:</para>
80
81<para><screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
82make &amp;&amp;
83make install</command></userinput></screen></para>
84
85<note><para>If your <filename>/usr</filename> directory is NFS mounted,
86you should install the executables in <filename>/sbin</filename> by passing
87an additional parameter <command>--sbindir=/sbin</command> to the above
88<command>./configure</command> command.</para></note>
89
90</sect2>
91
92<sect2>
93<title>Configuring nfs-utils</title>
94
95<sect3><title>Server Configutation</title>
96
97<para><filename>/etc/exports</filename> contains the exported directories on
98<acronym>NFS</acronym> servers. Refer to the exports manual page for the
99syntax of this file. Also refer to the <acronym>NFS</acronym> HowTo available
100at <ulink url="http://nfs.sourceforge.net/nfs-howto/"/> on how to configure
101the servers and clients in a secure manner. For example, for sharing the
102<filename>/home</filename> directory over the local network, the following
103line may be added:</para>
104
105<screen><userinput>/home 192.168.0.0/255.255.0.0(rw)</userinput></screen>
106
107<para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename>
108init script included in the
109<xref linkend="intro-important-bootscripts"/> package to start
110the server at boot.</para>
111
112<screen><userinput><command>make install-nfs-server</command></userinput></screen>
113
114<para>Now create the <filename>/etc/sysconfig/nfs-server</filename>
115configuration file:</para>
116
117<screen><userinput><command>cat &gt; /etc/sysconfig/nfs-server &lt;&lt; "EOF"</command>
118PORT="2049"
119PROCESSES="8"
120QUOTAS="no"
121KILLDELAY="10"
122<command>EOF</command></userinput></screen>
123
124</sect3>
125
126<sect3><title>Client Configutation</title>
127
128<para><filename>/etc/fstab</filename> contains the directories that are to be
129mounted on the client. Alternately the partitions can be mounted by using the
130<command>mount</command> command with the proper options. To mount the
131<filename>/home</filename> partition, add the following to the
132<filename>/etc/fstab</filename>:</para>
133
134<screen><userinput>&lt;server-name&gt;:/home /home nfs rw 0 0</userinput></screen>
135
136<para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename>
137init script included in the
138<xref linkend="intro-important-bootscripts"/> package to
139start the client services at boot.</para>
140
141<screen><userinput><command>make install-nfs-client</command></userinput></screen>
142
143</sect3>
144
145</sect2>
146
147<sect2>
148<title>Contents</title>
149
150<para>The nfs-utils package contains
151<command>getiversion</command>,
152<command>getkversion</command>,
153<command>locktest</command>,
154<command>nlmtest</command>,
155<command>rpcdebug</command>,
156<command>rpcgen</command>,
157<command>exportfs</command>,
158<command>lockd</command>,
159<command>mountd</command>,
160<command>nfsd</command>,
161<command>nfsstat</command>,
162<command>nhfsstone</command>,
163<command>rquotad</command>,
164<command>showmount</command>,
165<command>statd</command> </para>
166
167</sect2>
168
169<sect2><title>Description</title>
170
171<sect3><title>getiversion</title><para>No description available.</para></sect3>
172<sect3><title>getkversion</title><para>No description available.</para></sect3>
173<sect3><title>locktest</title><para>No description available.</para></sect3>
174<sect3><title>nlmtest</title><para>No description available.</para></sect3>
175<sect3><title>rpcdebug</title><para>No description available.</para></sect3>
176<sect3><title>rpcgen</title><para>No description available.</para></sect3>
177<sect3><title>exportfs</title><para><command>exportfs</command>
178maintains a list of <acronym>NFS</acronym> exported directories.</para></sect3>
179<sect3><title>lockd</title><para><command>lockd</command>
180is the <acronym>NFS</acronym> lock manager.</para></sect3>
181<sect3><title>mountd</title><para><command>mountd</command>
182is the <acronym>NFS</acronym> mount daemon which checks
183client-permissions.</para></sect3>
184<sect3><title>nfsd</title><para><command>nfsd</command>
185is the user-space daemon of the <acronym>NFS</acronym> service.</para></sect3>
186<sect3><title>nfsstat</title><para><command>nfsstat</command>
187prints <acronym>NFS</acronym> statistics.</para></sect3>
188<sect3><title>nhfsstone</title><para><command>nhfsstone</command>
189is the <acronym>NFS</acronym> benchmark program.</para></sect3>
190<sect3><title>rquotad</title><para><command>rquotad</command>
191is the remote quota server communicating with the
192<command>quota</command> client.</para></sect3>
193<sect3><title>showmount</title><para><command>showmount</command>
194shows mount information for an <acronym>NFS</acronym> server.</para></sect3>
195<sect3><title>statd</title><para><command>statd</command>
196is the <acronym>NFS</acronym> status monitor which implements the
197<acronym>NSM</acronym> (Network Status Monitor) <acronym>RPC</acronym> protocol.
198</para></sect3>
199
200</sect2>
201
202</sect1>
203
Note: See TracBrowser for help on using the repository browser.