【发布时间】:2015-12-16 18:37:52
【问题描述】:
我正在尝试在我的 mac os 10.10.5 上安装弹性搜索
我在关注这个官方页面https://www.elastic.co/guide/en/elasticsearch/guide/current/_installing_elasticsearch.html
页面说
curl -L -O http://download.elasticsearch.org/PATH/TO/VERSION.zip
我这样做了:curl -L -O http://download.elasticsearch.org/elasticsearch-1-7-2.zip
然后页面说:
解压 elasticsearch-$VERSION.zip
我做了这个(在同一个目录上)
unzip elasticsearch-1-7-2.zip
结果是:
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of elasticsearch-1-7-2.zip or
elasticsearch-1-7-2.zip.zip, and cannot find elasticsearch-1-7-2.zip.ZIP, period.
请问我做错了什么?怎么解决的
更新 1
我用过这个
jar xvf elasticsearch-1-7-2.zip
我没有收到任何错误消息,但我没有看到提取的文件。该命令是否将文件解压缩到另一个位置?
【问题讨论】:
标签: java linux macos unix elasticsearch