Skip to content

Instantly share code, notes, and snippets.

@karussell
Last active May 4, 2021 10:13
Show Gist options
  • Select an option

  • Save karussell/3131213 to your computer and use it in GitHub Desktop.

Select an option

Save karussell/3131213 to your computer and use it in GitHub Desktop.

Revisions

  1. Peter revised this gist Apr 3, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions install-elasticsearch-debian
    Original file line number Diff line number Diff line change
    @@ -23,6 +23,8 @@ sudo dpkg -r elasticsearch

    # config dir
    /etc/elasticsearch
    # important: default configs will be overwritten from here:
    /etc/default/elasticsearch

    # prepare ElasticSearch UI
    sudo apt-get install apache2
  2. Peter renamed this gist Mar 25, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. Peter revised this gist Oct 25, 2012. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,9 @@ sudo dpkg -r elasticsearch
    # start script
    /etc/init.d/elasticsearch

    # binaries & plugin
    /usr/share/elasticsearch/bin

    # log dir
    /var/log/elasticsearch

  4. Peter revised this gist Oct 5, 2012. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,8 @@ sudo apt-get install openjdk-6-jdk
    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.8.deb
    sudo dpkg -i elasticsearch-0.19.8.deb

    # be sure you add "action.disable_delete_all_indices" : true to the config!!

    # if you want to remove it:
    sudo dpkg -r elasticsearch

    @@ -19,7 +21,6 @@ sudo dpkg -r elasticsearch
    # config dir
    /etc/elasticsearch


    # prepare ElasticSearch UI
    sudo apt-get install apache2
    sudo mkdir /var/www/ui
  5. Peter revised this gist Sep 19, 2012. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions super-simple-unicast-config.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    discovery.zen.ping.multicast.enabled: false
    discovery.zen.ping.unicast.hosts: ["xy2.compute.amazonaws.com"]
    # and on other node use:
    # discovery.zen.ping.unicast.hosts: ["xy1.compute.amazonaws.com"]

    # to use ec2 api (you need the security keys!) for discovery you need to install the aws plugin
    # read
    # http://www.elasticsearch.org/tutorials/2011/08/22/elasticsearch-on-ec2.html
    # http://www.elasticsearch.org/guide/reference/modules/discovery/ec2.html
  6. Peter revised this gist Sep 18, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,7 @@ sudo dpkg -r elasticsearch


    # prepare ElasticSearch UI
    udo apt-get install apache2
    sudo apt-get install apache2
    sudo mkdir /var/www/ui
    sudo chown -R ubuntu.www-data /var/www

  7. Peter revised this gist Jul 17, 2012. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -18,3 +18,11 @@ sudo dpkg -r elasticsearch

    # config dir
    /etc/elasticsearch


    # prepare ElasticSearch UI
    udo apt-get install apache2
    sudo mkdir /var/www/ui
    sudo chown -R ubuntu.www-data /var/www

    # now copy ES-HEAD to /var/www/ui
  8. Peter revised this gist Jul 17, 2012. 2 changed files with 20 additions and 8 deletions.
    20 changes: 20 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    sudo apt-get update
    sudo apt-get install openjdk-6-jdk

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.8.deb
    sudo dpkg -i elasticsearch-0.19.8.deb

    # if you want to remove it:
    sudo dpkg -r elasticsearch

    # start script
    /etc/init.d/elasticsearch

    # log dir
    /var/log/elasticsearch

    # data dir
    /var/lib/elasticsearch

    # config dir
    /etc/elasticsearch
    8 changes: 0 additions & 8 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,8 +0,0 @@
    sudo apt-get update
    sudo apt-get install openjdk-6-jdk

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.8.deb
    sudo dpkg -i elasticsearch-0.19.8.deb

    if you want to remove it:
    sudo dpkg -r elasticsearch
  9. Peter created this gist Jul 17, 2012.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    sudo apt-get update
    sudo apt-get install openjdk-6-jdk

    wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.8.deb
    sudo dpkg -i elasticsearch-0.19.8.deb

    if you want to remove it:
    sudo dpkg -r elasticsearch