Oracle 26ai Fastest Deployment Guide: Silent Installation Procedures for Oracle VM

26ai_en

When building a verification environment, the most efficient method is Silent Installation. By loading a pre-prepared response file instead of using a GUI, anyone can instantly create an environment with a configuration that is exactly as intended.

Deployment Environment Information (Simple Configuration for Verification)

The prerequisites and environment information for this deployment are as follows:

ItemSetting Content
Target DBOracle Database 26ai Enterprise Edition (23.x)
Target OSOracle Linux 8 (OL8)
Virtualization SoftwareOracle VM VirtualBox
Network 1Adapter 1: Host-only Adapter (for communication with Host OS)
Network 2Adapter 2: NAT (for Internet/Repository connection)
DB ConfigurationSingle Instance / CDB Configuration (1 x PDB)
Oracle Home/u01/app/oracle/product/23.0.0/dbhome_1

Benefits of Deploying via Silent Installation

  • Consistency of Construction: You can create databases with the same settings every time, eliminating human errors such as missing configurations.
  • Mass Production of Environments: Since there are no screen operations, once the commands are organized, they can be deployed to multiple verification machines.
  • Low Resource Operation: Stable operation is possible on a minimal OS configuration because GUI (X-Window) settings are not required.

1. Network Environment Setup (root)

Recognize and enable the Oracle VM network adapters.

# Add and enable the host-only adapter (enp0s8)
nmcli connection add type ethernet ifname enp0s8 con-name enp0s8 autoconnect yes
nmcli connection up enp0s8

# Enable the NAT adapter (enp0s3)
nmcli connection up enp0s3

# Update package information
dnf check-update

2. OS Pre-configuration and Package Installation (root)

Automatically perform user creation and install dependency packages essential for the 26ai installation.

# Install the developer repository
dnf install -y oraclelinux-developer-release-el8

# Install the pre-installation package for 26ai
# Execution automatically applies oracle user creation, kernel parameter settings, etc.
dnf install -y https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/getPackage/oracle-ai-database-preinstall-26ai-1.0-1.el8.x86_64.rpm

# Install additional libraries
dnf install -y libnsl

# Set the password for the oracle user (for verification: oracle)
passwd oracle

# Create directories and change permissions
mkdir -p /u01/app/oracle/product/23.0.0/dbhome_1
chown -R oracle:oinstall /u01
chmod 775 /u01

3. Deployment of Installation Materials and Environment Settings (oracle)

Switch to the oracle user, configure environment variables, and extract the ZIP file.

su - oracle

# Configure environment variables (append to ~/.bash_profile)
cat << EOF >> ~/.bash_profile
export ORACLE_SID=orcl
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/23.0.0/dbhome_1
export PATH=\$ORACLE_HOME/bin:\$ORACLE_HOME/OPatch:\$PATH
EOF

source ~/.bash_profile

# Extract the software materials
unzip -q V1054592-01.zip -d $ORACLE_HOME

4. Response File Creation Process (oracle)

Create the necessary configuration files for the installation from templates.

Note: Please change specific parameter settings (IP, paths, etc.) within the files to match your own environment.

① Preparation of the file for runInstaller

cp $ORACLE_HOME/install/response/db_install.rsp /home/oracle/runInstaller.rsp
# Subsequently, perform editing tasks (refer to other articles)

② Preparation of the file for DBCA

cp $ORACLE_HOME/assistants/dbca/templates/dbca.rsp.tmpl /home/oracle/dbca.rsp
# Subsequently, perform editing tasks (refer to other articles)

5. Execution of Software Installation (oracle)

Start the installation of the binaries.

cd $ORACLE_HOME
./runInstaller -silent -responseFile /home/oracle/runInstaller.rsp
[oracle@26ai-single-s dbhome_1]$ ./runInstaller -silent -responseFile /home/oracle/runInstaller.rsp
Launching Oracle AI Database Setup Wizard...

The response file for this session can be found at:
/u01/app/oracle/product/23.0.0/dbhome_1/install/response/db_2026-02-28_00-44-09AM.rsp

You can find the log of this install session at:
/tmp/InstallActions2026-02-28_00-44-09AM/installActions2026-02-28_00-44-09AM.log

As a root user, run the following script(s):
1. /u01/app/oraInventory/orainstRoot.sh
2. /u01/app/oracle/product/23.0.0/dbhome_1/root.sh

Run /u01/app/oraInventory/orainstRoot.sh on the following nodes:
[26ai-single-s]
Run /u01/app/oracle/product/23.0.0/dbhome_1/root.sh on the following nodes:
[26ai-single-s]


Successfully Setup Software.
Moved the install session logs to:
/u01/app/oraInventory/logs/InstallActions2026-02-28_00-44-09AM
[oracle@26ai-single-s dbhome_1]$

6. Execution of root Scripts (root)

When prompted that the installation is complete, execute the privileged scripts in order.

su
# After entering the root password, execute the following:
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/23.0.0/dbhome_1/root.sh
exit
[oracle@26ai-single-s dbhome_1]$ su
Password:
[root@26ai-single-s dbhome_1]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@26ai-single-s dbhome_1]# /u01/app/oracle/product/23.0.0/dbhome_1/root.sh
Check /u01/app/oracle/product/23.0.0/dbhome_1/install/root_26ai-single-s_2026-02-28_00-58-05-874081145.log for the output of root script
[root@26ai-single-s dbhome_1]# exit
exit
[oracle@26ai-single-s dbhome_1]$

7. Database Creation: DBCA (oracle)

Finally, construct the database itself. You will be prompted to enter passwords for SYS and other accounts during execution.

Bash

dbca -silent -createDatabase -responseFile /home/oracle/dbca.rsp
[oracle@26ai-single-s dbhome_1]$ dbca -silent -createDatabase -responseFile /home/oracle/dbca.rsp
Enter SYS user password:

Enter SYSTEM user password:

Enter PDBADMIN User Password:

[WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
[WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
[WARNING] [DBT-06208] The 'PDBADMIN' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
32% complete
36% complete
39% complete
42% complete
46% complete
Completing Database Creation
51% complete
53% complete
54% complete
Creating Pluggable Databases
58% complete
77% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
/u01/app/oracle/cfgtoollogs/dbca/orcl.
Database Information:
Global Database Name:orcl
System Identifier(SID):orcl
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/orcl/orcl.log" for further details.
[oracle@26ai-single-s dbhome_1]$

8. Confirmation of Completion

Completion is confirmed if you can connect via SQL*Plus and verify the status of the instance and PDBs.

Bash

sqlplus / as sysdba

# Confirm version and PDB status
SELECT banner FROM v$version;
show pdbs
[oracle@26ai-single-s dbhome_1]$ sqlplus / as sysdba

SQL*Plus: Release 23.26.1.0.0 - Production on Sat Feb 28 20:20:04 2026
Version 23.26.1.0.0

Copyright (c) 1982, 2025, Oracle. All rights reserved.


Connected to:
Oracle AI Database 26ai Enterprise Edition Release 23.26.1.0.0 - Production
Version 23.26.1.0.0

SQL> SELECT banner FROM v$version;

BANNER
--------------------------------------------------------------------------------
Oracle AI Database 26ai Enterprise Edition Release 23.26.1.0.0 - Production

SQL> show pdbs

CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB01 READ WRITE NO

Summary

  • Organizing Environment Information: Understanding paths and network configurations in advance is the shortcut to success.
  • Pre-installation Package: Complex OS-side settings can be completed with a single command.
  • Preparation of Response Files: Once this step is taken, you can obtain a 26ai environment simply by copying and pasting commands.

Would you like me to help you verify the network connectivity between your host OS and the new 26ai instance?

This article explains procedures targeting Oracle Database 26ai (screens and default values may differ for other versions).

[reference]
Oracle AI Database Database Installation Guide, 26ai for Linux

コメント

Copied title and URL