Table of Contents
In this article, we will learn how to install Oracle Database 23c on Linux by genaiapex. Whether you're an experienced database administrator or a beginner, this step-by-step tutorial will help you set up Oracle Database 23c, ensuring a smooth and efficient installation. We will cover the prerequisites, installation steps, and post-installation configurations to get your database up and running seamlessly on your Linux environment.
Installing Oracle Database 23c involves several steps, including downloading the software, preparing your system, and running the installation process. Here is a step-by-step guide to installing Oracle 23c on a Linux system.
Download the Oracle 23c software
Download the Oracle 23c RPMs from MOS Download Oracle 23c RPMs.Oracle 23c Installation Prerequisites
Before installing Oracle Database 23c, certain preinstallation steps need to be performed. To accomplish this, follow these instructions and paste the provided command in your terminal to execute the preinstallation processConfigure the host file
The server's fully qualified name should be included in the/etc/hosts
file.Ensure that the accurate hostname is set within the /etc/hostname
file.Configure secure Linux to permissive
Configure secure Linux to permissive by editing the/etc/selinux/config
file and ensure the SELINUX flag is set as followsDisable firewall
If you have the Linux firewall enabled, you will need to disable or configure the firewall rules appropriately. To disable the firewall, follow these steps:Install the Oracle 23c Preinstall RPM
The Oracle Database Preinstallation RPMoracle-database-preinstall-23c-1.0-0.5.el8.x86_64.rpm
takes care of creating the Oracle installation owner and groups automatically. It also configures the necessary kernel settings for Oracle Database installations.The Oracle preinstall RPM requires the following packages to be available; otherwise, the installation will fail.
Install the missing packages
The following packages are required for the Oracle 23c pre-installation RPM. To install these packages, you will need to set up a Yum repository.If you haven't set up a Yum repository yet, please refer to the tutorial How to Configure an Offline Yum Repository in RHEL Linux for guidance.
Install the RPM
Install the Oracle 23c database
During an RPM-based installation, various steps are performed. These include preinstallation checks, extraction of the database software, assignment of ownership to the preconfigured users and groups, management of the Oracle inventory, and execution of root operations needed to configure the Oracle Database software for creating and configuring a single-instance Oracle Database. If the minimum requirements for installation are not met, the RPM-based installation process will identify this and prompt you to complete the necessary preinstallation requirements.For the Oracle Database 23c, it typically requires around 9 GB of disk space under the
/opt
directory. If the current disk partition doesn't have sufficient space available, you will need to either add space or mount an alternative partition as /opt/oracle
. This particular disk partition is designated as the Oracle base, where the software and database will be located.Set the user profile
Create an Oracle 23c database
Setup X Display
To set up the X display, please refer to the instructions provided in the How to Setup X Display in Linux tutorialCreate a database
To create an Oracle 23c database, log in as theoracle
user and execute the dbca
command using the command promptChoose the option "Create a database" from the selection menu
Enter the Global database name, Admin password, and Pluggable database name
Click on Next to continue
Configure the listener.ora file
Start the listenerConfigure the tnsnames.ora file
Test the connection to CDB and PDBTo learn about Oracle 23c new features, follow this article Oracle 23c New Features: Redefine Your Business SuccessStay Connected to GenAiApex.com
Post a Comment
0Comments