How to configure system to use the FIWARE yum repository?

China☆狼群 提交于 2019-11-26 08:35:53

问题


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.

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.

Thanks!


回答1:


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

I hope it helps you.

EDIT: 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.

EDIT: originally, the name was repositories.testbed.fiware.org but it changed to repositories.lab.fiware.org on Feburary 2016.



来源:https://stackoverflow.com/questions/24331330/how-to-configure-system-to-use-the-fiware-yum-repository

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!