Installation Elastic search and Kibana
Sarthak Tyagi
1 min read
Step1: Install java and its Dependencies
- SSH into device
sudo add-apt-repository universe
sudo apt install openjdk-8-jre
java -version
sudo apt-get update
Install Elastic Search
sudo apt update
sudo apt install apt-transport-https
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt update
sudo apt install elasticsearch
sudo systemctl start elasticsearch
sudo systemctl enable elasticsearch
sudo systemctl status elasticssearch
Check it's working or not
curl -X GET "localhost:9200/"
Step5 : Configuring AWS IP so you can access using public IP
Dirty hack to make it work don’t do on production
sudo su
echo "network.host: 0.0.0.0" >> /etc/elasticsearch/elasticsearch.yml
0
Subscribe to my newsletter
Read articles from Sarthak Tyagi directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by