试图在Scientific Linux版本6.2上安装Oracle

我们正在尝试使用yum在Scientific Linux release 6.2上安装Oracle11g,并且出现错误

这是命令:

yum install oracle-rdbms-server-11gR2-preinstall 

这是输出错误:

 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 

 wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 

运行上面的命令。 我刚刚也是这样做的。

[编辑]或者转到链接http://public-yum.oracle.com/向下滚动,以获得与您的操作系统兼容的链接。

尝试这个

wget –no-check-certificate https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O / etc / pki / rpm-gpg / RPM-GPG-KEY-oracle

检查下面的包是否安装
1)rpm -q epel-release

软件包epel-release没有安装

然后安装它

2)yum安装包epel-release *

 > 3) wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle --no-check-certificate 4)wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle --no-check-certificate