cd /usr/src
gunzip htdig-3.2.0b3.tar.gz
tar xf htdig-3.2.0b3.tar
rm htdig-3.2.0b3.tar
cd htdig-3.2.0b3
cd /usr/src/htdig-3.2.0b3
./configure
make
make install
make clean
chown -R siemsen.users /opt/www/var
rundig. It's in the installdir
directory. It won't run until you edit it and change
@BIN_DIR@ to /opt/www/bin. Then run
it with ./installdir -vv.
(as siemsen)
cd ~/tmp
cp /usr/src/htdig-3.2.0b3/installdir/rundig .
emacs rundig
COMMONDIR=/opt/www/share/htdig/synonyms
BINDIR=/opt/www/bin
./rundig -vvv
This does a bunch of web accesses and then creates htdig
databases in /opt/www/var/htdig.
/opt/www/conf/htdig.conf.
start_url: http://proteus.ucar.edu/nets/intro/staff/siemseny
maintainer: siemsen@ucar.edu
exclude_urls: /cgi-bin/ .cgi /web100 /test /nets.old \
/webmaker3.0.2 distfile /CSCOpx /perldoc \
/net/archives
bad_extensions:.wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif \
.jpg .jpeg .aiff .class .map .ram .tgz .bin .rpm .mpg \
.mov .avi .pl .bmp
(as siemsen)
htdig (takes a LONG time)
htmerge
This will build index files in /opt/www/var/htdig.
/usr/src/htdig-3.2.0b3/installdir/search.html.
Copy it into your web page.
The form executes htsearch, so htsearch
has to be in cgi directory known to the web server.
(as root)
cp /opt/www/cgi-bin/htsearch /usr/local/apache2/cgi-bin/