Running RPM Packages to Install Oracle Database
Perform the following steps to install and configure Oracle Database using RPM packages.
Installing Oracle Database RPM with ULN Support
-
Log in as
root
. -
If you are using Oracle Linux and have subscribed to Unbreakable Linux Network (ULN), you can install Oracle Database via a single
yum
command.# yum -y install oracle-database-ee-19c
This command downloads and installs the Oracle Preinstallation RPM and the Oracle Database RPM packages.
The installation of Oracle Database software is now complete, continue to the "Creating and Configuring an Oracle Database" section.
Installing Oracle Database RPM Manually
-
Log in as
root
. -
Download and install the Oracle Preinstallation RPM:
-
On Oracle Linux
# yum -y install oracle-database-preinstall-19c
-
On Red Hat Enterprise Linux
# curl -o oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm # yum -y localinstall oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
After successful installation, you can delete the downloaded RPM file:
# rm oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
-
-
Access the software download page for Oracle Database RPM-based installation from:
-
Oracle Technology Network
http://www.oracle.com/technetwork/indexes/downloads/index.html -
Unbreakable Linux Network (ULN)
https://linux.oracle.com/
-
-
Download the
.rpm
file required for performing an RPM-based installation to a directory of your choice. For example, download theoracle-database-ee-19c-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-19c-1.0-1.x86_64.rpm
Where,
oracle-database-ee-19c-1.0-1.x86_64.rpm
is the fully qualified name of the Oracle Database RPM.
The installation of Oracle Database software is now complete.
Creating and Configuring an Oracle Database
To create a sample database with the default settings, perform the following steps:
-
Log in as
root.
-
To configure a sample Oracle Database instance, run the following service configuration script:
# /etc/init.d/oracledb_ORCLCDB-19c configure
Note:
You can modify the configuration parameters by editing the/etc/sysconfig/oracledb_ORCLCDB-19c.conf
file.This script creates a container database (
ORCLCDB
) with one pluggable database (ORCLPDB1
) and configures the listener at the default port (1521).Review the status information that is displayed on your screen.