问题
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