尝试在 Scientific Linux 6.2 版上安装 oracle

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17840472/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 01:48:55  来源:igfitidea点击:

Trying to install oracle on Scientific Linux release 6.2

linuxoracleoracle11gyum

提问by user2428795

We are trying to install Oracle11g on Scientific Linux release 6.2 using yum and we are getting a error

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

This is the command:

这是命令:

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

This is the output error:

这是输出错误:

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

回答by Pranav Dangar

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

Run the above command. I just now did the same.

运行上面的命令。我刚刚也做了同样的事情。

[Edit] Or go to the link http://public-yum.oracle.com/to scroll down to get the link compatible to your OS.

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

回答by Igor

try this

尝试这个

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

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

回答by Nilesh Mishra

check whether below package install
1) rpm -q epel-release

检查以下软件包是否安装
1) rpm -q epel-release

package epel-release is not installed

未安装软件包 epel-release

then install it

然后安装它

2) yum install package 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