我尝试在stackoverflow install rabbitmq-server上关注此链接,但它无效。获取错误没有包rabbitmq-server-3.3.4-1.noarch.rpm可用。
wget -O /etc/yum.repos.d/epel-erlang.repo http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo
yum install erlang
rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
yum install rabbitmq-server-3.3.5-1.noarch.rpm
获取错误
[vagrant@localhost ~]$ sudo yum install rabbitmq-server-3.3.4-1.noarch.rpm
Loaded plugins: fastestmirror
http://repos.fedorapeople.org/repos/peter/erlang/epel-7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* epel: epel.mirror.net.in
* extras: centos.excellmedia.net
* updates: centos.excellmedia.net
No package rabbitmq-server-3.3.4-1.noarch.rpm available.
Error: Nothing to do
答案 0 :(得分:1)
您需要使用以下两个命令之一
或
其中-U如果已安装包,则更新, -v用于详细输出, -h打印哈希输出