【问题标题】:How I can config the fluentd Proxy for install plugins?如何配置 fluentd 代理以安装插件?
【发布时间】:2015-10-08 13:19:17
【问题描述】:

我无法在 fluentd 上安装插件。我已经在系统(rhel)上设置了代理变量,但它没有影响。

$ td-agent --gemfile grok-plugin/Gemfile
  fatal: Not a git repository (or any of the parent directories): .git
  Fetching source index from https://rubygems.org/
  Retrying source fetch due to error (2/3): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
  Retrying source fetch due to error (3/3): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
  Could not fetch specs from https://rubygems.org/
$ echo $HTTP_PROXY
  http://proxy.de:port
$ echo $HTTPS_PROXY
  http://proxy.de:port
$ echo $https_proxy
  http://proxy.de:port
$ echo $http_proxy
  http://proxy.de:port

请您帮我设置 gem-install 的代理吗?

【问题讨论】:

    标签: linux proxy rhel6 fluentd


    【解决方案1】:

    我找到了解决方案。我还有一个问题,它给了我一个方法。在 rhel6 中你必须编写没有http:// 的代理,然后它才能工作。 (不带协议写代理,只是解决这个问题的办法)

    【讨论】:

      猜你喜欢
      • 2012-01-08
      • 1970-01-01
      • 2019-12-18
      • 1970-01-01
      • 2016-01-11
      • 2011-08-16
      • 1970-01-01
      • 2012-02-18
      • 2015-11-24
      相关资源
      最近更新 更多