例如:
1. 安裝軟件
wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.13.tar.gz
tar zxvf coreseek-3.2.13.tar.gz
cd coreseek-3.2.13
cd mmseg-3.2.13
./bootstrap #這一步也許會(huì)出錯(cuò),提示很多command not found , 解決辦法: 安裝 libtool centos 直接使用yum安裝 : yum install -y libtool
./configure --prefix=/usr/local/mmseg
make && make install
cd csft-3.2.13
./configure --prefix=/usr/local/sphinx --with-mysql=/www/wdlinux/mysql-5.1.63 --with-mmseg=/usr/local/mmseg/ --with-mmseg-includes=/usr/local/mmseg/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg/lib/
make && make install作者: longyushen 時(shí)間: 2015-1-18 01:35
2. 配置sphinx
vim /usr/local/sphinx/etc/csft.cnf # 內(nèi)容如下