elasticsearch5.3.0在windows中的開發環境搭建

來源:互聯網
上載者:User

標籤:elasticsearch   windows   搭建es環境   

第一步:下載ES,連結[https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.3.0.zip]

第二步: 修改ES設定檔,在末尾加上

            http.cors.enabled: true

            http.cors.allow-origin: "*"

第三步: 執行 bin/elasticsearch (或 bin\elasticsearch.bat  在Windows系統中)

第四步: 在瀏覽器中輸入http://localhost:9200/       

{  "name" : "69Amu1t",  "cluster_name" : "elasticsearch",  "cluster_uuid" : "_XaiMa0VR0mRZ1tZAAYaHA",  "version" : {    "number" : "5.3.0",    "build_hash" : "3adb13b",    "build_date" : "2017-03-23T03:31:50.652Z",    "build_snapshot" : false,    "lucene_version" : "6.4.1"  },  "tagline" : "You Know, for Search"}

列印出上面的JSON串說明ES服務啟動成功


第五步: 安裝ES外掛程式,首先通過git下載源碼, git clone git://github.com/mobz/elasticsearch-head.git


第六步: 在外掛程式根目錄啟動grunt,命令格式[grunt server]

第七步: 在瀏覽器中輸入http://localhost:9100/

備忘:java,nodejs需要安裝,作者預設您已經安裝了650) this.width=650;" src="http://img.baidu.com/hi/jx2/j_0057.gif" alt="j_0057.gif" />


本文出自 “大資料踐行者” 部落格,謝絕轉載!

elasticsearch5.3.0在windows中的開發環境搭建

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.