首先安装最新版本的java
安装和配置
. 下载 ES 安装文件
sudo wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.5.tar.gz
. 重命名文件夹
mv elasticsearch-0.90.5 elasticsearch
. 下载 ES service shell 管理脚本
git clone https://github.com/elasticsearch/elasticsearch-servicewrapper.git
cd elasticsearch-servicewrapper
. 拷贝 service 至 ES bin 目录下
mv service /Users/leehenry/Downloads/elasticsearch/bin
. 启动 ES 服务
sudo bin/service/elasticsearch start
. 浏览器访问,确认服务运行正常
http://localhost:9200
安装marvel
http://mobz.github.io/elasticsearch-head/
讲_site放在elasticsearch目录下的plugin里面
浏览器访问http://localhost:9200/_plugin//
应该就装好了 ,反正我装好了