在Ubuntu(12.04)上安裝ElasticSearch Server

sudo apt-get update
sudo apt-get upgrade

一.安裝Java

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

sudo mv elasticsearch /usr/local/share

Continue reading “在Ubuntu(12.04)上安裝ElasticSearch Server”