-
下載es-head
git clone git://github.com/mobz/elasticsearch-head.git cd elasticsearch-head npm install 或者 npm install [email protected] --ignore-scripts # 忽略phantomjs-prebuilt插件
題外話:centos下面git安裝:參考:centos git 安裝
-
配置es:修改elasticsearch.yml,解決下可能存在的跨域問題
http.cors.enabled: true http.cors.allow-origin: "*"
-
啓動es-head
cd elasticsearch-head npm run start