Coreseek安装小记
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Coreseek安装小记相关的知识,希望对你有一定的参考价值。
coreseek安装:
http://219.232.239.243/uploads/csft/4.0/coreseek-4.1-beta.tar.gz
cd mmseg-3.2.14
./bootstrap #输出的warning信息可以忽略,如果出现error则需要解决
./configure --prefix=/opt/app/mmseg3
make && make install
cd csft-4.1
sh buildconf.sh #输出的warning信息可以忽略,如果出现error则需要解决
./configure --prefix=/opt/app/coreseek \
--without-unixodbc \
--with-mmseg \
--with-mmseg-includes=/opt/app/mmseg3/include/mmseg/ \
--with-mmseg-libs=/opt/app/mmseg3/lib/ \
--with-mysql
make && make install
/opt/app/mmseg3/bin/mmseg –u fenci.txt
cp fenci.txt.lib /opt/app/coreseek/etc/yule/uni.lib
启动:/opt/app/coreseek/bin/searchd -c /opt/app/coreseek/etc/sphinx.conf
索引:/opt/app/coreseek/bin/indexer -c /opt/app/coreseek/etc/sphinx.conf dianying tv comic zy --rotate > /opt/app/coreseek/var/log/index.log
TIPS:
1、mmseg出现如下错误:
config.status: creating Makefile
config.status: WARNING: ‘Makefile.in‘ seems to ignore the --datarootdir setting
config.status: error: cannot find input file: src/Makefile.in
2、解决方法:
yum -y install autoconf automake libtool
aclocal
libtoolize --force
automake --add-missing
autoconf
autoheader
make clean
本文出自 “LinuxDream” 博客,请务必保留此出处http://books.blog.51cto.com/2600359/1743020
以上是关于Coreseek安装小记的主要内容,如果未能解决你的问题,请参考以下文章