Difference between revisions of "Install Elasticsearch and Kibana on Debian/Ubuntu"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  sudo [[apt-get install]] [[apt-transport-https]]
 
  sudo [[apt-get 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
 
  echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list
 +
 +
== Elasticsearch ==
 
  sudo apt-get update && sudo apt-get install elasticsearch
 
  sudo apt-get update && sudo apt-get install elasticsearch
  
Line 13: Line 15:
  
  
 +
== Kibana ==
 +
sudo apt-get install [[kibana]]
  
  sudo apt-get install [[kibana]]
+
  sudo /bin/systemctl daemon-reload
 +
sudo /bin/systemctl enable kibana.service
  
  

Revision as of 17:28, 10 November 2020


sudo apt-get 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

Elasticsearch

sudo apt-get update && sudo apt-get install elasticsearch
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
sudo systemctl start elasticsearch.service
sudo systemctl status elasticsearch.service


Kibana

sudo apt-get install kibana
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable kibana.service


Errors

E: The repository 'https://artifacts.elastic.co/packages/7.x/apt stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


Related terms

See also

Advertising: