Created
August 30, 2017 07:31
-
-
Save kosho/0b1e66c026ba119c4e689905dbd45161 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
arch=$(echo `uname`-`uname -m` | tr '[:upper:]' '[:lower:]') | |
mkdir $1 | |
cd $1 | |
curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$1.tar.gz | tar zxf - | |
cd elasticsearch-$1 | |
yes y | bin/elasticsearch-plugin install x-pack | |
#bin/elasticsearch-plugin install analysis-icu | |
bin/elasticsearch-plugin install analysis-kuromoji | |
cd .. | |
curl https://artifacts.elastic.co/downloads/kibana/kibana-$1-$arch.tar.gz | tar zxf - | |
cd kibana-$1-$arch | |
#ln -s config ../../config/kibana | |
bin/kibana-plugin install x-pack | |
cd .. | |
curl https://artifacts.elastic.co/downloads/logstash/logstash-$1.tar.gz | tar zxf - | |
cd logstash-$1 | |
bin/logstash-plugin install x-pack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment