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
close es
- ctrl+c
- kill -9 the process number of elasticsearch
kill -9 8172
closed successfully
Check the process number method
Terminal command: jps
From this we can know that the process of es is 8172
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
Start successfully!
It's time to start exploring!