mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
add elasticsearch help doc
This commit is contained in:
parent
f815d924de
commit
c4e63217b4
|
|
@ -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
|
||||
```
|
||||
Loading…
Reference in New Issue