Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/wpf/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Deployment 安装elasticsearch时出现橡皮错误_Deployment_Amazon Ec2_Capistrano_<img Src="//i.stack.imgur.com/RUiNP.png" Height="16" Width="18" Alt="" Class="sponsor Tag Img">elasticsearch - Fatal编程技术网 elasticsearch,Deployment,Amazon Ec2,Capistrano,elasticsearch" /> elasticsearch,Deployment,Amazon Ec2,Capistrano,elasticsearch" />

Deployment 安装elasticsearch时出现橡皮错误

Deployment 安装elasticsearch时出现橡皮错误,deployment,amazon-ec2,capistrano,elasticsearch,Deployment,Amazon Ec2,Capistrano,elasticsearch,当我尝试引导rubber时,我得到以下错误:失败:“/bin/bash-l-c'sudo-p'\\''sudo密码:'\\'''\''bash-l/tmp/install\u elasticsearch'.”在工具上。****************.com 我该如何着手解决这个问题呢?我解决了这个问题 显然,弹性搜索下载的url是错误的。如果您执行以下操作,一切都应正常工作 在 config/ruber/deploy elasticsearch.rb 换句话 wget --no-check-c

当我尝试引导rubber时,我得到以下
错误:失败:“/bin/bash-l-c'sudo-p'\\''sudo密码:'\\'''\''bash-l/tmp/install\u elasticsearch'.”在工具上。****************.com


我该如何着手解决这个问题呢?

我解决了这个问题

显然,弹性搜索下载的url是错误的。如果您执行以下操作,一切都应正常工作

config/ruber/deploy elasticsearch.rb

换句话

wget --no-check-certificate -qNP /tmp https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-#{rubber_env.elasticsearch_version}.zip

具体来说,必须更改url,而不是使用

https://github.com/downloads/
使用
http://download.elasticsearch.org/


我解决了这个问题

显然,弹性搜索下载的url是错误的。如果您执行以下操作,一切都应正常工作

config/ruber/deploy elasticsearch.rb

换句话

wget --no-check-certificate -qNP /tmp https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-#{rubber_env.elasticsearch_version}.zip

具体来说,必须更改url,而不是使用

https://github.com/downloads/
使用
http://download.elasticsearch.org/


你找到解决方案了吗?你找到解决方案了吗?是的,我在github页面上找到了。我忘了添加答案是的,我在github页面上找到了。我忘了加答案了