wget
yum install make gcc gcc-c++ libtool autoconf automake imake mysql-devel libxml2-devel expat-devel
tar zxvf coreseek-3.2.14.tar.gz
cd coreseek-3.2.14
cd mmseg-3.2.14/
./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/ --with-mysql
make
make install
cd coreseek/
cd etc
cp sphinx.conf.dist sphinx.conf
vim sphinx.conf
crontab -e
/usr/local/coreseek/bin/indexer --config /usr/local/coreseek/etc/sphinx.conf --all
/usr/local/coreseek/bin/searchd --config /usr/local/coreseek/etc/sphinx.conf &
/usr/local/coreseek/bin/searchd --help
/usr/local/coreseek/bin/searchd --status
/usr/local/coreseek/bin/searchd --stop
/usr/local/coreseek/bin/searchd --stop
/usr/local/coreseek/bin/searchd --config /usr/local/coreseek/etc/sphinx.conf &
/usr/local/coreseek/bin/indexer --config /usr/local/coreseek/etc/sphinx.conf --all
/usr/local/coreseek/bin/searchd --config /usr/local/coreseek/etc/sphinx.conf &
/usr/local/coreseek/bin/indexer --config /usr/local/coreseek/etc/sphinx.conf --rotate --all
阅读(1116) | 评论(0) | 转发(0) |