Elasticsearch/kibana: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
−
<pre>
+
=Install elasticsearch=
−
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
+
*sudo apt update && sudo apt upgrade
−
Need to get 0 B/582 MB of archives.
+
*sudo bash -c "export HOSTNAME=kali-purple.kali.purple; apt-get install elasticsearch -y"
−
After this operation, 1,195 MB of additional disk space will be used.
 
−
Selecting previously unselected package elasticsearch.
 
−
(Reading database ... 406060 files and directories currently installed.)
 
−
Preparing to unpack .../elasticsearch_8.6.2_amd64.deb ...
 
−
Creating elasticsearch group... OK
 
−
Creating elasticsearch user... OK
 
−
Unpacking elasticsearch (8.6.2) ...
 
−
Setting up elasticsearch (8.6.2) ...
 
−
--------------------------- Security autoconfiguration information ------------------------------
 
  
−
Authentication and authorization are enabled.
 
−
TLS for the transport and HTTP layers is enabled and configured.
 
  
−
The generated password for the elastic built-in superuser is : 17GD6LQBWs0h+WUJl9t2
+
=Links=
−
 
+
*https://gitlab.com/kalilinux/kali-purple/documentation/-/wikis/301_31:-Elastic-Stack-Installation
−
If this node should join an existing cluster, you can reconfigure this with
 
−
'/usr/share/elasticsearch/bin/elasticsearch-reconfigure-node --enrollment-token <token-here>'
 
−
after creating an enrollment token on your existing cluster.
 
−
 
 
−
You can complete the following actions at any time:
 
−
 
 
−
Reset the password of the elastic built-in superuser with
 
−
'/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic'.
 
−
 
 
−
Generate an enrollment token for Kibana instances with
 
−
'/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana'.
 
−
 
 
−
Generate an enrollment token for Elasticsearch nodes with
 
−
'/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s node'.
 
−
 
 
−
-------------------------------------------------------------------------------------------------
 
−
### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd
 
−
sudo systemctl daemon-reload
 
−
sudo systemctl enable elasticsearch.service
 
−
### You can start elasticsearch service by executing
 
−
sudo systemctl start elasticsearch.service
 
−
</pre>
 
−
 
 
−
eyJ2ZXIiOiI4LjYuMiIsImFkciI6WyIxMC44MS4xLjE3OjkyMDAiXSwiZmdyIjoiNGJlNzA3NjE5ZDMwNGY4ZTYxZjY1MDY0YzYyNjMxOGQyMjhhYzBjZTI0MzIxNDY0MGU2MGY3OWY0NzgzNGJmOSIsImtleSI6IldwUXpNNGNCOXFLM1ZZVWFGbVpJOnlwYV9iMTZSVHFhTHBCdUl2bkwzcmcifQ==
 

Version vom 19. Dezember 2023, 14:51 Uhr

Install elasticsearch

  • sudo apt update && sudo apt upgrade
  • sudo bash -c "export HOSTNAME=kali-purple.kali.purple; apt-get install elasticsearch -y"


Links