安装coreseek(中文分词) Linux教程



# Sphinx安装与基本配置:  https://abc.htmltoo.com/thread-45838.htm


# coreseek(中文分词):

cd  /data/file/soft/src/coreseek

tar -zxvf  coreseek-4.1-beta.tar.gz  

unzip sphinx-php7.zip

cd  /data/file/soft/src/coreseek/coreseek-4.1-beta/testpack/api/libsphinxclient/
./configure --prefix=/usr/local/sphinxclient && make && make install 

cd /data/file/soft/src/coreseek/pecl-search_engine-sphinx-php7/
/usr/local/bin/phpize
./configure --with-php-config=/usr/local/bin/php-config --with-sphinx=/usr/local/sphinxclient && make && make install
echo extension=/usr/local/lib/php/extensions/no-debug-non-zts-20180731/sphinx.so > /usr/local/etc/php/conf.d/docker-php-ext-sphinx.ini

cd  /var/www/html


https://www.jianshu.com/p/6593d4121b9d


签名:这个人很懒,什么也没有留下!
最新回复 (0)
返回