UPDATE JULY 30TH 2007: Deki Wiki Hayes may not work on Ubuntu 6.06 because it requires a later version of the mono libraries. You may have to do a dist-upgrade to get your install to work.
To make dekiWiki work on ubuntu I had to add a thing to the main installation guide.
I'm going to add my two cents in here.
I couldn't get all of the required mono files installed with the 4 default Dapper repositories so I upgraded to Edgy 6.10. After that all of the mono files were available and I just followed the main install docs. I did have to follow the above suggestion about the pear file though.
I found that the suggested mwlucene startup script didn't quite go far enough. It would not stop all of the instances related to MWUpdateDaemon. I modified the stop and start part of /etc/init.d/mwlucene script to look like this:
start(){
touch /var/log/mwdaemon.log
touch /var/log/mwupdatedaemon.log
/usr/local/bin/MWDaemon >> /var/log/mwdaemon.log 2>&1 &
if [ ! -d /var/run/mwsearch ]
then
mkdir /var/run/mwsearch
fi
echo "$!" > /var/run/mwsearch/mwdaemon.pid
/usr/local/bin/MWUpdateDaemon >> /var/log/mwdaemon.log 2>&1 &
echo "$!" > /var/run/mwsearch/mwupdatedaemon.pid
return $?
}
stop(){
# Fixme
mwpid=`cat /var/run/mwsearch/mwupdatedaemon.pid`
for i in `ps -ef | grep $mwpid | egrep -v grep | awk '{print $2}' | sort -nr`
do
kill $i
done
/bin/kill `cat /var/run/mwsearch/mwdaemon.pid 2> /dev/null ` > /dev/null 2>&1
/bin/kill `cat /var/run/mwsearch/mwupdatedaemon.pid 2> /dev/null ` > /dev/null 2>&1
ret=$?
return $ret
}
With this, everything starts and stops correctly.
I also found that the paths in the default /etc/mwsearch.conf file were not correct. They pointed to some non-existent /var/mks/bin directory. I changed them appropriately. Then I wanted to index other types of files besides the default .doc and .pdf e.g. .ppt and .xls. So I added a couple other utilities to my system and added them to /etc/mwsearch.conf. That portion of my mwsearch.conf file now looks like this (all one line, of course):
converter=doc=wvText pdf=/usr/local/bin/pdf2text xhtml=/usr/local/bin/html2txt html=/usr/local/bin/html2txt htm=/usr/local/bin/html2txt pl= c= h= inc= php= cs= txt= text= csv= xml= xsl= xslt= xls=/usr/local/bin/xls2txt ppt=/usr/local/bin/ppt2txt
You can see that I added are xls2txt and ppt2txt. They are merely scripts that point to the real utilities. These scripts look like this:
~$ cat /usr/local/bin/xls2txt
#! /bin/sh
xlhtml -te $1 |html2text -nobs -o $2
~$ cat /usr/local/bin/ppt2txt
#! /bin/sh
ppthtml $1 |html2text -o $2