In this article, we are going to learn Oracle 26 AI Installation on the Linux platform step by step.
System Requirements for Oracle 26 AI Installation
- Supported OS versions (Oracle Linux / RHEL)
- Minimum 6 GB RAM
- Disk Space Minimum 100 GB
Software Required
- Oracle Enterprise Linux 8/9/10 - in our case, we are using 10.1
- Oracle Database 26 AI - Download from the official website
Download Links: Oracle Enterprise Linux & Oracle Database 26 AI
Automatic Setup
To setup the environment, run the command below, but for OEL 10.1, the automatic setup will not work.
#dnf install -y oracle-ai-database-preinstall-26aiError in OEL 10.1

Manual Setup for Oracle 26 AI Database
Follow the steps below to install Oracle 26 AI Database step by step on OEL 10.1
Step 1. Edit “/etc/sysctl.comf” and add the following lines.
#vi /etc/sysctl.conf
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500To save the changes, press Esc then shift+:wq
To apply the parameter changes, run the following command.
#/sbin/sysctl -pStep 2. Edit “/etc/security/limits.d/oracle-ai-database-preinstall-26ai.conf” file
Add the following lines to this file:
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
oracle hard memlock 134217728
oracle soft memlock 134217728
oracle soft data unlimited
oracle hard data unlimitedStep 3. Install the required RPM’s
Install the RPMs listed below. If some don't install, don't worry, that won't prevent the installation.
dnf install -y bc
dnf install -y binutils
dnf install -y compat-openssl10
dnf install -y elfutils-libelf
dnf install -y glibc
dnf install -y glibc-devel
dnf install -y ksh
dnf install -y libaio
dnf install -y libXrender
dnf install -y libX11
dnf install -y libXau
dnf install -y libXi
dnf install -y libXtst
dnf install -y libgcc
dnf install -y libnsl
dnf install -y libstdc++
dnf install -y libxcb
dnf install -y libibverbs
dnf install -y libasan
dnf install -y liblsan
dnf install -y make
dnf install -y policycoreutils
dnf install -y policycoreutils-python-utils
dnf install -y smartmontools
dnf install -y sysstat
dnf install -y ipmiutil
dnf install -y libnsl2
dnf install -y libnsl2-devel
dnf install -y libvirt-libs
dnf install -y net-tools
dnf install -y nfs-utils
dnf install -y unixODBCStep 4. Create an Oracle user and Groups
Using the command below, you can add the required groups and the user oracle.
groupadd -g 54321 oinstall
groupadd -g 54322 dba
groupadd -g 54323 oper
useradd -u 54321 -g oinstall -G dba,oper oracleSet the password for the Oracle user:
#passwd oracleStep 5. Setup SELINUX=permissive
Edit the "/etc/selinux/config" file and set the SELINUX=permissive
#vi /etc/selinux/config
SELINUX=permissiveStep 6. Stop and disable the firewall
Use the command below to disable the firewall.
#systemctl status firewalld
#systemctl stop firewalld
#systemctl disable firewalldStep 7. Create the required directories and permissions
to install Oracle Database 26 ai. We need a few directories, create them using the following commands.
mkdir -p /u01/app/oracle/product/26.0.0/dbhome_1
mkdir -p /u01/oradata
--Permissions
chown -R oracle:oinstall /u01
chmod -R 775 /u01Step 8. Unzip the Oracle 26 AI software
Now unzip the Oracle Database 26 AI software inside the "/u01/app/oracle/product/26.0.0/dbhome_1" using the below command.

Check directory permissions: if showing root, then run the commands below again:
#chown -R oracle:oinstall /u01
#chmod -R 775 /u01
Reboot the machine and login as an Oracle user, and then follow the next steps
Step 9. Add environment in .bash_profile
export ORACLE_HOSTNAME=localhost.localdomain
export ORACLE_UNQNAME=shri
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/26.0.0/dbhome_1
export ORA_INVENTORY=/u01/app/oraInventory
export ORACLE_SID=shri
export PDB_NAME=shripdb1
export DATA_DIR=/u01/oradata
export PATH=/usr/sbin:/usr/local/bin:\$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlibStep 10. Execute the runinstaller
Now it's time to run the installer:
$export DISPLAY=:0.0
$cd /u01/app/oracle/product/26.0.0/dbhome_1
$./runInstallerYou can safely ignore this RPM.

Step 11. Create a database in Oracle 26 AI
After installation, you can create a database using DBCA. Till Oracle 23c database, we have an option to create a database without a PDB, but from Oracle 26 AI onwards, PDB creation is mandatory. Watch the video below for more details.