es-head 插件連接es

  1. 下載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 安裝
  1. 配置es:修改elasticsearch.yml,解決下可能存在的跨域問題

     http.cors.enabled: true
     http.cors.allow-origin: "*"
    
  2. 啓動es-head

     cd elasticsearch-head
     npm run start
    
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章