source: basicnet/netprogs/nfs-utils.xml@ 5cd0959d

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 5cd0959d was 5cd0959d, checked in by Archaic <archaic@…>, 20 years ago

Resetting keywords

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

  • Property mode set to 100644
File size: 7.0 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 "336 KB">
10 <!ENTITY nfs-utils-buildsize "8 MB">
11 <!ENTITY nfs-utils-time "">
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</sect3>
111
112<sect3><title>Client Configutation</title>
113
114<para><filename>/etc/fstab</filename> contains the directories that are to be mounted
115on the client. Alternately the partitions can be mounted by using the
116<command>mount</command> command with the proper options. To mount the <filename>/home</filename>
117partition, add the following to the <filename>/etc/fstab</filename>:</para>
118
119<screen><userinput>&lt;server-name&gt;:/home /home nfs rw 0 0</userinput></screen>
120
121<para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename>
122init script included in the
123<xref linkend="intro-important-bootscripts"/> package to
124start the client services at boot.</para>
125
126<screen><userinput><command>make install-nfs-client</command></userinput></screen>
127
128</sect3>
129
130</sect2>
131
132<sect2>
133<title>Contents</title>
134
135<para>The nfs-utils package contains
136<command>getiversion</command>,
137<command>getkversion</command>,
138<command>locktest</command>,
139<command>nlmtest</command>,
140<command>rpcdebug</command>,
141<command>rpcgen</command>,
142<command>exportfs</command>,
143<command>lockd</command>,
144<command>mountd</command>,
145<command>nfsd</command>,
146<command>nfsstat</command>,
147<command>nhfsstone</command>,
148<command>rquotad</command>,
149<command>showmount</command>,
150<command>statd</command> </para>
151
152</sect2>
153
154<sect2><title>Description</title>
155
156<sect3><title>getiversion</title><para>No description available.</para></sect3>
157<sect3><title>getkversion</title><para>No description available.</para></sect3>
158<sect3><title>locktest</title><para>No description available.</para></sect3>
159<sect3><title>nlmtest</title><para>No description available.</para></sect3>
160<sect3><title>rpcdebug</title><para>No description available.</para></sect3>
161<sect3><title>rpcgen</title><para>No description available.</para></sect3>
162<sect3><title>exportfs</title><para><command>exportfs</command>
163maintains a list of <acronym>NFS</acronym> exported directories.</para></sect3>
164<sect3><title>lockd</title><para><command>lockd</command>
165is the <acronym>NFS</acronym> lock manager.</para></sect3>
166<sect3><title>mountd</title><para><command>mountd</command>
167is the <acronym>NFS</acronym> mount daemon which checks client-permissions.</para></sect3>
168<sect3><title>nfsd</title><para><command>nfsd</command>
169is the user-space daemon of the <acronym>NFS</acronym> service.</para></sect3>
170<sect3><title>nfsstat</title><para><command>nfsstat</command>
171prints <acronym>NFS</acronym> statistics.</para></sect3>
172<sect3><title>nhfsstone</title><para><command>nhfsstone</command>
173is the <acronym>NFS</acronym> benchmark program.</para></sect3>
174<sect3><title>rquotad</title><para><command>rquotad</command>
175is the remote quota server communicating with the
176<command>quota</command> client.</para></sect3>
177<sect3><title>showmount</title><para><command>showmount</command>
178shows mount information for an <acronym>NFS</acronym> server.</para></sect3>
179<sect3><title>statd</title><para><command>statd</command>
180is the <acronym>NFS</acronym> status monitor which implements the
181<acronym>NSM</acronym> (Network Status Monitor) <acronym>RPC</acronym> protocol.
182</para></sect3>
183
184</sect2>
185
186</sect1>
187
Note: See TracBrowser for help on using the repository browser.