diff --git a/help/_posts/2022-08-22-elasticsearch.md b/help/_posts/2022-08-22-elasticsearch.md new file mode 100644 index 0000000..d0aadcb --- /dev/null +++ b/help/_posts/2022-08-22-elasticsearch.md @@ -0,0 +1,20 @@ +--- +category: help +layout: help +mirrorid: elasticsearch +--- + +# Elasticsearch 镜像安装帮助 + +[Elasticsearch](https://www.elastic.co/cn/what-is/elasticsearch) Elasticsearch 是位于 Elastic Stack 核心的分布式搜索和分析引擎。 + + +请参考[elasticsearch 官方安装教程](https://www.elastic.co/guide/en/elasticsearch/reference/master/deb.html)。 + +以 Ubuntu 22.04 Server LTS 为例,举例如下: + +```shell +$ 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] https://mirrors.tuna.tsinghua.edu.cn/elasticstack/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 +``` \ No newline at end of file