流利的安装不工作

时间:2015-05-19 09:37:27

标签: install fluentd

我正在尝试在我的linux机器上安装td-agent,我收到以下错误。

命令:

curl -L https://td-toolbelt.herokuapp.com/sh/install-redhat-td-agent2.sh | sh

输出:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
110   662  110   662    0     0   1870      0 --:--:-- --:--:-- --:--:--  2916
This script requires superuser access to install rpm packages.
You will be prompted for your password by sudo.
curl: (28) connect() timed out!
error: https://packages.treasuredata.com/GPG-KEY-td-agent: import read failed(2).
Loaded plugins: security
packages.treasuredata.com/2/redhat/6Server/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')

我可以安装其他任何方式吗?

1 个答案:

答案 0 :(得分:0)

您遇到连接问题。 您的IP可能被禁止..您是否尝试过从另一台计算机运行相同的命令?

根据Curl错误代码:

CURLE_OPERATION_TIMEDOUT (28)

Operation timeout. The specified time-out period was reached according to the conditions.

您可以创建本地文件,并粘贴您在此处可以找到的相同代码

https://td-toolbelt.herokuapp.com/sh/install-redhat-td-agent2.sh

然后

chmod +x youscript.sh

并执行它。