361 views
asked in Oracle by
How to install Oracle 23ai in Oracle Linux 9

1 Answer

answered by

inchirags@gmail.com   Oracle DBA Tutorial         https://www.chirags.in

*****************************************************************************************

* How to install Oracle 23ai in Oracle Linux 9 *

*****************************************************************************************

Installing Oracle 23c AI on Oracle Linux: A Step-by-Step Guide

This guide outlines the process for installing and configuring Oracle Database 23ai on Oracle Linux 8. The same steps are applicable to Oracle Linux 9. For this installation, we will use the Oracle Database 23ai RPM package.

Prerequisites for Oracle 23ai

Before proceeding with the installation, ensure that the required prerequisites are met. Oracle provides a pre-installation package to simplify this process.

Step 1: Install the Pre-Install Package

Run the following command to install the pre-install package using dnf:

dnf install -y oracle-database-preinstall-23ai

Step 2: Download the Oracle 23ai RPM Package

Use wget to download the RPM package directly from Oracle's official repository:

wget https://download.oracle.com/otn-pub/otn_software/db-free/oracle-database-free-23ai-1.0-1.el9.x86_64.rpm

Installing Oracle 23ai

Log in as the root user and execute the following command to install the downloaded RPM package:

dnf install -y oracle-database-free-23ai-1.0-1.el9.x86_64.rpm

After installation, configure the database instance:

/etc/init.d/oracle-free-23ai configure

When prompted, set a password for the SYS and SYSTEM users.

Setting Up the Oracle Environment

Switch to the oracle user:

su - oracle

Open the .bash_profile file to define environment variables:

vi .bash_profile

Add the following lines:

# .bash_profile
# Load user-specific environment
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi
# Oracle environment variables
export ORACLE_SID=FREE
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/23ai/dbhomeFree
export PATH=$PATH:$HOME/.local/bin:$ORACLE_HOME/bin

Save the file and apply the changes:

. .bash_profile

Starting and Connecting to the Oracle 23ai Database

Launch SQL*Plus and start the Oracle database:

sqlplus / as sysdba

Inside SQL*Plus, start the database and verify the Pluggable Databases (PDBs):

SQL> startup;

SQL> show pdbs;

Your Oracle 23ai installation is now complete and ready for use!

For any doubts and query, please write on YouTube video comments section.

Note : Flow the Process shown in video.

Please, Subscribe and like for more videos:

https://www.youtube.com/@chiragstutorial

Don't forget to, Follow, Like,  Share &, Comment

Thanks & Regards,

Chitt Ranjan Mahto "Chirag"

_________________________________________________________________________________________

Note: All scripts used in this demo will be available in our website.

Link will be available in description.

Most popular tags

laravel postgresql laravel-10 replication ha postgresql mongodb laravel-11 mongodb database mongodb tutorial ubuntu 24.04 lts streaming-replication mysql database laravel postgresql backup laravel login register logout database mysql php laravel 11 - login with otp valid for 10 minutes. user and admin registration user and admin login multiauth technlogy asp.net asp.net c# mysql master slave replication centos linux laravel sql server schedule backup autobackup postgresql django python haproxy load balancer install self sign ssl laravel 11 gaurds zabbix 7 how to install graylog on ubuntu 24.04 lts | step-by-step asp.net core mvc .net mvc network upload c# ssl integration sql server on ubuntu 22.04 lts mssql server ms sql server sql server user access in postgres mysql password change cent os linux configure replica laravel 11 socialite login with google account google login kubernetes (k8s) install nginx load balancer install install and configure .net 8.0 in ubuntu 24.04 lts php in iis php with iis php tutorial chirags php tutorials chirags php tutorial chirags tutorial laravel 11 guards mongodb sharding metabase business analytics metabase postgresql 16 to postgresql 17 postgresql migration letsencrypt mongodb crud rocky linux laravel custom captcha laravel 11 captcha laravel captcha mongo dll php.ini debian 12 nginx apache nextcloud gitea in ubuntu git gitea npm error node js mysql ndb cluster mysql cluster ssl oracle login register logout in python debian windows shell batch file bat file time stamp date time shopping cart in laravel centos rhel swap memeory rhel 5.5
...