Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/26.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
Linux 如何配置fluentd代理以安装插件?_Linux_Proxy_Rhel6_Fluentd - Fatal编程技术网

Linux 如何配置fluentd代理以安装插件?

Linux 如何配置fluentd代理以安装插件?,linux,proxy,rhel6,fluentd,Linux,Proxy,Rhel6,Fluentd,我无法在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):

我无法在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安装的代理服务器好吗?

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