Installing Oracle 12.1.0.2 on Red Hat 7
This is not a complete guide how to do the installation. Just a note how to get a RPM-GPG-KEY-oracle file to Red Hat 7.
Go to oracle-base for installation notes on oel7.Installation documentation is mentioning: "Starting with Oracle Database 12c Release 1 (12.1.0.2), Oracle Linux 7 and Red Hat Enterprise Linux 7 are supported on Linux x86-64 systems." So do not try to install 12.1.0.1 on Red Hat 7. The case when you have SE one licence and not yet buying SE2 license. Just to mention 11.2 is supported to be installed on Red Hat Enterprise Linux 7.
Download the information about Oracle public yum repo
Download the information about Oracle public yum repo
https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-downloading-yum-repo.html
# cd /etc/yum.repos.d
You need the file mentioned here
And you will succeed installing:yum install oracle-rdbms-server-12cR1-preinstall
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol7.repo
Try to install preinstall package and get an error.yum install oracle-rdbms-server-12cR1-preinstall
...
...
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle"
You need the file mentioned here
# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
And you will succeed installing:yum install oracle-rdbms-server-12cR1-preinstall
No comments:
Post a Comment