Oracle 26ai Installation on Linux [Step-by-step guide to installing Oracle 26ai on Linux]
#oracle #database 26ai #installation #oracledatabasetutorial #oracledatabase #oracles #databaseintegration #databaseadmin #databaselearning
Environment
Server - Oracle Linux 9.6
virtualbox
dnf search oracle|grep -i preinstall
1.
dnf -y install oracle-ai-database-preinstall-26ai
This RPM automatically creates the Oracle installation owner and groups.
It also sets up other kernel configuration settings as required for Oracle AI Database installations.
2.Download rpm - https://www.oracle.com/database/free/...
oracle-ai-database-free-26ai-23.26.0-1.el9.x86_64.rpm
3.Install the database software
dnf -y install oracle-ai-database-free-26ai-23.26.0-1.el9.x86_64.rpm
4.Creating and Configuring an Oracle AI Database
###The configuration script creates a container database (FREE) with one pluggable database (FREEPDB1) and configures the listener at the default port (1521).
###You can modify the configuration parameters by editing the /etc/sysconfig/oracle-free–26ai.conf file.
Log in as root #
/etc/init.d/oracle-free-26ai configure
###At the command prompt, specify a password for the SYS, SYSTEM, and PDBADMIN administrative user accounts.
Oracle recommends that your password should be at least 8 characters in length, contain at least 1 upper case character, 1 lower case character, and 1 digit [0-9].
5. After the configuration completes, the database and listener are started.
The Oracle AI Database Free Oracle home is /opt/oracle/product/26ai/dbhomeFREE
Password123
su - oracle
vi .bash_profile
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 PATH
. .bash_profile
sqlplus / as sysdba
-- Root container
sqlplus sys/Password123@//localhost:1521/free as sysdba
-- Pluggable database
sqlplus sys/Password123@//localhost:1521/freepdb1 as sysdba
==using scripts
export DB_PASSWORD=Password123
(echo "${DB_PASSWORD}"; echo "${DB_PASSWORD}";) | /etc/init.d/oracle-free-23ai configure
systemctl daemon-reload
systemctl enable oracle-free-23ai && systemctl start oracle-free-23ai
--client
sqlplus.exe sys/[email protected]:1521/FREE as sysdba