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

  1. Log in as the root user.
  2. Install the Oracle AI Database Preinstallation RPM.

    Oracle Linux 8, 9, and 10

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

    Red Hat Enterprise Linux 8

    1. Go to the Oracle yum site:

      https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/

    2. Download the latest 26ai Oracle AI Database Preinstallation RPM. For example, oracle-ai-database-preinstall-26ai-1.0-1.el8.x86_64.rpm
    3. 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

    1. Go to the Oracle yum site:

      https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/

    2. Download the latest 26ai Oracle AI Database Preinstallation RPM. For example, oracle-ai-database-preinstall-26ai-1.0-1.el9.x86_64.rpm
    3. 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

    1. Go to the Oracle yum site:

      https://yum.oracle.com/repo/OracleLinux/OL10/appstream/x86_64/

    2. Download the latest 26ai Oracle AI Database Preinstallation RPM. For example, oracle-ai-database-preinstall-26ai-1.0-1.el10.x86_64.rpm
    3. Install the latest Preinstallation RPM. For example:

      dnf -y install oracle-ai-database-preinstall-26ai-1.0-1.el10.x86_64.rpm

      Note:

      • 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 -y option if you want dnf to skip the package confirmation prompt.
      • See About DNF for more information about the dnf command.
  3. Access the Oracle AI Database Free software download page:

    https://www.oracle.com/database/technologies/free-downloads.html

  4. Download the oracle-ai-database-free-26ai-23.26.2-1.el8.x86_64.rpm or oracle-ai-database-free-26ai-23.26.2-1.el9.x86_64.rpm or oracle-ai-database-free-26ai-23.26.2-1.el10.x86_64.rpm RPM file required for performing an RPM-based installation to a directory of your choice.
  5. 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.rpm

    For Oracle Linux 9 and Red Hat Enterprise Linux 9

    dnf -y install oracle-ai-database-free-26ai-23.26.2-1.el9.x86_64.rpm

    For 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)

  1. Log in as the root user.
  2. Install the Oracle AI Database Preinstallation RPM.

    Oracle Linux 8 and 9

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

    Note:

    • 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 -y option if you want dnf to skip the package confirmation prompt.
    • See About DNF for more information about the dnf command.
  3. Access the Oracle AI Database Free software download page:

    https://www.oracle.com/database/technologies/free-downloads.html

  4. Download the oracle-ai-database-free-26ai-23.26.2-1.el8.aarch64.rpm or oracle-ai-database-free-26ai-23.26.2-1.el9.aarch64.rpm RPM file required for performing an RPM-based installation to a directory of your choice.
  5. Install the database software.

    For Oracle Linux 8

    dnf -y install oracle-database-free-26ai-23.26.2-1.el8.aarch64.rpm

    For 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:

  1. Log in as root using sudo.

    sudo -s
  2. Run the service configuration script:

    /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].

    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 LocationPurpose
/opt/oracleOracle base. This is the root of the Oracle AI Database Free directory tree.
/opt/oracle/product/26ai/dbhomeFreeOracle 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/FREEDatabase files.
/opt/oracle/diag subdirectoriesDiagnostic logs. The database alert log is /opt/oracle/diag/rdbms/free/FREE/trace/alert_FREE.log
/opt/oracle/cfgtoollogs/dbca/FREEDatabase creation logs. The FREE.log file contains the results of the database creation script execution.
/etc/sysconfig/oracle-free-26ai.confConfiguration default parameters.
/etc/init.d/oracle-free-26aiConfiguration 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.