gpt4 book ai didi

docker - Fiware cygnus Docker构建失败

转载 作者:行者123 更新时间:2023-12-02 19:37:19 27 4
gpt4 key购买 nike

已编辑
我先尝试安装 cgynus-ngsi ,然后先安装现成的镜像并测试其是否可以正常工作,
但是当尝试重新配置 agent.conf 时,我编辑了文件并尝试从头开始安装cgynus-ngsi时发现了此问题
尝试其他镜子。

Setting up Install Process
http://ftp.uma.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.uma.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://sunsite.rediris.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://sunsite.rediris.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://mirror.trueinter.net/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.trueinter.net/centos/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://mirror.uv.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.uv.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://ftp.cica.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.cica.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://mirror.tedra.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.tedra.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://centos.uvigo.es/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.uvigo.es/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://mirror.airenetworks.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.airenetworks.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://centos.cadt.com/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.cadt.com/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
ftp://ftp.cesca.cat/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on ftp://ftp.cesca.cat/centos/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
/bin/sh: java: command not found

然后

我奔跑着
docker build -t cygnus-common
它git这个日志
INFO: Java version <1.7.0>

INFO: Apache domain <http://archive.apache.org/dist/>
INFO: URL MAVEN <http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz>
INFO: URL FLUME <http://archive.apache.org/dist/flume/1.4.0/apache-flume-1.4.0-bin.tar.gz>
INFO: Download and install Maven and Flume...

但是超时

最佳答案

看来是网络问题。您的房东在代理人的身后吗?

您可以尝试从同一主机手动访问镜像,如this question on ServerFault中所述,然后看看会发生什么:

time wget http://sunsite.rediris.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml

如果您还遇到问题,也许您必须与您的云提供商联系。

如果您在CentOS中运行,如 in this link from CentOS forum所述,则可以将 http_caching=packages添加到 /etc/yum.conf文件中,然后再次运行命令。

请阅读上面的链接以获取更多详细信息。

关于docker - Fiware cygnus Docker构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43482870/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com