debian6安裝coreseek

coreseek安裝
wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz
aptitude install autoconf automake libtool make gawk g++ c++ gpp C++ python
./bootstrap
./configure --prefix=/usr/local/mmseg3
make && make install
cd ..
cd csft-3.2.14/
sh buildconf.sh
./configure --prefix=/usr/local/coreseek  --without-unixodbc --with-mmseg --with-mmseg-

includes=/usr/local/mmseg3/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg3/lib/ --without-mysql
make & make install
cd ..
cd testpack
cat var/test/test.xml
此處應該顯示中文。
/usr/local/mmseg3/bin/mmseg -d /usr/local/mmseg3/etc var/test/test.xml
顯示中文
/usr/local/coreseek/bin/indexer -c etc/csft.conf --all
/usr/local/coreseek/bin/search -c etc/csft.conf 網絡搜索
配置測試,測試是否可以正確運行
/usr/local/coreseek/bin/indexer -c /usr/local/coreseek/etc/sphinx-min.conf.dist
aptitude install libmysqlclient15-dev   libexpat1-dev libxml2-dev
cd csft-3.2.14/
./configure --prefix=/usr/local/coreseek  --without-unixodbc --with-mmseg --with-mmseg-

includes=/usr/local/mmseg3/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg3/lib/ --with-mysql
make & make install
cd ..
cd testpack
 /usr/local/coreseek/bin/indexer -c etc/csft.conf
/usr/local/coreseek/bin/indexer -c etc/csft.conf --all

參照官方:http://www.coreseek.cn/product_install/install_on_bsd_linux/#mysql

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章