In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you how to install coreseek, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Preparatory work:
Yum install make gcc gathers + automake libtool MySQL-client libMySQLclient15-dev libxml2-dev libexpat1-dev autoconf automake libtool
Suppose we download the file package under / usr/local/src
Cd / usr/local/srctar zxvf coreseek-4.1-beta.tar.gzcd coreseek-4.1-beta
1. Install mmseg word Segmentation Module
Cd mmseg-3.2.14/./bootstrap./configure-prefix=/usr/local/mmseg3makemake install
two。 Install CoreSeek
Cd.. / csft-4.1/
First of all, solve the problems that will arise in advance:
A) modify the sphinxexpr.cpp file and change the T val = ExprEval (this- > m_pArg, tMatch) in the file to T val = this- > ExprEval (this- > m_pArg, tMatch). There are three places in total.
Vi src/sphinxexpr.cpp
B) modify the buildconf.sh file and add a line & & automake-- add-missing\ under & & aclocal\ to become
#! / bin/shautoheader\ & & aclocal\ & & automake-- add-missing\ & & automake-- foreign\ & & autoconf
C) modify the file MakeFile, look for LIBS, LIBS =-lm-lexpat-L/usr/local/lib change to LIBS =-lm-lexpat-liconv-L/usr/local/lib
Vi. / src/MakeFile/
Or
If you have done the. / configure operation before, modify the file configure, look for # define USE_LIBICONV 1 and change it to define USE_LIBICONV 0
D) modify the file configure.ac,AM_INIT_AUTOMAKE ([- Wall-Werror foreign]) to AM_INIT_AUTOMAKE ([- Wall foreign])
Add a line of AM_PROG_AR under AC_PROG_RANLIB
Then run
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-mysqlmakemake install
If there are any questions above, please leave a message for discussion. Thank you. My information is also integrated with online resources.
Test on the server side:
Cd / usr/local/src/coreseek-4.1-beta/testpackcat var/test/test.xml # should correctly display Chinese / usr/local/coreseek/bin/indexer-c etc/csft.conf-all # indexing / usr/local/coreseek/bin/search-c etc/csft.conf web search # find keywords above is all the content of the article "how to install coreseek", thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.