You are here

Install the oracle-rdbms-server preinstall on Oracle Linux 6

The oracle-rdbms-server-11gR2-preinstall, and the oracle-rdbms-server-12cR1-preinstall (dependent on db version) RPM, formally know as oracle-validated, simplifies meeting the software and system configuration prerequisites for installing the Oracle Database, Oracle Enterprise Manager, and many other Oracle technology products on Oracle Linux 6. Installing the oracle-rdbms-server-*-preinstall RPM automatically installs all of the software RPM prerequisites for Oracle Database and Oracle Enterprise Manager, as well as meeting the system configuration prerequisites, such as creating an oracle user and the oinstall and dba groups, configuring the sysctl.conf settings, system startup parameters, user limits, and driver parameters. After the installation of the oracle-rdbms-server-*-preinstall  RPM, you can confidently start the Oracle Database and Oracle Enterprise Manager product installer. The oracle-rdbms-server-*-preinstall  RPMs are available at the Oracle Unbreakable Linux Network, on the Oracle Linux media, and from the Oracle public yum repository.
 
Note: A prerequisite for the oracle-rdbms-server-*-preinstall  RPMs is the Unbreakable Enterprise Kernel (UEK). 

To install the oracle-rdbms-server preinstall RPM from the Oracle public yum repository, as root type the following commands:
 
Install the oracle-rdbms-server-12cR1-preinstall package as the root user:
# yum install oracle-rdbms-server-12cR1-preinstall
 
Install the oracle-rdbms-server-11gR2-preinstall package as the root user:
# yum install oracle-rdbms-server-11gR2-preinstall
 
By default the public-yum-ol6.repo file only has the ol6_latest RPM channel enabled. The Oracle public yum server latest RPM channel include the base OS version installation RPM packages along with the latest software patches, updates and fixes. Patch jobs using the latest RPM channel update hosts to their respected latest version update with the latest software patches, updates and fixes. A patch job executed on a Oracle Linux 6U1 host would update the host from 6u1 to 6U7 with the latest latest software patches, updates and fixes. To keep a host at its respected update level, a valid CSI and the Unbreakable Linux Network is required. With the Unbreakable Linux Network, it is possible to register a host the el*/ol*_base channel along with the el*/ol*_patch RPM channel. When hosts are patched using the el*/ol*_base and el*/ol*_patch RPM channels, the hosts are patched with the latest software patches, updates and fixes from their respected update channel, i.e. 6, 6U1, 6U2 and 6U3, etc...
 
Tip: Once the oracle-rdbms-server preinstall is installed, edit the public-yum-ol6.repo file and disable the el6_latest RPM channel by changing enabled=1 to enabled=0.
 
The next example shows the el6_latest entry from the public-yum-el6.repo file with the enabled=1 flag, i.e. the el6_latest RPM repository is enabled.
[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
 
The next example shows the el6_latest entry from the public-yum-el6.repo file with the enabled=0 flag, i.e. the el6_latest RPM repository is disabled.
[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
 
A best practice after the oracle-rdbms-server-*-preinstall RPM installation is to set the password for the oracle user that is created during the install. As root, type the following:
$ passwd oracle
Changing password for user oracle.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
$

Download PDF Now!