Ignore:
Timestamp:
03/11/2004 06:50:24 AM (20 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
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
Children:
2f473b2
Parents:
14e31ce3
Message:

Added nfs-utils-1.0.6

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

Location:
basicnet/netprogs/nfs-utils
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netprogs/nfs-utils/nfs-utils-config.xml

    r14e31ce3 ra945d40  
    22<title>Configuring nfs-utils</title>
    33
    4 <sect3><title>Config files</title>
    5 <para><userinput>List of config files</userinput></para>
     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
     15<para>Create the nfs-server script to start the server at boot:</para>
     16
     17<screen><userinput><command>cat &gt; /etc/rc.d/init.d/nfs-server</command>
     18#!/bin/sh
     19# Begin $rc_base/init.d/nfs-server
     20                                                                                                               
     21# Based on sysklogd script from LFS-3.1 and earlier.
     22# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
     23                                                                                                               
     24. /etc/sysconfig/rc
     25. $rc_functions
     26                                                                                                               
     27case "$1" in
     28    start)
     29            echo "Starting NFS Server..."
     30            loadproc /usr/sbin/rpc.mountd
     31            loadproc /usr/sbin/rpc.nfsd 8
     32            loadproc /usr/sbin/rpc.statd
     33            ;;
     34                                                                                                               
     35    stop)
     36            echo "Stopping NFS Server..."
     37            killproc /usr/sbin/rpc.nfsd
     38            killproc /usr/sbin/rpc.mountd
     39            ;;
     40                                                                                                               
     41    reload)
     42            echo "Reloading NFS Server..."
     43            /usr/sbin/exportfs -ra
     44            ;;
     45                                                                                                               
     46    restart)
     47            $0 stop
     48            sleep 1
     49            $0 start
     50            ;;
     51                                                                                                               
     52    status)
     53            statusproc /usr/sbin/rpc.mountd
     54            statusproc /usr/sbin/rpc.nfsd
     55            ;;
     56                                                                                                               
     57    *)
     58            echo "Usage: $0 {start|stop|reload|restart|status}"
     59            exit 1
     60            ;;
     61esac
     62                                                                                                               
     63# End $rc_base/init.d/nfs-server
     64<command>EOF
     65chmod 755 /etc/rc.d/init.d/nfs-server &amp;&amp;
     66ln -s /etc/rc.d/init.d/nfs-server /etc/rc.d/rc0.d/K48nfs-server &amp;&amp;
     67ln -s /etc/rc.d/init.d/nfs-server /etc/rc.d/rc1.d/K48nfs-server &amp;&amp;
     68ln -s /etc/rc.d/init.d/nfs-server /etc/rc.d/rc2.d/K48nfs-server &amp;&amp;
     69ln -s /etc/rc.d/init.d/nfs-server /etc/rc.d/rc3.d/S24nfs-server &amp;&amp;
     70ln -s /etc/rc.d/init.d/nfs-server /etc/rc.d/rc4.d/S24nfs-server &amp;&amp;
     71ln -s /etc/rc.d/init.d/nfs-server /etc/rc.d/rc5.d/S24nfs-server &amp;&amp;
     72ln -s /etc/rc.d/init.d/nfs-server /etc/rc.d/rc6.d/K48nfs-server</command></userinput></screen>
     73
    674</sect3>
    775
    8 <sect3><title>Configuration Information</title>
     76<sect3><title>Client Configutation</title>
    977
    10 <para><userinput>USERINPUT GOES HERE</userinput> Blah blah blah about config.
    11 </para>
     78<para><filename>/etc/fstab</filename> contains the directories that are to be mounted
     79on the client. Alternately the partitions can be mounted by using the
     80<command>mount</command> command with the proper options. To mount the <filename>/home</filename>
     81partition, add the following to the <filename>/etc/fstab</filename>:</para>
     82
     83<screen><userinput>&lt;server-name&gt;:/home /home nfs rw 0 0</userinput></screen>
     84
     85<para>Create the nfs-client script to mount the partitions at boot:</para>
     86
     87<screen><userinput><command>cat &gt; /etc/rc.d/init.d/nfs-client</command>
     88#!/bin/sh
     89# Begin $rc_base/init.d/nfs-client
     90                                                                                                               
     91# Based on sysklogd script from LFS-3.1 and earlier.
     92# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
     93                                                                                                               
     94. /etc/sysconfig/rc
     95. $rc_functions
     96                                                                                                               
     97case "$1" in
     98    start)
     99            echo "Mounting NFS Partitions..."
     100            loadproc /usr/sbin/rpc.statd
     101            loadproc /usr/sbin/rpc.lockd
     102            mount -a -t nfs
     103            ;;
     104                                                                                                               
     105    stop)
     106            echo "Unmounting NFS Partitions..."
     107            umount -a -t nfs
     108            killproc /usr/sbin/rpc.lockd
     109            killproc /usr/sbin/rpc.statd
     110            ;;
     111                                                                                                               
     112    restart)
     113            $0 stop
     114            sleep 1
     115            $0 start
     116            ;;
     117                                                                                                               
     118    status)
     119            statusproc /usr/sbin/rpc.statd
     120            statusproc /usr/sbin/rpc.lockd
     121            ;;
     122                                                                                                               
     123    *)
     124            echo "Usage: $0 {start|stop|restart|status}"
     125            exit 1
     126            ;;
     127esac
     128                                                                                                               
     129# End $rc_base/init.d/nfs-client
     130<command>EOF
     131chmod 755 /etc/rc.d/init.d/nfs-client &amp;&amp;
     132ln -s /etc/rc.d/init.d/nfs-client /etc/rc.d/rc0.d/K48nfs-client &amp;&amp;
     133ln -s /etc/rc.d/init.d/nfs-client /etc/rc.d/rc1.d/K48nfs-client &amp;&amp;
     134ln -s /etc/rc.d/init.d/nfs-client /etc/rc.d/rc2.d/K48nfs-client &amp;&amp;
     135ln -s /etc/rc.d/init.d/nfs-client /etc/rc.d/rc3.d/S24nfs-client &amp;&amp;
     136ln -s /etc/rc.d/init.d/nfs-client /etc/rc.d/rc4.d/S24nfs-client &amp;&amp;
     137ln -s /etc/rc.d/init.d/nfs-client /etc/rc.d/rc5.d/S24nfs-client &amp;&amp;
     138ln -s /etc/rc.d/init.d/nfs-client /etc/rc.d/rc6.d/K48nfs-client</command></userinput></screen>
     139
    12140</sect3>
    13141
  • basicnet/netprogs/nfs-utils/nfs-utils-desc.xml

    r14e31ce3 ra945d40  
    22<title>Contents</title>
    33
    4 <para>The nfs-utils package contains <userinput>LISTOFFILES</userinput></para>
     4<para>The nfs-utils package contains
     5<command>getiversion</command>,
     6<command>getkversion</command>,
     7<command>locktest</command>,
     8<command>nlmtest</command>,
     9<command>rpcdebug</command>,
     10<command>rpcgen</command>,
     11<command>exportfs</command>,
     12<command>lockd</command>,
     13<command>mountd</command>,
     14<command>nfsd</command>,
     15<command>nfsstat</command>,
     16<command>nhfsstone</command>,
     17<command>rquotad</command>,
     18<command>showmount</command>,
     19<command>statd</command> </para>
    520
    621</sect2>
     
    823<sect2><title>Description</title>
    924
    10 <sect3><title>item1</title>
    11 <para>item1 does this</para></sect3>
    12 
    13 <sect3><title>item2</title>
    14 <para>item2 does that</para></sect3>
     25<sect3><title>getiversion</title><para><command>getiversion</command>
     26tbd</para></sect3>
     27<sect3><title>getkversion</title><para><command>getkversion</command>
     28tbd</para></sect3>
     29<sect3><title>locktest</title><para><command>locktest</command>
     30tbd</para></sect3>
     31<sect3><title>nlmtest</title><para><command>nlmtest</command>
     32tbd</para></sect3>
     33<sect3><title>rpcdebug</title><para><command>rpcdebug</command>
     34tbd</para></sect3>
     35<sect3><title>rpcgen</title><para><command>rpcgen</command>
     36tbd</para></sect3>
     37<sect3><title>exportfs</title><para><command>exportfs</command>
     38Maintains a list of NFS exported directories.
     39Works together with the kernel.</para></sect3>
     40<sect3><title>lockd</title><para><command>lockd</command>
     41The nfs lock manager</para></sect3>
     42<sect3><title>mountd</title><para><command>mountd</command>
     43The nfs mount daemon. Checks client-permissions.</para></sect3>
     44<sect3><title>nfsd</title><para><command>nfsd</command>
     45The user-level part of the NFS service. Main part of the work
     46is done by the kernel.</para></sect3>
     47<sect3><title>nfsstat</title><para><command>nfsstat</command>
     48Print NFS statistics.</para></sect3>
     49<sect3><title>nhfsstone</title><para><command>nhfsstone</command>
     50NFS benchmark program</para></sect3>
     51<sect3><title>rquotad</title><para><command>rquotad</command>
     52The remote quota server. Works together with <command>quota(1)</command>
     53</para></sect3>
     54<sect3><title>showmount</title><para><command>showmount</command>
     55Shows mount information for an NFS server.</para></sect3>
     56<sect3><title>statd</title><para><command>statd</command>
     57The NFS status monitor. Implements the NSM (Network Status Monitor) RPC protocol.
     58</para></sect3>
    1559
    1660</sect2>
  • basicnet/netprogs/nfs-utils/nfs-utils-inst.xml

    r14e31ce3 ra945d40  
     1<sect2>
     2<title>Kernel Configuration</title>
     3
     4<para>Enable the following options in the kernel configuration
     5and recompile the kernel if neccessary:</para>
     6
     7<screen>File systems:
     8  Network File Systems:
     9    NFS File System Support: M or Y
     10    NFS Server Support: M or Y</screen>
     11
     12<para>Select the appropriate sub-options that appear when the above options
     13are selected.</para>
     14
     15</sect2>
     16
    117<sect2>
    218<title>Installation of nfs-utils</title>
     
    420<para>Install nfs-utils by running the following commands:</para>
    521
    6 <para><screen><userinput>./configure </userinput></screen></para>
     22<para><screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
     23make &amp;&amp;
     24make install</command></userinput></screen></para>
     25
     26<note><para>If your <filename>/usr</filename> directory is NFS mounted,
     27you should install the executables in <filename>/sbin</filename> by passing
     28an additional parameter <command>--sbindir=/sbin</command> to the above
     29<command>./configure</command> command.</para></note>
    730
    831</sect2>
  • basicnet/netprogs/nfs-utils/nfs-utils-intro.xml

    r14e31ce3 ra945d40  
    22<title>Introduction to <application>nfs-utils</application></title>
    33
    4 <para>The <applications>nfs-utils</application> package contains... This is useful for...</para>
     4<para>The <application>nfs-utils</application> package contains the userspace server and client
     5tools necessary to use the kernel's nfs-abilities. <acronym>NFS</acronym> is a protocol that
     6allows sharing disk partitions over the network.</para>
    57
    68<sect3><title>Package information</title>
     
    1921<sect3><title><application>nfs-utils</application> dependencies</title>
    2022<sect4><title>Required</title>
    21 <para>DEPENDENCE LIST</para></sect4>
    22 <sect4><title>Optional</title>
    23 <para>OPTIONAL LIST</para></sect4>
     23<para><xref linkend="portmap"/></para>
     24</sect4>
    2425</sect3>
    2526
  • basicnet/netprogs/nfs-utils/nfs-utils.ent

    r14e31ce3 ra945d40  
    55<!ENTITY nfs-utils-config SYSTEM "nfs-utils-config.xml">
    66<!ENTITY nfs-utils-desc SYSTEM "nfs-utils-desc.xml">
    7 <!ENTITY nfs-utils-version "1.0.3">
    8 <!ENTITY nfs-utils-download-http "http://unc.dl.sourceforge.net/sourceforge/nfs/nfs-utils-&nfs-utils-version;.tar.gz">
     7<!ENTITY nfs-utils-version "1.0.6">
     8<!ENTITY nfs-utils-download-http "http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz">
    99<!ENTITY nfs-utils-download-ftp "ftp://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz">
    10 <!ENTITY nfs-utils-size "237 KB">
    11 <!ENTITY nfs-utils-buildsize "">
     10<!ENTITY nfs-utils-size "336 KB">
     11<!ENTITY nfs-utils-buildsize "8 MB">
    1212<!ENTITY nfs-utils-time "">
Note: See TracChangeset for help on using the changeset viewer.