Before 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
Install
Oracle Database 18c Software
- Log in as
root
. - Download and install the Oracle Preinstallation RPM:
# yum install -y oracle-database-preinstall-18c
view-oracle-preinstallation-rpm-output - After successful installation, you can delete the downloaded
RPM file.
# rm oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
- Access the software download page for Oracle Database RPM-based installation from Oracle Technology Network.
- 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. - 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-outputThe installation of Oracle Database software is now complete.