cd /tmp
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.4.2-amd64.deb
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.4.2-amd64.deb.sha512
shasum -a 512 -c elasticsearch-7.4.2-amd64.deb.sha512
sudo dpkg -i elasticsearch-7.4.2-amd64.deb
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-kuromoji
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-smartcn
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-stempel
Enable service so it starts at boottime
sudo systemctl enable elasticsearch.service
echo Now it's time to manually modify the clustername for Elastic
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.4.2-amd64.deb
sudo dpkg -i kibana-7.4.2-amd64.deb
Enable service so it starts at boottime
sudo systemctl enable kibana.service
echo Now it's time to manually configure kibana
echo Please read https://discuss.elastic.co/t/nginx-reverse-proxy-setup-for-kibana/167327/6 for setting nginx reverse proxy