Skip to content

Instantly share code, notes, and snippets.

@fairchild
Forked from shaneog/es.sh
Created May 20, 2012 22:33
Show Gist options
  • Select an option

  • Save fairchild/2759771 to your computer and use it in GitHub Desktop.

Select an option

Save fairchild/2759771 to your computer and use it in GitHub Desktop.

Revisions

  1. @shaneog shaneog revised this gist Jan 14, 2012. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion es.sh
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,8 @@ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin -y

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.6.tar.gz -O elasticsearch.tar.gz
    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.7.tar.gz -O elasticsearch.tar.gz

    tar -xf elasticsearch.tar.gz
    rm elasticsearch.tar.gz
    sudo mv elasticsearch-* elasticsearch
  2. @aaronshaf aaronshaf revised this gist Sep 3, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions es.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    cd ~
    sudo apt-get install unzip
    sudo apt-get install python-software-properties -y
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
  3. @aaronshaf aaronshaf revised this gist Sep 3, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion es.sh
    Original file line number Diff line number Diff line change
    @@ -16,4 +16,4 @@ rm -Rf *servicewrapper*
    sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install
    sudo ln -s `readlink -f /usr/local/share/elasticsearch/bin/service/elasticsearch` /usr/local/bin/rcelasticsearch

    #curl http://localhost:9200
    #curl http://localhost:9200
  4. @invalid-email-address Anonymous created this gist Sep 3, 2011.
    19 changes: 19 additions & 0 deletions es.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    sudo apt-get install unzip
    sudo apt-get install python-software-properties -y
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin -y

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.6.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

    curl -L https://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master | tar -xz
    mv *servicewrapper*/service /usr/local/share/elasticsearch/bin/
    rm -Rf *servicewrapper*
    sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install
    sudo ln -s `readlink -f /usr/local/share/elasticsearch/bin/service/elasticsearch` /usr/local/bin/rcelasticsearch

    #curl http://localhost:9200