1. 程式人生 > 其它 >mac m1安裝部署elasticseach8.1.1啟動後,不能訪問

mac m1安裝部署elasticseach8.1.1啟動後,不能訪問

安裝java環境,看自己需求,不安裝啟動時會自動下載javasdk

安裝過程不贅述,官網下載macOSarrch64版本就可以了,下載下來解壓縮,進入bin目錄,執行./elasticseach命令啟動

安裝部署elasticseach8.1.1啟動後,訪問127.0.0.1:9200失敗,檢視下載安裝包中conf目錄下elasticseach.yml配置檔案,如下圖

 

 修改xpack.security.enabled為false,然後重新啟動。

 xpack.security.enabled 配置作用為是否開啟elaticseach的安全機制

開啟安裝機制時訪問,後續會更新

TRANSLATE with
x English
Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian  
  TRANSLATE with COPY THE URL BELOW Back EMBED THE SNIPPET BELOW IN YOUR SITE Enable collaborative features and customize widget:
Bing Webmaster Portal
Back