增加elasticsearch-head
1.下载
2.安装
2.1以插件的形式安装
%ES_HOME%
/bin/plugin -install mobz/elasticsearch-head
访问
http://localhost:9200/_plugin/head/
或者:
/usr/local/search/elasticsearch-1.3.1/bin/plugin -install mobz/elasticsearch-head
安装路径为/usr/local/search/elasticsearch-1.3.1/plugins/
访问:http://10.41.2.85:9200/_plugin/head/
2.2独立安装
这种方式可以很方便的连接到别的ES集群
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
npm install
grunt server
访问
http://localhost:9100/
或者:
mkdir -p /usr/local/search/eshead
cp /opt/elasticsearch-head-master.zip /usr/local/search/eshead/
cd /usr/local/search/eshead
unzip elasticsearch-head-master.zip
cd /usr/local/search/eshead/elasticsearch-head-master
npm install
grunt server
3.配置
elasticsearch-head自动连接到es的node,无需配置
4.测试
访问:http://10.41.2.85:9200/_plugin/head/