dataparksearch+mysql安裝摘要
----------------------
http://www.dataparksearch.org/#download
http://www.dataparksearch.org/dpsearch-4.50.tar.bz2
http://www.dataparksearch.org/add-on/TraditionalChinese.freq.gz
http://www.appservnetwork.com/
http://prdownloads.sourceforge.net/appserv/appserv-win32-2.6.0.exe?download
安裝
產生Makefile
./install.pl
Enable support for extra charsets? yes
或
./configure
--prefix=/home/me/dataparksearch
--bindir=/usr/local/dpsearch/bin
--sbindir=/usr/local/dpsearch/sbin
--sysconfdir=/usr/local/dpsearch/etc
--localstatedir=/usr/local/dpsearch/var
--libdir=/usr/local/dpsearch/lib
--includedir=/usr/local/dpsearch/include
--mandir=/usr/local/dpsearch/man
--enable-shared
--disable-syslog
--enable-pthreads
--enable-parser
--enable-mp3
--without-aspell
--with-extra-charsets=all
--enable-file
--enable-http
--enable-ftp
--enable-htdb
--enable-news
--with-mysql=/usr/local/mysql/include
產生sbin/indexer等執行檔
make
佈署執行檔,組態檔
make install
建立資料庫
mysqladmin create search
/usr/local/dpsearch/sbin/indexer –Ecreate
設定組態檔
cd /usr/loca/dpsearch
cp indexer.conf-dist indexer.conf
DBAddr mysql://foo:bar@localhost/dpsearch/?dbmode=mulit
LocalCharset BIG5
LoadChineseList BIG5 TraditionalChinese.freq
Server http://your.server.name ### 耙取起始網址
cp langmap.conf-dist langmap.conf
LangMapFile langmap/zh.big5.lm
cp search.htm-dist search.htm
cp stopword.conf-dist stopword.conf
cp sections.conf-dist sections.conf
耙取網頁
將search.cgi放到cgi-bin目錄下
耙取索引網頁
/usr/local/dpsearch/sbin/indexer -a
檢索網頁
http://localhost/cgi-bin/search.cgi
2008年10月13日 星期一
dataparksearch安裝摘要
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言