Oracle by Example branding Run RPM Packages to Install Oracle Database

section 0Before You Begin

This 15-minute tutorial shows you how to Install Oracle Database 18c software using RPM packages.

Background

Ensure that your system meets the necessary hardware and software requirements for Oracle Database 18c on Oracle Linux.

Install Oracle Database 18c 64-bit on Oracle Linux 7 or Oracle Linux 6 64-bit.

Note: The ORACLE_HOME for the software installation is /opt/oracle/product/18c/dbhome_1.

What Do You Need?

  • Oracle Linux 7 or Oracle Linux 6 64-bit on the target server.
  • A minimum of 2 GB of swap space.
  • If you are performing the installation on your laptop, then ensure that the /etc/hosts file contains a fully qualified name for the target server.
  • Oracle Database RPM packages software location: Oracle Technology Network

section 1Install Oracle Database 18c Software

  1. Log in as root.
  2. Download and install the Oracle Preinstallation RPM:
    # yum install -y oracle-database-preinstall-18c
    view-oracle-preinstallation-rpm-output
  3. After successful installation, you can delete the downloaded RPM file.
    # rm oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
  4. Access the software download page for Oracle Database RPM-based installation from Oracle Technology Network.
  5. Download the .rpm file required for performing an RPM-based installation to a directory of your choice.

    For example, download the oracle-database-ee-18c-1.0-1.x86_64.rpm file to the /tmp directory.

  6. Install the database software using the yum localinstall command.
    # cd /tmp
    # yum -y localinstall oracle-database-ee-18c-1.0-1.x86_64.rpm
    view-oracle-database-rpm-installation-output

    The installation of Oracle Database software is now complete.


next step Next Tutorial

Create a Sample Database


more informationWant to Learn More?