Linux 安装ErLang和RabbitMQ报错
作者:互联网
我是跟着尚硅谷的视频进行学习RabbitMQ的,当进行到安装的时候,使用阿里云服务器执行
rpm -ivh erlang-21.3-1.el7.x86_64.rpm
出现了错误:
error: Failed dependencies: libcrypto.so.10()(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64 libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64 libcrypto.so.10(OPENSSL_1.0.2)(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64 libcrypto.so.10(libcrypto.so.10)(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64 libnsl.so.1()(64bit) is needed by erlang-23.3.4.4-1.el7.x86_64
首先跟着https://blog.csdn.net/weixin_44200024/article/details/122125696?spm=1001.2014.3001.5506
到后面安装一直出现404失败,似乎是yum的配置问题,所以我重新配置了yum
先跳转到yum配置文件目录
cd /etc/yum.repos.d
然后使用rm命令将该文件中的.repo文件删除
最后再使用该curl命令
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
再执行
yum clean all&&yum makecache
再尝试使用rpm命令进行安装,结果就没有发生404错误了
标签:erlang,x86,64bit,RabbitMQ,报错,yum,64,ErLang,el7 来源: https://www.cnblogs.com/youjunhui/p/16472381.html