Linux installation Coreseek

Source: Internet
Author: User

 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.