Skip to content

Instantly share code, notes, and snippets.

@mehmetkurt
Last active December 9, 2022 07:13
Show Gist options
  • Save mehmetkurt/266b0b7d65271f972f5f3b77ab918ce5 to your computer and use it in GitHub Desktop.
Save mehmetkurt/266b0b7d65271f972f5f3b77ab918ce5 to your computer and use it in GitHub Desktop.
How to install Elasticsearch & Kibana on Debian

Elasticsearch & Kibana Install On Debian

First Requirement Install For Elastic and Kibana

sudo apt install openjdk-8-jre

Install Elasticsearch with Debian Package

Import the Elasticsearch PGP Key

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

Download and install the Debian package manually

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

Install Kibana with Debian Package

Import the Elasticsearch PGP Key

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

Download and install the Debian package manually

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment