Elasticsearch
Elasticsearch是一套搜索引擎。
安装
在Ubuntu下可以透过官方提供的APT Repository安装[1],包含了Java环境与Elasticsearch:
$ sudo apt install default-jre
$ cd /tmp
$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
$ echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a
$ sudo apt update
$ sudo apt install elasticsearch
设定
先设为开机启动服务:
$ sudo systemctl enable elasticsearch.service
相关连结
参考文献
- ↑ search - How to install Elasticsearch on 16.04 LTs - Ask Ubuntu. [2018-04-08].