Elasticsearch

出自Gea-Suan Lin's Wiki
跳至導覽 跳至搜尋

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). 

外部連結