W
e
l
c
o
m
e
: )

centos8.2安装rabbitMQ遇到的问题

1、遇到的问题

输入

yum -y install gcc glibc-devel make ncurses-devel openssl-devel xmlto perl wget gtk2-devel binutils-devel

报错:

Errors during downloading metadata for repository 'AppStream':
  - Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 100.100.2.148)
错误:Failed to download metadata for repo 'AppStream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
CentOS-8 - AppStream                                                            0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'AppStream':
  - Curl error (6): Couldn't resolve host name for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml [Could not resolve host: mirrors.cloud.aliyuncs.com]
错误:Failed to download metadata for repo 'AppStream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

2、解决办法

主要通过下面两种方式解决:

  1. 设置镜像中的个别命令有墙堵住
  2. 网络配置问题
    问题解决:
    大多数原因还是上网链接不上
    或者是dns配置解析有问题
    导致一直卡在那里下载,下载不动
    通过重启网络配置,或者是配置一下dns,或修改dns。
    如果之前把防火墙关了,需要把防火墙打开。
    systemctl start firewalld.service

如果出现

configure: error: No curses library functions found
ERROR: /usr/local/otp_src_22.0/erts/configure failed!

已杀死
在Linux上安装ErLang环境时,如果出现 configure: error: No curses library functions found 提示
需要首先安装

yum install -y  ncurses-devel
posted @ 2022-04-17 11:07  所遇所思  阅读(47)  评论(0编辑  收藏  举报  来源