centos7 使用yum方式安装失败

环境信息

  • EMQX 版本:5.0.4
  • 操作系统及版本:Centos7.9
  • 其他

问题描述

centos7 使用yum方式安装失败,报错

failure: repodata/repomd.xml from emqx_emqx: [Errno 256] No more mirrors to try.
https://packages.emqx.com/emqx/emqx/el/7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 302 - Found
Generating yum cache for emqx_emqx-source...
https://packages.emqx.com/emqx/emqx/el/7/SRPMS/repodata/repomd.xml: [Errno 14] HTTPS Error 302 - Found
Trying other mirror.

你好,这边使用 centos 7.9 测试正常

可以尝试以下操作

yum clean all
yum update -y

然后重新安装试试

可以执行下面的命令检查是否是网络问题
wget https://packages.emqx.com/emqx/emqx/el/7/x86_64/repodata/repomd.xml