Dear DBA's,
Installing prerequisite packages are one of the tedious tasks in any implementation or migration. Though this is one time task, its so mundane to check each rpm. Oracle has provided pre-install rpm which will save lot of our time on preparation tasks. All we need to do is configure yum repository and install the single package. Rest of the tasks will be taken care by yum and it will install all the needed pre-requisite packages for both apps and db tier.
Lets see how this can be done.
Go to the directory below. any file you see here with *.repo extension are repositories. YUM will refer this file and look for the packages to be installed. You can either provide any link to download the packages or we can provide the location (if you have packages in local disk ).
I am going to install preinstall rpm on rhel 7.5 64 bit, So i would use the correspoding ol7 pre install rpm for this installation.
As root user :
# cd /etc/yum.repos.d
Enter the below command as root user and it will create the repository file for preinstall RPM.
wget http://public-yum.oracle.com/public-yum-ol7.repo
Type yes "Y"
Now we can install the packages with the below command and Yum will take care of the rest.
# yum install oracle-ebs-server-R12-preinstall
Installing prerequisite packages are one of the tedious tasks in any implementation or migration. Though this is one time task, its so mundane to check each rpm. Oracle has provided pre-install rpm which will save lot of our time on preparation tasks. All we need to do is configure yum repository and install the single package. Rest of the tasks will be taken care by yum and it will install all the needed pre-requisite packages for both apps and db tier.
Lets see how this can be done.
Go to the directory below. any file you see here with *.repo extension are repositories. YUM will refer this file and look for the packages to be installed. You can either provide any link to download the packages or we can provide the location (if you have packages in local disk ).
I am going to install preinstall rpm on rhel 7.5 64 bit, So i would use the correspoding ol7 pre install rpm for this installation.
As root user :
# cd /etc/yum.repos.d
Enter the below command as root user and it will create the repository file for preinstall RPM.
wget http://public-yum.oracle.com/public-yum-ol7.repo
AS you see the above pic public-yum-ol7.repo have been created. Keep only this repository and move other repositories temporarily.
Open the repository in Vi file and updated enabled=0 to enabled=1 for the items below. You will see lot of items in the repository but only the below are recommended. Items which enabled=1 will be installed by YUM.
[ol6_latest]
[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol6_addons]
name=Oracle Linux $releasever Add ons ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
# yum update
Type yes "Y"
Now we can install the packages with the below command and Yum will take care of the rest.
# yum install oracle-ebs-server-R12-preinstall
Thanks!
~Sikky
~Sikky
thanks for the piece of information.
ReplyDelete