Install coreseek in CentOS7
Yum install expat-devel *
Cd/usr/local/src
Wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz
Tar xzvf 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
Wget-O-http://blog.atime.me/static/resource/sphinxexpr-gcc4.7.patch.gz | gzip-d-| patch-p0
Or
Directly modify rows 1746,177 7 and 1823 of the src/sphixexpr. cpp file, and change the ExprEval in the three rows to this-> ExprEval
Reference http://blog.atime.me/note/sphinx-coreseek-summary.html
Sh buildconf. sh
. /Configure -- prefix =/usr/local/coreseek -- without-unixodbc -- with-mmseg-separated des =/usr/local/mmseg3/include/mmseg/--- mmseg-libs =/usr/local/mmseg3/lib/-- with-mysql
Make & make install
Cd ..
Cd testpack
Cat var/test. xml # Chinese characters should be correctly displayed at this time
/Usr/local/mmseg3/bin/mmseg-d/usr/local/mmseg3/etc var/test. xml
/Usr/local/coreseek/bin/indexer-c etc/csft. conf -- all
/Usr/local/coreseek/bin/search-c etc/csft. conf network search
Enable the search service normally
/Usr/local/coreseek/bin/searchd-c etc/csft. conf
To stop the search service, use
/Usr/local/coreseek/bin/searchd-c etc/csft. conf -- stop
To enable the Service and update the index, use
/Usr/local/coreseek/bin/indexer-c etc/csft. conf -- all -- rotate
For mysql Data Source configuration, see the testpack/etc/csft_mysql.conf file.