Creating a custom Oracle EBS preinstall RPM for RHEL7
Oracle, by default, ships preinstall RPMs only for Oracle Linux. Preinstall RPMs make the life of DBA very easy by taking care of installing full laundry lists of required prereq RPMs for Oracle E-Business Suite, as well as setting all required kernel and limits parameters. Even though Oracle Linux is derived from Redhat Linux, we cannot install those preinstall RPMs on Redhat Linux. Oracle-supplied preinstall RPMs have a prerequisite of using UEK kernel. UEK kernel is Oracle Linux-specific, Redhat does not ship that kernel. This makes the RPM fail on Redhat and it won't set any required kernel parameters, etc., on Redhat. So I have created a new RPM for Redhat that achieves the same result using the SRPMs from Oracle You can download the RPM from the link below: https://github.com/vasuballa/oracle-rhel-preinstall/tree/master/RPMS/x86_64 If you want to prepare the RPM yourself, here are the steps to follow:
$ wget https://oss.oracle.com/ol7/SRPMS-updates/oracle-ebs-server-R12-preinstall-1.0-3.el7.src.rpm $ rpm2cpio oracle-ebs-server-R12-preinstall-1.0-3.el7.src.rpm | cpio -idmv $ mkdir -p ~/rpmbuild/SOURCES/ $ mkdir -p ~/rpmbuild/SPECS/ $ cp oracle-ebs-server-R12-preinstall-1.0.tar.gz ~/rpmbuild/SOURCES/ $ cp oracle-ebs-server-R12-preinstall.spec ~/rpmbuild/SPECS/ $ vi ~/rpmbuild/SPECS/oracle-ebs-server-R12-preinstall.spec :%s/kernel-uek/kernel/g :%s/3.el7/3.rhel7/g $ rpmbuild -ba ~/rpmbuild/SPECS/oracle-ebs-server-R12-preinstall.spec $ ls -ltr /home/oracle/rpmbuild/RPMS/x86_64/oracle-ebs-server-R12-preinstall-1.0-3.rhel7.x86_64.rpm
Good luck installing Oracle on Redhat Linux. Please let me know how these worked for you.
Share this
Previous story
← Rotating your ProxySQL log files
You May Also Like
These Related Stories
How to run RHEL5/Centos5 in Google Cloud
How to run RHEL5/Centos5 in Google Cloud
Jan 25, 2019
2
min read
Live Kernel Updates Without Downtime in New RHEL 8.1, 7.7 and 7.6 Release
Live Kernel Updates Without Downtime in New RHEL 8.1, 7.7 and 7.6 Release
Nov 28, 2019
2
min read
How to Execute 19c runcluvfy.sh With Root and Sudo Method
How to Execute 19c runcluvfy.sh With Root and Sudo Method
Jan 13, 2021
3
min read
No Comments Yet
Let us know what you think