nfs-utils - NFS daemons and utilities ChangeLog

HOWTO


# nfs-utils 1.0.10
# ================
# Prerequisites:
# portmap
# kerberos (for gss support; leave off --enable-gss=no if you use it)
# libevent and libnfsidmap (for nfsv4 support; leave off
#  --enable-nfsv4=no if they're installed and you want to build it in)
# tcp wrappers (optional)
# mount from util-linux >= 2.11f

# Slackware 8.0 and down included nfs-utils in the 'tcpip1' package.  8.1
# included it in the 'tcpip' package.  Slackware 9.0's 'nfs-utils' package
# includes version 1.0.1 and also includes version 1.0.4 in 'patches'.  9.1
# and 10.0's include version 1.0.6  10.1 and 10.2's include version 1.0.7

cd
test -f installed/nfs-utils-1.0.10.tar.gz &&
mv installed/nfs-utils-1.0.10.tar.gz .
test ! -f nfs-utils-1.0.10.tar.gz &&
wget http://download.sf.net/nfs/nfs-utils-1.0.10.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nfs-utils-*" -exec rm -r {} \;
tar xzvf ~/nfs-utils-1.0.10.tar.gz
cd nfs-utils-1.0.10
test $UID = 0 && chown -R root:root .
./configure \
--prefix=/usr \
--with-statedir=/var/lib/nfs \
--enable-nfsv3 \
--enable-nfsv4=no \
--enable-gss=no \
--enable-secure-statd \
--program-prefix= \
--program-suffix=
make

# Make sure nothing nfs-related is running at this point

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nfs-utils
test -d /var/lib/nfs && rm -r /var/lib/nfs
make install

# This will put the rc.nfsd that comes with Slack's nfs-utils package in
# /etc/rc.d/  If you want nfsd to start on boot-up, make it executable
# (chmod +x /etc/rc.d/rc.nfsd).  If you already have a rc.nfsd script, this
# will back it up, download the new one, and if it's the same as the old
# one, it'll remove the old one.
cd /etc/rc.d
test -f rc.nfsd &&
( mv -f rc.nfsd rc.nfsd.old ; chmod 600 rc.nfsd.old )
wget http://englanders.cc/pub/linux/misc/notmine/rc.nfsd
test -f rc.nfsd.old &&
( diff -q rc.nfsd.old rc.nfsd && rm -f rc.nfsd.old )

# See 'man exports' for more information about setting up an NFS server
# and the NFS HOWTO for miscellaneous info about NFS

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/nfs-utils-*.tar.*
mv nfs-utils-1.0.10.tar.gz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2006-08-09 12:30pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]