Elasticsearch 是位于 Elastic Stack 核心的分布式搜索和分析引擎。
请参考 elasticsearch 官方安装教程。
以 Debian/Ubuntu 安装为例,举例如下:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | {{sudo}}gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] {{endpoint}}/{{version}}/apt/ stable main" | {{sudo}}tee /etc/apt/sources.list.d/elastic-{{version}}.list {{sudo}}apt-get update && {{sudo}}apt-get install elasticsearch