sudo apt-get update
sudo apt-get upgrade
一.安裝Java
1 |
sudo apt-get install openjdk-7-jre |
二.下載ElasticSearch
github: https://github.com/elasticsearch/elasticsearch
網站: http://www.elasticsearch.org/download/
可輸入以下指令:
wget -P elasticsearch https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.2.zip
下載並解壓縮後為elasticsearch目錄,搬動到/usr/local/share
1 |
sudo mv elasticsearch /usr/local/share |