Installing Oracle AI Database Free Using RPM Packages
Perform the following steps to install and configure Oracle AI Database Free using RPM packages.
Before you install Oracle AI Database 26ai Free, uninstall any existing Oracle Database XE or Oracle Database Free or database with the SID XE or FREE from the target system. See Deinstalling Oracle AI Database Free.
Oracle AI Database Free installation uses approximately 9 GB disk space under /opt. If this disk partition does not have the required disk space available, you must add space or mount an alternative partition as /opt/oracle. This disk partition is defined as Oracle base where the software and database will reside.
Note:
The Oracle AI Database Free installation does not support symbolic links (symlinks) for /opt/oracle.
Installing Oracle AI Database Free RPM for Linux x86-64
- Log in as the
rootuser. Install the Oracle AI Database Preinstallation RPM.
Oracle Linux 8, 9, and 10
dnf -y install oracle-ai-database-preinstall-26aiRed Hat Enterprise Linux 8
- Go to the Oracle
yumsite:https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/
- Download the latest 26ai Oracle AI Database Preinstallation RPM. For example,
oracle-ai-database-preinstall-26ai-1.0-1.el8.x86_64.rpm Install the latest Preinstallation RPM. For example:
dnf -y install oracle-ai-database-preinstall-26ai-1.0-1.el8.x86_64.rpm
Red Hat Enterprise Linux 9
- Go to the Oracle
yumsite:https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/
- Download the latest 26ai Oracle AI Database Preinstallation RPM. For example,
oracle-ai-database-preinstall-26ai-1.0-1.el9.x86_64.rpm Install the latest Preinstallation RPM. For example:
dnf -y install oracle-ai-database-preinstall-26ai-1.0-1.el9.x86_64.rpm
Red Hat Enterprise Linux 10
- Go to the Oracle
yumsite:https://yum.oracle.com/repo/OracleLinux/OL10/appstream/x86_64/
- Download the latest 26ai Oracle AI Database Preinstallation RPM. For example,
oracle-ai-database-preinstall-26ai-1.0-1.el10.x86_64.rpm Install the latest Preinstallation RPM. For example:
dnf -y install oracle-ai-database-preinstall-26ai-1.0-1.el10.x86_64.rpmNote:
- The Oracle AI Database Preinstallation RPM automatically creates the Oracle installation owner and groups. It also sets up other kernel configuration settings as required for Oracle AI Database installations. If you plan to use job-role separation, then create the extended set of database users and groups depending on your requirements.
- Review the RPM log files to determine the system configuration changes. For example, review
/var/log/oracle-ai-database-preinstall-26ai/results/orakernel.log. - Use the
-yoption if you wantdnfto skip the package confirmation prompt. - See About DNF for more information about the
dnfcommand.
- Go to the Oracle
- Access the Oracle AI Database Free software download page:
https://www.oracle.com/database/technologies/free-downloads.html
- Download the
oracle-ai-database-free-26ai-23.26.2-1.el8.x86_64.rpmororacle-ai-database-free-26ai-23.26.2-1.el9.x86_64.rpmororacle-ai-database-free-26ai-23.26.2-1.el10.x86_64.rpmRPM file required for performing an RPM-based installation to a directory of your choice. Install the database software.
For Oracle Linux 8 and Red Hat Enterprise Linux 8
dnf -y install oracle-ai-database-free-26ai-23.26.2-1.el8.x86_64.rpmFor Oracle Linux 9 and Red Hat Enterprise Linux 9
dnf -y install oracle-ai-database-free-26ai-23.26.2-1.el9.x86_64.rpmFor Oracle Linux 10 and Red Hat Enterprise Linux 10
dnf -y install oracle-ai-database-free-26ai-23.26.2-1.el10.x86_64.rpm
The installation of the Oracle AI Database software is now complete.
Installing Oracle AI Database Free RPM on Linux for Arm (aarch64)
- Log in as the
rootuser. Install the Oracle AI Database Preinstallation RPM.
Oracle Linux 8 and 9
dnf -y install oracle-ai-database-preinstall-26aiNote:
- The Oracle AI Database Preinstallation RPM automatically creates the Oracle installation owner and groups. It also sets up other kernel configuration settings as required for Oracle AI Database installations. If you plan to use job-role separation, then create the extended set of database users and groups depending on your requirements.
- Review the RPM log files to determine the system configuration changes. For example, review
/var/log/oracle-database-preinstall-26ai/results/orakernel.log. - Use the
-yoption if you wantdnfto skip the package confirmation prompt. - See About DNF for more information about the
dnfcommand.
- Access the Oracle AI Database Free software download page:
https://www.oracle.com/database/technologies/free-downloads.html
- Download the
oracle-ai-database-free-26ai-23.26.2-1.el8.aarch64.rpmororacle-ai-database-free-26ai-23.26.2-1.el9.aarch64.rpmRPM file required for performing an RPM-based installation to a directory of your choice. Install the database software.
For Oracle Linux 8
dnf -y install oracle-database-free-26ai-23.26.2-1.el8.aarch64.rpmFor Oracle Linux 9
dnf -y install oracle-database-free-26ai-23.26.2-1.el9.aarch64.rpm
The installation of the Oracle AI Database software is now complete.
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.
The parameters set in this file are explained in detail in the silent mode installation procedure: Performing a Silent Installation.
To create the database with the default settings:
Log in as
rootusingsudo.sudo -sRun the service configuration script:
/etc/init.d/oracle-free-26ai configureAt the command prompt, specify a password for the
SYS,SYSTEM, andPDBADMINadministrative 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].See also
The same password will be used for these accounts. The password should conform to the Oracle recommended standards. See Oracle AI Database Security Guide for more information about guidelines for securing passwords
After the configuration completes, the database and listener are started.
Table: Configuration, Database Files and Logs Location
| File Name and Location | Purpose |
|---|---|
/opt/oracle | Oracle base. This is the root of the Oracle AI Database Free directory tree. |
/opt/oracle/product/26ai/dbhomeFree | Oracle home. This home is where the Oracle AI Database Free is installed. It contains the directories of the Oracle AI Database Free executables and network files. |
/opt/oracle/oradata/FREE | Database files. |
/opt/oracle/diag subdirectories | Diagnostic logs. The database alert log is /opt/oracle/diag/rdbms/free/FREE/trace/alert_FREE.log |
/opt/oracle/cfgtoollogs/dbca/FREE | Database creation logs. The FREE.log file contains the results of the database creation script execution. |
/etc/sysconfig/oracle-free-26ai.conf | Configuration default parameters. |
/etc/init.d/oracle-free-26ai | Configuration and services script. |
Note:
If a host does not have any IP address other than loop back address assigned (typically in a docker or in an another container environment), Oracle Net Configuration Assistant (Oracle NETCA) may fail during the installation with the error No valid IP Address returned for the host hostname in netca trace log. Please assign an IP address and retry the configuration.