zoukankan      html  css  js  c++  java
  • xunsearch安装和使用

    迅搜全文检索官网:http://www.xunsearch.com/

    迅搜安装文档:http://www.xunsearch.com/doc/php/guide/start.installation

    1.打开linux命令行,运行下面指令解压安装包:

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

    2.查看版本(文件夹名称)输入指令:

    ls
    

    这个为加压后的文件名,也是版本号

    3.执行安装脚本,根据提示进行操作,主要是输入xunsearch安装目录

    cd xunsearch-full-1.4.15/
    sh setup.sh
    

     执行这个命令后,可能会报诸多的错误。只是可能啊!

    例如:

    ERROR: failed to configure xapian-core-scws, see 'setup.log' for more detail

     大多数报错的问题可能是:

    openssl版本太高或者是Libevent版本太高

    版本匹配:openssl 1.1.0  = Libevent 2.1

                      openssl 1.0.1  = Libevent 2.0

    查看openssl版本 openssl --version

    产看Libevent版本(是否已经安装) ls -al /usr/lib | grep libevent

    如果没有安装,去安装Libevent(参考文档)

    https://blog.csdn.net/u014636209/article/details/82141729  参考1
    https://www.yuque.com/u316337/ce14e5/xradcl 参考2

     ./configure --prefix= 未定义安装路径

     

  • 相关阅读:
    VS2015&windows开发环境配置
    Chapter 12. Classes
    Chapter 11. Generic Algorithms
    Chapter 10. Associative Containers
    Chapter 9. Sequential Containers
    Chapter 8. The IO Library
    Chapter 7. Functions
    Chapter 5. Expressions
    案例分析 极化跳变
    机器如果能够实现自己建模,应该是下一次人工智能的飞跃点
  • 原文地址:https://www.cnblogs.com/web928943/p/14081303.html
Copyright © 2011-2022 走看看