问题描述
我知道FI-WARE在 http://repositories.testbed.fiware.org提供了一个公共yum存储库. /,可用于安装FI-WARE软件包,例如Orion contexto Broker.
I know that FI-WARE offers a public yum repository at http://repositories.testbed.fiware.org/ that can be used to install FI-WARE packages such as Orion contexto Broker.
但是,如何配置系统以使用该存储库?例如.我需要在/etc/yum.repos.d/目录中添加哪个.conf文件才能使其正常工作.
However, how can I configure my system to use that repository? E.g. which .conf file I need to add in my /etc/yum.repos.d/ directory to make it work.
谢谢!
推荐答案
您需要在/etc/yum.repos.d/中添加以下行的文件fiware.repo:
You need to add a file fiware.repo in /etc/yum.repos.d/ with the following lines:
[fiware]
name=Fiware Repository
baseurl=http://repositories.lab.fiware.org/repo/rpm/$releasever
gpgcheck=0
enabled=1
希望对您有帮助.
编辑:最初,baseurl是http://repositories.lab.fiware.org/repo/rpm/x86_64/
.仍然有效,但是自2016年4月以来正确的方法使用$releasever
.此外,/x86_64
已被删除.
originally, baseurl were http://repositories.lab.fiware.org/repo/rpm/x86_64/
. That is still working, but the correct one since April 2016 uses $releasever
. In addition, /x86_64
has been removed.
编辑:该名称最初为repositories.testbed.fiware.org
,但在2016年2月更改为repositories.lab.fiware.org
.
originally, the name was repositories.testbed.fiware.org
but it changed to repositories.lab.fiware.org
on Feburary 2016.
这篇关于如何配置系统以使用FIWARE yum存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!