Coreseek is a Chinese thesaurus plus a combination of sphinx.
1. Download Coreseek
Download to the/USR/LOCAL/SRC directory file
wget http://www.coreseek.cn/uploads/csft/4.0/coreseek-4.1-beta.tar.gz//download from Coreseek official website
Unzip after download: Tar axvf coreseek-4.1-beta.tar.gz
2. Compile and configure Chinese thesaurus
CD Coreseek-4.1-beta
In this directory
Mmseg-3.2.14 is a Chinese thesaurus, specifically to deal with the Chinese csft-4.1 is Sphinx
Start installing mmseg-3.2.14
Installation is also required to compile the installation tool
Installation Kit command: Yum-y install make gcc g++ gcc-c++ libtool autoconf automake imake mysql-devel libxml2-devel expat-devel Note: (Yum -Y is not necessary to determine the installation, can not install the installation is completed without error will be able to compile
CD mmseg-3.2.14
Execute./bootstrap Script test Installation Environment no problem, no error.
Perform the./configure--prefix=/usr/local/mmseg Configuration
Execute make && do install for compilation and installation
then enter/USR/LOCAL/MMSEG//To test whether the compilation was successful
CD bin
./mmseg-d/usr/local/mmseg/etc//usr/lcoal/src/coreseek-4.1-beta/src/t1.txt Note: (T1.txt is a test document, in this directory)
The above effect mmseg on the installation success
Install the csft-4.1 below
CD Coreseek-4.1-beta//Enter Coreseek extract directory
CD csft-4.1//Enter the Sphinx directory
Execute SH buildconf.sh test environment without error to compile and install
To compile: Install to the specified directory to specify the appropriate configuration entry
./configure--prefix=/usr/local/coreseek--without-unixodbc--with-mmseg--with-mmseg-includes=/usr/local/ mmseg/include/mmseg/--with-mmseg-libs=/usr/local/mmseg/lib/--with-mysql
Red is the directory of the Chinese thesaurus you just installed
Make && make install//execute this command after the installation is done without error
Linux installation Coreseek