亚马逊网络服务EC2实例红帽百胜不起作用 [英] Amazon Web Service EC2 instance RedHat yum does not work

查看:286
本文介绍了亚马逊网络服务EC2实例红帽百胜不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在建立一个新的EC2实例,我试图用yum安装VIM ...我得到这个错误:

After setting up a fresh ec2 instance, I tried to install vim using yum... I got this error:

错误:无法找到RHNS CA文件:在/ usr /共享/ RHN / RHN-ORG-TRUSTED-SSL-CERT

ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

推荐答案

在文件夹中的/ usr /共享/ RHN /的证书文件名为错了... 你可以简单地使证书的副本,使用正确的名称

In the folder /usr/share/rhn/ the cert file is named wrong... you can simply make a copy of the cert with the correct name

(作为root)

cd /usr/share/rhn/
cp RHNS-CA-CERT RHN-ORG-TRUSTED-SSL-CERT

这篇关于亚马逊网络服务EC2实例红帽百胜不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆