Tuesday, 16 March 2021

RPM-Based Oracle Database Installation in 18 c

 

 RPM-Based Oracle Database Installation

Starting with Oracle Database 18c, you can install a single-instance Oracle Database or an Oracle Database Instant Client software using RPM packages.

An RPM-based installation performs preinstallation checks, extracts the database software, reassigns ownership of the extracted software to the preconfigured user and groups, maintains the Oracle inventory, and executes all root operations required to configure the Oracle Database software for a single-instance Oracle Database creation and configuration.

The RPM–based installation process detects when the minimum requirements for an installation are not met and prompts you to finish these minimum preinstallation requirements.

An RPM-based installation performs a software-only Oracle Database installation and creates an Oracle home. After the Oracle home is created, you can then use Oracle Database Configuration Assistant (Oracle DBCA) to create an Oracle Database.

The RPM-based installation process provides you with the option to create a database with the default settings using the /etc/init.d/oracledb_ORCLCDB-18c service configuration script.

 

 

Running RPM Packages to Install Oracle Database

Perform the following steps to install and configure Oracle Database using RPM packages.

Installing Oracle Database RPM using yum

  1. Log in as root.
  2. 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-18c

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

  1. Log in as root.
  2. Download and install the Oracle Preinstallation RPM:
    1. On Oracle Linux

Copy# yum -y install oracle-database-preinstall-18c

    1. On Red Hat Enterprise Linux

c. Copy# curl -o oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm

# yum -y localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm

After successful installation, you can delete the downloaded RPM file:

Copy# rm oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm

  1. Access the software download page for Oracle Database RPM-based installation from Oracle Technology Network:

http://www.oracle.com/technetwork/indexes/downloads/index.html

  1. 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.
  2. Install the database software using the yum localinstall command.

6. Copy# cd /tmp

# yum -y localinstall oracle-database-ee-18c-1.0-1.x86_64.rpm

Where, oracle-database-ee-18c-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:

  1. Log in as root.
  2. To configure a sample Oracle Database instance, run the following service configuration script:

Copy# /etc/init.d/oracledb_ORCLCDB-18c configure

Note:

You can modify the configuration parameters by editing the /etc/sysconfig/oracledb_ORCLCDB-18c.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.

 

No comments:

Post a Comment