Installation of Oracle AI Database Enterprise Edition

Phase 1: VirtualBox 7.2.20 Machine Setup

1. Download Oracle VirtualBox-7.2.20-175154-Win and Linux ISO image. 

2. Install Oracle VirtualBox-7.2.20

2. Open Virtual Box -> Machine -> New 

VM Name: OradbVM001

ISO Image: select downloaded image

Select: Memory Size, No. of CPUs, Disk Size 

VM Setting -> Network -> Adapter1 (Bridge) -> Adapter2 (NAT) 


Phase 2: Installing Oracle Linux 10 U2 (Guest OS)

Start the VM -> Choose Install Oracle Linux 10 -> Installation Destination (Storage Partitioning)

Choose Custom/Advanced LVM partitioning.

/boot: 1 GB, ext4

swap: 8 GB 

/ root partition: 40 GB, xfs

/u01: 100GB, xfs

Create your root password -> create a basic user account -> Begin Installation -> Complete


Phase 3: Preparing the Operating System

1. Update Host Table (/etc/hosts) with hostname 

2. Execute Pre-Installation Routine

dnf update -y

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

3. Set Oracle password 

passwd oracle 

4. Create ORACLE_HOME directory 

mkdir -p /u01/app/oracle/product/26ai/dbhome_1 

chown -R oracle:oinstall /u01 

chmod -R 775 /u01

5. Add port 1521 in firewall 

firewall-cmd --permanent --add-port=1521/tcp 

firewall-cmd --reload


Phase 4: Installing the Database Software & Instance Creation

1. Unzip oracle home file on ORACLE_HOME directory as "oracle" user

unzip LINUX.X64_2326100_db_home.zip -d /u01/app/oracle/product/26ai/dbhome_1

2. Install the software 

Setup software only -> Single instance database -> Oracle base (/u01/app/oracle) -> Inventory directory (/u01/app/oraInventory) -> oraInventory Group name (oinstall) -> select group -> install -> run orainstRoot.sh and root.sh as root user 

3. Install database 

cd $ORACLE_HOME/bin 

./dbca -> create a database -> global db name (myproddb) -> pdb name (orapdb1) -> create database 

##Set below parameter in oracle .bashrc profile 

export ORACLE_HOME=/opt/oracle/product/26c/dbhome_1 export ORACLE_SID=ORCLCDB export PATH=$ORACLE_HOME/bin:$PATH


sqlplus / as sysdba

SQL> show pdbs;

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED

---------- ------------------------------ ---------- ----------

         2 PDB$SEED                       READ ONLY  NO

         3 ORAPDB1                        READ WRITE NO

SQL> alter session set container=orapdb1;

Session altered.

SQL> show pdbs;

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED

---------- ------------------------------ ---------- ----------

         3 ORAPDB1                        READ WRITE NO

Comments

Popular posts from this blog

Database Network : Configuration Parameters

Undo Segments : Drop Problematic Undo Segments