1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

Elasticsearch installation 安装失败,请教什么原因。

本帖由 woi9112014-03-16 发布。版面名称:XenForo中文版

  1. woi911

    woi911 VIP会员

    注册:
    2014-02-19
    帖子:
    283
    赞:
    59
    CentOS6.5 32 bit

    无论是参考官网的http://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-rhel-suse.26160/
    还是 XenForo Enhanced Search 中文环境详解

    都卡下面这步。

    [root@localhost service]# /usr/local/elasticsearch/bin/service/elasticsearch install
    -bash: /usr/local/elasticsearch/bin/service/elasticsearch: Permission denied

     
  2. woi911

    woi911 VIP会员

    注册:
    2014-02-19
    帖子:
    283
    赞:
    59
    [root@localhost ~]# cd /tmp/
    [root@localhost tmp]# rpm -ivh jre-7u21-linux-i586.rpm
    Preparing... ########################################### [100%]
    1:jre ########################################### [100%]
    Unpacking JAR files...
    rt.jar...
    jsse.jar...
    charsets.jar...
    localedata.jar...
    plugin.jar...
    javaws.jar...
    deploy.jar...
    [root@localhost tmp]# java -version
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
    Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
    [root@localhost tmp]# unzip master.zip
    Archive: master.zip
    120e83ada04f8b945bc40eb894d7c9042862d986
    creating: elasticsearch-rtf-master/
    inflating: elasticsearch-rtf-master/.gitignore
    inflating: elasticsearch-rtf-master/README.textile
    ..............略
    inflating: elasticsearch-rtf-master/tutorial/paoding_analyze_tests.saz
    inflating: elasticsearch-rtf-master/tutorial/partial_update_test.saz
    inflating: elasticsearch-rtf-master/tutorial/pinyin_token_filter_example.saz
    inflating: elasticsearch-rtf-master/tutorial/river-email-tests.saz
    inflating: elasticsearch-rtf-master/tutorial/server_basic_config_centos.txt
    inflating: elasticsearch-rtf-master/tutorial/stconvert_analyze_tests.saz
    inflating: elasticsearch-rtf-master/tutorial/string2int.test_mapping
    inflating: elasticsearch-rtf-master/tutorial/string2int_tests.saz
    [root@localhost tmp]# cp -r /tmp/elasticsearch-rtf-master/elasticsearch/ /usr/local/elasticsearch/
    [root@localhost tmp]# /usr/local/elasticsearch/bin/service/elasticsearch install
    -bash: /usr/local/elasticsearch/bin/service/elasticsearch: Permission denied
    [root@localhost tmp]# ln /usr/local/elasticsearch/bin/service/elasticsearch /usr/local/bin/rcelasticsearch
    [root@localhost tmp]# /usr/local/elasticsearch/bin/service/elasticsearch start
    -bash: /usr/local/elasticsearch/bin/service/elasticsearch: Permission denied
    [root@localhost tmp]# cd /var
    [root@localhost var]# mkdir elasticsearch
     
  3. admin

    admin 管理员 管理成员

    注册:
    2011-11-01
    帖子:
    3,671
    赞:
    2,425
    额 那个文件给执行权限就可以了
     
  4. woi911

    woi911 VIP会员

    注册:
    2014-02-19
    帖子:
    283
    赞:
    59
    最佳答案
    谢谢您了,我说我怎么就是死活装不了呢。
    chmod +x /usr/local/elasticsearch/bin/service/elasticsearch


    请问如果elasticsearch,是否还需要下面的修正包。如果不要,是否还会出现标题过长错误。
    XF1.3.0中文包.7z\XF1.3.0中文包\中文搜索&修正 - 7-Zip
     
    已获得 admin 的点赞。
  5. admin

    admin 管理员 管理成员

    注册:
    2011-11-01
    帖子:
    3,671
    赞:
    2,425
    不需要中文搜索。search下面的两个文件不需要~
     
    已获得 woi911 的点赞。
  6. woi911

    woi911 VIP会员

    注册:
    2014-02-19
    帖子:
    283
    赞:
    59
    Elasticsearch 现在装不上了,官网那边也是一样。
     
正在加载...