Use this procedure to install Oracle Linux and configure your Linux installation for security errata or bug fix updates using the Oracle Linux yum server.
Obtain Oracle Linux DVDs from Oracle Store, or download Oracle Linux from the Oracle Software Delivery Cloud:
Oracle Software Delivery Cloud website:
Install Oracle Linux from the ISO or DVD image.
Log in as
yumrepository file for your Linux distribution from the following URL using the instructions you can find on the Oracle Linux yum server website:
# cd /etc/yum.repos.d/ wget http://yum.oracle.com/public-yum-ol6.repo
Ensure that the
public_olrelease_latestfile (for example,
public_ol6_latestfor Oracle Linux 6) is enabled, because this is the repository that contains the Oracle Preinstallation RPM.
(Optional) Edit the
repofile to enable other repositories. For example, enable the repository
enabled=1in the file with a text editor.
Run the command
yum repolistto verify the registered channels.
Start a terminal session and enter the following command as
root, depending on your platform. For example:
Oracle Linux 6 and Oracle Linux 7:
# yum install oracle-database-server-12cR2-preinstall
-yoption if you want
yumto skip the package confirmation prompt.
You should see output indicating that you have subscribed to the Oracle Linux channel, and that packages are being installed.
Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups and sets up other kernel configuration settings as required for Oracle installations. If you plan to use job-role separation, then create the extended set of database users and groups depending on your requirements.
After installation, run the command
yum updateas needed to obtain the most current security errata and bug fixes for your Oracle Linux installation.