在我的 Homebrew 软件中,我只能访问 solr 4.9.0,但它已从 repo 中删除,因此我看到 404 错误:
bmalets:~ bmalets$ brew install solr
==> Downloading http://www.apache.org/dyn/closer.cgi?path=lucene/solr/4.9.0/solr-4.9.0.tgz
==> Best Mirror http://apache.ip-connect.vn.ua/lucene/solr/4.9.0/solr-4.9.0.tgz
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "solr"
Download failed: http://apache.ip-connect.vn.ua/lucene/solr/4.9.0/solr-4.9.0.tgz
现在solr 4.10.0版本已经可以使用了,但是brew没有看到...
因为在 solr 的每个教程中,我都看到“在 1st - run
brew install solr
'。而且我不想在将来更新/升级时遇到问题......
如何设置 brew 以在我的 Mac 上安装新的 Solr 版本?
附言 Homebrew 软件 0.9.5,OS_X 10.9.5
最佳答案
运行
brew update
进而
brew install solr
为我修复了这个错误
关于macos - 如何使用 Homebrew 软件在 mac 上安装 Solr?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25995113/