mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 13:04:42 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2213 af4574ff-66df-0310-9fd7-8a98e5e911e0
40 lines
1.2 KiB
XML
40 lines
1.2 KiB
XML
<sect2>
|
|
<title>Kernel Configuration</title>
|
|
|
|
<para>Enable the following options in the kernel configuration
|
|
and recompile the kernel if neccessary:</para>
|
|
|
|
<screen>File systems:
|
|
Network File Systems:
|
|
NFS File System Support: M or Y
|
|
NFS Server Support: M or Y</screen>
|
|
|
|
<para>Select the appropriate sub-options that appear when the above options
|
|
are selected.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of nfs-utils</title>
|
|
|
|
<para>Before you compile the program, you need to be sure the "nobody"
|
|
user and "nogroup" group are available. You can add these with the
|
|
following commands:</para>
|
|
|
|
<screen><userinput><command>groupadd -g 65534 nogroup &&
|
|
useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody</command></userinput></screen>
|
|
|
|
<para>Install nfs-utils by running the following commands:</para>
|
|
|
|
<para><screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
|
make &&
|
|
make install</command></userinput></screen></para>
|
|
|
|
<note><para>If your <filename>/usr</filename> directory is NFS mounted,
|
|
you should install the executables in <filename>/sbin</filename> by passing
|
|
an additional parameter <command>--sbindir=/sbin</command> to the above
|
|
<command>./configure</command> command.</para></note>
|
|
|
|
</sect2>
|
|
|