Mac es installation stepping pit diary

install es

Initially installed through brew: brew install elasticsearch
prompts an error:

elasticsearch has been disabled because it is switching to an incompatible license. Check out `opensearch` instead!

Go to the official website to view the content:

Attached official website address: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/brew.html

First you need to hit the Elastic Homebrew repository

brew tap elastic/tap

brew install elastic/tap/elasticsearch-full

start es

elasticsearch

Check whether ES starts successfully: http://localhost:9200/?pretty
insert image description here

close es

  1. ctrl+c
  2. kill -9 the process number of elasticsearch
kill -9 8172

closed successfully
insert image description here

Check the process number method
Terminal command: jps
From this we can know that the process of es is 8172
insert image description here

download kibana

Attached official website address: https://www.elastic.co/guide/en/kibana/7.17/brew.html

install command

brew install elastic/tap/kibana-full

Start Kibana

kibana

Enter the local kibana interface:
http://localhost:5601
insert image description here
Start successfully!
It's time to start exploring!

Guess you like

Origin blog.csdn.net/weixin_43865875/article/details/127651888