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 https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-downloading-yum-repo.html
cd /etc/yum.repos.d wget http://public-yum.oracle.com/public-yum-ol7.repoTry 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 https://docs.oracle.com/cd/E37670_01/E39381/html/ol_import_gpg.html
wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracleAnd you will succeed installing:
yum install oracle-rdbms-server-12cR1-preinstall
The same for Redhat and clones 5
ReplyDelete# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo
# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
# yum install oracle-validated
Grea, solve my problem!
ReplyDeleteThanks!!!
Same for Oracle 12R2 on Centos...thanks.
ReplyDelete# yum install oracle-database-server-12cR2-preinstall
Delete