Installing ElasticSearch on Ubuntu 12.04

前端 未结 5 1815
温柔的废话
温柔的废话 2021-02-09 23:04

I have a VM running Ubuntu 12.04, and am trying to install ElasticSearch. I have followed this gist in the best \'learn X the hard way\' spirit, and everything installs fine - p

5条回答
  •  我寻月下人不归
    2021-02-09 23:39

    Word of warning to anyone trying what I did before - the URL specified in the Gist is to the source version, not the compiled version, hence there being no *.class files.

    You can use the Gist as is, but substitute the latest download URL from the ElasticSearch site instead of the github URL that is there at the moment, e.g.:

    ....
    wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.tar.gz -O elasticsearch.tar.gz
    tar -xf elasticsearch.tar.gz
    rm elasticsearch.tar.gz
    sudo mv elasticsearch-* elasticsearch
    sudo mv elasticsearch /usr/local/share
    ...
    

    ** This is the lastest version as of 20/5/2014. To get more updated version, visit this page, right click on the TAR link (under Downloads Section), copy the link and replace the wget argument in the first line.

提交回复
热议问题