-
-
Save madaarya/167a3e6dad2532ca68502318e472b008 to your computer and use it in GitHub Desktop.
// elasticsearch version 7 | |
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.5.2-linux-x86_64.tar.gz | |
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.5.2-linux-x86_64.tar.gz.sha512 | |
shasum -a 512 -c elasticsearch-oss-7.5.2-linux-x86_64.tar.gz.sha512 | |
tar -xzf elasticsearch-oss-7.5.2-linux-x86_64.tar.gz | |
cd elasticsearch-oss-7.5.2/ | |
echo 'export ES_HOME="$HOME/elasticsearch-7.5.2/"' >> ~/.bashrc | |
echo 'export PATH="$ES_HOME/bin:$PATH"' >> ~/.bashrc | |
exec $SHELL | |
// elasticsearch version 6 | |
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.20.tar.gz | |
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.20.tar.gz.sha512 | |
shasum -a 512 -c elasticsearch-6.8.20.tar.gz.sha512 | |
tar -xzf elasticsearch-6.8.20.tar.gz | |
cd elasticsearch-6.8.20/ | |
echo 'export ES_HOME="$HOME/elasticsearch-6.8.20/"' >> ~/.bashrc | |
echo 'export PATH="$ES_HOME/bin:$PATH"' >> ~/.bashrc | |
exec $SHELL | |
// Just in case missing JAVA_HOME | |
// if not installed, do install first | |
sudo apt install openjdk-11-jdk | |
echo 'export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"' >> ~/.bashrc | |
Run with command: | |
elasticsearch |
Recently we released start-local script to try Elasticsearch also on Windows using WSL2.
Recently we released start-local script to try Elasticsearch also on Windows using WSL2.
I do not use docker. If docker is a requirement as state in the README then that pose a difficulty for people like me.
Do not ask me why I do not use docker, because I am using a laptop that cannot.
We require Docker since start-local install two services Elasticsearch and Kibana and this is the easy way to try the Elastic stack on-prem. That said start-local is not an installer is more a tool. If you cannot use Docker, I suggest to download the Elasticsearch Windows version here. You need also to download Kibana from here.
We require Docker since start-local install two services Elasticsearch and Kibana and this is the easy way to try the Elastic stack on-prem. That said start-local is not an installer is more a tool. If you cannot use Docker, I suggest to download the Elasticsearch Windows version here. You need also to download Kibana from here.
I use windows WSL2. And find non frontend programming comforting there
On Ubuntu, modify this script and add it as
/etc/init.d/elasticsearch
.Then use cmds -
sudo /etc/init.d/elasticsearch start
,sudo /etc/init.d/elasticsearch stop