top of page
Oracle 23ai Installation on Linux
Step-by-step guide to installing Oracle 23c AI on Linux.
In this article, we will look at installation and configuration of oracle 23ai on Oracle Linux 8. The steps are same for Oracle Linux 9. We will be using Oracle Database 23ai RPM for this activity
Currently Oracle 23ai is only available as RPM package for installation
Oracle 23ai Pre-requisites
Install the 23ai preinstall package using dnf utility. This package will perform all the pre-requisites on your Linux server
dnf install -y oracle-database-preinstall-23aiDownload the Oracle 23ai rpm package using wget
wget https://download.oracle.com/otn-pub/otn_software/db-free/oracle-database-free-23ai-1.0-1.el8.x86_64.rpmInstall Oracle 23ai
As root user, install the 23ai rpm package using the dnf utility
dnf install -y oracle-database-free-23ai-1.0-1.el8.x86_64.rpmConfigure FREE database with FREE PDB and creating sys and system user password
/etc/init.d/oracle-free-23ai configureYou can set your own password for the SYS and the SYSTEM user when prompted.
Switch to Oracle user and setup the bash profile
su - oracle
vi .bash_profileAdd ORACLE_SID, ORACLE_BASE, ORACLE_HOME and update the PATH variable
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
export ORACLE_SID=FREE
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/23ai/dbhomeFree
PATH=$PATH:$HOME/.local/bin:$ORACLE_HOME/bin
export PATHExport bash profile
. .bash_profileConnect to sqlplus and start the Oracle 23ai database
sqlplus / as sysdba
SQL> startup
SQL> show pdbs;Once Oracle 23ai database is created, it’s crucial to monitor database performance and availability. Learn how to set up OEM 13c to manage your Oracle 23ai database.
bottom of page

.png)