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

相关文章:

  • 2021-05-31
  • 2022-12-23
  • 2021-09-11
  • 2021-10-26
  • 2021-12-18
  • 2021-08-13
  • 2021-05-17
  • 2021-11-15
猜你喜欢
  • 2021-10-08
  • 2021-05-12
  • 2022-12-23
  • 2021-07-03
  • 2021-10-05
  • 2022-12-23
  • 2021-08-17
相关资源
相似解决方案