brew install elasticsearch
Error: elasticsearch has been disabled because it is switching to an incompatible license. Check out `opensearch` instead!
brew install opensearch
Error: No such file or directory @ rb_sysopen - /Users/xiaojingchow/Library/Caches/Homebrew/downloads/7da6c24e097411e7353190079b942a09ba2e7692e9e8e62a9dd776d6f70222ed--openjdk-18.0.2.1.arm64_big_sur.bottle.tar.gz
然后看到了 这篇文章,感谢大佬
es 运行基于java 所以要事先安装java ,
我安装的是java 17
安装完成
java -version 查看java安装是否成功
然后安装
brew install elastic/tap/elasticsearch-full
启动
brew services start elastic/tap/elasticsearch-full
感谢大佬!!!
原文链接:https://blog.csdn.net/qq_39189034/article/details/121405804