我已经坚持了大约一天。我在我的 redhat vm 上下载并安装了 ElasticSearch 2.3.3。我正在尝试关注网站上的入门视频,但视频中的任何安装命令都没有为我工作,因此我尝试了指南中的安装方法。
我下载了 rpm 并输入以下命令进行安装:
cd /usr/share/elasticsearch
bin/plugin -DproxyHost=... -DproxyPort=... install license
bin/plugin -DproxyHost=... -DproxyPort=... install marvel-agent
然后我启动了我的 ElasticSearch 节点并转到 localhost:9200/_plugin/marvel 但没有弹出任何内容。
然后我想可能是因为我只下载了代理而不是奇迹,所以我尝试从 cmd 行安装奇迹,但我不断收到 FileNotFound 异常
bin/plugin -DproxyHost=... -DproxyPort=... install marvel
然后我手动下载了 marvel-2.3.3.tar.gz 并尝试手动安装
bin/plugin -DproxyHost=... -DproxyPort=... install --verbose file://.../marvel-2.3.3.tar.gz
但我被告知 zip 缺少 plugin-descriptor.properties 文件
Verifying file:/home1/isuser/Downloads/marvel-2.3.3.tar.gz checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip
然后我解压缩了 marvel-2.3.3.tar,添加了一个 .properties 文件,重新压缩并重新安装。仍然有同样的错误。
我真的需要一些帮助。这非常令人沮丧。我仍然需要安装 Kibana,但如果该安装像这个一样令人愤怒,我不期待它......
编辑:
我通过将 .properties 文件从marvel
目录中移动到同一级别来解决此错误,但现在我遇到了一个新错误。它一直给我一个FileNotFoundException
。
[root@den01ejm elasticsearch]# bin/plugin install -DproxyHost=www-proxy.us.oracle.com -DproxyPort=80 --verbose /home1/isuser/Desktop/up/marvel-2.3.3.tar.gz
-> Installing /home1/isuser/Desktop/up/marvel-2.3.3.tar.gz...
Trying https://download.elastic.co//home1/home1-isuser.zip ...
Failed: FileNotFoundException[https://download.elastic.co//home1/home1-isuser.zip]; nested: FileNotFoundException[https://download.elastic.co//home1/home1-isuser.zip];
Trying https://search.maven.org/remotecontent?filepath=/home1/isuser/home1-isuser.zip ...
Failed: FileNotFoundException[https://search.maven.org/remotecontent?filepath=/home1/isuser/home1-isuser.zip]; nested: FileNotFoundException[https://search.maven.org/remotecontent?filepath=/home1/isuser/home1-isuser.zip];
Trying https://oss.sonatype.org/service/local/repositories/releases/content//home1/isuser/home1-isuser.zip ...
Failed: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content//home1/isuser/home1-isuser.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content//home1/isuser/home1-isuser.zip];
Trying https://github.com//home1/archive/isuser.zip ...
Failed: FileNotFoundException[https://github.com//home1/archive/isuser.zip]; nested: FileNotFoundException[https://github.com//home1/archive/isuser.zip];
Trying https://github.com//home1/archive/master.zip ...
Failed: FileNotFoundException[https://github.com//home1/archive/master.zip]; nested: FileNotFoundException[https://github.com//home1/archive/master.zip];
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information