Editing Install Elasticsearch and Kibana on Debian/Ubuntu

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
  
 
  sudo [[apt-get install apt-transport-https]]
 
  sudo [[apt-get install apt-transport-https]]
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o [[/usr/share/keyrings/]]elasticsearch-keyring.gpg
+
  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 [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-8.x.list
 
 
  [[sudo apt-get update]] && sudo [[apt-get install elasticsearch]]
 
  [[sudo apt-get update]] && sudo [[apt-get install elasticsearch]]
 
 
 
For older Elastic 7 version use:
 
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee [[/etc/apt/sources.list.d/]]elastic-7.x.list
 
  
 
== Elasticsearch ==  
 
== Elasticsearch ==  
  sudo [[apt-get update]] && sudo [[apt-get install elasticsearch]]
+
  sudo apt-get update && sudo [[apt-get install elasticsearch]]
  
  sudo /bin/[[systemctl daemon-reload]]
+
  sudo /bin/systemctl daemon-reload
  sudo /bin/[[systemctl enable elasticsearch.service]]
+
  sudo /bin/systemctl enable elasticsearch.service
  
  sudo [[systemctl start elasticsearch.service]]
+
  sudo [[systemctl start]] elasticsearch.service
 
  sudo systemctl status elasticsearch.service
 
  sudo systemctl status elasticsearch.service
  
 
== Kibana ==
 
== Kibana ==
<code>sudo apt-get install [[kibana]]</code>
+
sudo apt-get install [[kibana]]
 
 
<code>sudo /bin/[[systemctl daemon-reload]]</code>
 
 
 
<code>sudo /bin/[[systemctl enable kibana.service]]</code>
 
 
 
<code>sudo [[systemctl start kibana.service]]</code>
 
 
 
<code>sudo [[systemctl status kibana.service]]</code>
 
 
 
Access with user: <code>[[elastic]]</code> pass: you will find it on installation output
 
  
 +
sudo /bin/systemctl daemon-reload
 +
sudo /bin/systemctl enable kibana.service
  
Connect Kibana to [[Elasticsearch]]:
+
sudo systemctl start kibana.service
  [[/usr/share/kibana/bin/kibana-verification-code]]
+
  sudo systemctl status kibana.service
  
 
== Errors ==
 
== Errors ==
Line 59: Line 45:
 
* <code>deb [trusted=yes]</code>
 
* <code>deb [trusted=yes]</code>
 
* <code>[[metricbeat setup --dashboards]]</code>
 
* <code>[[metricbeat setup --dashboards]]</code>
* [[Grafana installation]]
+
* <code>[[brew install elastic/tap/elasticsearch-full]]</code>
* <code>[[this elastic installation has strict security requirements]]</code>
 
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: