Install coreseek in CentOS7

Source: Internet
Author: User
Yuminstallexpat-devel * cd/usr/local/srcwgethttp: // www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gztarxzvfcoreseek-3.2.14.tar.gzcdcoreseek-3.2.14cdmmseg-3.2.1 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.

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.