source: basicnet/netprogs/nfs-utils.xml@ 4e33969

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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4e33969 was b0c67c8b, checked in by DJ Lucas <dj@…>, 20 years ago

updated build times/sizes for xinetd, portmap, tcpwrappers and nfs-utils

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

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