Elasticsearch:修订间差异

来自Gea-Suan Lin's Wiki
跳到导航 跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
(创建页面,内容为“== 安裝 == == 外部連結 == * {{Official|https://www.elastic.co/}} Category:軟體”)
 
 
(未显示同一用户的18个中间版本)
第1行: 第1行:
'''Elasticsearch'''是一套搜尋引擎。
== 安裝 ==
== 安裝 ==
在[[Ubuntu]]下可以透過官方提供的APT Repository安裝<ref>{{Cite web |url=https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html |title=Install Elasticsearch with Debian Package |accessdate=2020-08-05 |language=en}}</ref>,包含了[[Java]]環境與Elasticsearch:
<syntaxhighlight lang="bash">
sudo apt -y install default-jre; wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -; 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 update; sudo apt -y install elasticsearch
</syntaxhighlight>
== 設定 ==
先設為開機啟動服務:
<syntaxhighlight lang="bash">
sudo systemctl enable elasticsearch.service
</syntaxhighlight>
== 相關連結 ==
* [[Kibana]]
== 參考文獻 ==
{{Reflist|2}}


== 外部連結 ==
== 外部連結 ==

2020年8月5日 (三) 14:12的最新版本

Elasticsearch是一套搜寻引擎。

安装

Ubuntu下可以透过官方提供的APT Repository安装[1],包含了Java环境与Elasticsearch:

sudo apt -y install default-jre; wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -; 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 update; sudo apt -y install elasticsearch

设定

先设为开机启动服务:

sudo systemctl enable elasticsearch.service

相关连结

参考文献

  1. Install Elasticsearch with Debian Package. [2020-08-05] (English). 

外部连结