xunsearch安装配置

1、wget http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2

2、tar -xjf xunsearch-full-latest.tar.bz2

3、cd xunsearch-full-1.4.10

4、sh setup.sh  (这一步有可能会报什么openssl的错,直接看第5步,操作完第5步之后,再执行本步,这一步只所以会出错是因为ECS把openssl指错了)

5、ln -s /usr/local/openssl/include/openssl /usr/include/openssl

6、安装成功

 

开启服务./bin/xs-ctl.sh start

重建索引./sdk/php/util/Indexer.php  --rebuild --source=mysql://root:'pass'@localhost/database--sql="select * from table" --project=app

posted on   逍遥郭  阅读(186)  评论(0编辑  收藏  举报

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示