Difference between revisions of "Install Elasticsearch and Kibana on Debian/Ubuntu"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
== 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 |
Revision as of 08:48, 21 December 2022
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 sudo apt-get update && sudo apt-get install elasticsearch
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
sudo systemctl start kibana.service sudo systemctl status 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.
W: GPG error: https://artifacts.elastic.co/packages/7.x/apt stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D27D666CD88E42B4
Solution: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D27D666CD88E42B4 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). Executing: /tmp/apt-key-gpghome.nxEak71UaN/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D27D666CD88E42B4 gpg: key D27D666CD88E42B4: public key "Elasticsearch (Elasticsearch Signing Key) <[email protected]>" imported gpg: Total number processed: 1 gpg: imported: 1
Related terms
apt-key
deb [trusted=yes]
metricbeat setup --dashboards
brew install elastic/tap/elasticsearch-full
See also
apt-key
,apt-key [ add | adv | list ]
,apt-key --keyring
,apt-key --help
- Elastic: ELK,
Elasticsearch
,Logstash
,Kibana
, Installation, AWS Elasticsearch, Elastic SIEM, Elastic Beats,metricbeat
,filebeat
,journalbeat
, Elastisearch Service , Search guard, Elasticsearch logs, curator, ILM, Lumberjack protocol,aws_elasticsearch_domain
, KQL,elasticsearch.yml, elasticsearch-plugin, elasticsearch-certutil
, Elasticsearch release notes/changelog
Advertising: