sudo apt install openjdk-8-jre
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list
sudo apt update && sudo apt install elasticsearch
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.15.1-amd64.deb
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.15.1-amd64.deb.sha512
shasum -a 512 -c elasticsearch-7.15.1-amd64.deb.sha512
sudo dpkg -i elasticsearch-7.15.1-amd64.deb
if you install elasticsearch from Debian package, goto next statement
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
next statement
sudo apt update && sudo apt install kibana
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.15.1-amd64.deb
shasum -a 512 kibana-7.15.1-amd64.deb
sudo dpkg -i kibana-7.15.1-amd64.deb