Installing Oracle AI Database Using RPM Packages
Learn how to leverage and take advantage of an RPM framework to easily deploy Oracle AI Database.
About RPM-Based Oracle AI Database Installation
Starting with Oracle Database 18c, you can install a single-instance Oracle Database or an Oracle Database Instant Client software using RPM packages.
An RPM-based installation performs preinstallation checks, extracts the database software, reassigns ownership of the extracted software to the preconfigured user and groups, maintains the Oracle inventory, and runs all root operations required to configure the Oracle AI Database software for a single-instance Oracle AI Database creation and configuration.
The RPM-based installation process detects when the minimum requirements for an installation are not met and prompts you to finish these minimum preinstallation requirements.
An RPM-based installation performs a software-only Oracle AI Database installation and creates an Oracle home. After the Oracle home is created, you can then use Oracle Database Configuration Assistant (Oracle DBCA) to create an Oracle AI Database.
The RPM-based installation process provides you with the option to create a database with the default settings using the /etc/init.d/oracledb_ORCLCDB-26ai configure service configuration script.
Restrictions and Guidelines for RPM-Based Installations
Review these guidelines before you start your RPM-based Oracle AI Database installation.
- Patching Oracle AI Database software using RPMs is not supported. Please follow the regular patching process to apply Oracle AI Database patches.
- An RPM-based Oracle AI Database installation is not available for Standard Edition 2.
- RPM-based database upgrades using
rpm -Uvhis not supported. For Oracle AI Database upgrades, follow the regular upgrade process. - An RPM-based installation supports the installation of multiple Oracle AI Database software versions into different Oracle homes on the same machine.
RPM Packages Naming Convention
The RPM packages naming convention includes information such as the version, release, and architecture.
The naming convention for RPM packages is name-version-release.architecture.operating system.rpm
The following table describes the variables used in the RPM oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpm
Table: RPM Packages Naming Convention Example
| Variable | Example | Description |
|---|---|---|
name | oracle-ai-database-ee-26ai | The name of the Oracle AI Database edition and release. |
version | 1.0 | The version number of the RPM package. |
release | 1 | The release number of the RPM package. |
operating system | el9 | The Oracle Linux operating system version of the RPM package. |
architecture | x86_64 | The architecture of the RPM package. |
Related Topics
Running RPM Packages to Install Oracle AI Database
Perform the following steps to install and configure Oracle AI Database using RPM packages.
Installing Oracle AI Database RPM using yum
- Log in as
root. - If you are using Oracle Linux and have subscribed to Unbreakable Linux Network (ULN), you can install Oracle AI Database using a single
yumcommand.# yum -y install oracle-ai-database-ee-26aiThis command downloads and installs the Oracle AI Database Preinstallation RPM and the Oracle AI Database RPM packages.
The installation of Oracle AI Database software is now complete, continue to the "Creating and Configuring an Oracle AI Database" section.
Installing Oracle AI Database RPM Manually
- Log in as
root. Download and install the Oracle AI Database Preinstallation RPM:
On Oracle Linux 8 and later
# dnf -y install oracle-ai-database-preinstall-26aiOn Red Hat Enterprise Linux 8
# curl -o oracle-ai-database-preinstall-26ai-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/getPackage/oracle-ai-database-preinstall-26ai-1.0-2.el8.x86_64.rpm # yum -y localinstall oracle-ai-database-preinstall-26ai-1.0-2.el8.x86_64.rpmAfter successful installation, you can delete the downloaded RPM file:
# rm oracle-ai-database-preinstall-26ai-1.0-2.el8.x86_64.rpmOn Red Hat Enterprise Linux 9
# curl -o oracle-ai-database-preinstall-26ai-1.0-3.el9.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/getPackage/oracle-ai-database-preinstall-26ai-1.0-3.el9.x86_64.rpm # yum -y localinstall oracle-ai-database-preinstall-26ai-1.0-3.el9.x86_64.rpmAfter successful installation, you can delete the downloaded RPM file:
# rm oracle-ai-database-preinstall-26ai-1.0-3.el9.x86_64.rpmOn Red Hat Enterprise Linux 10
# curl -o oracle-ai-database-preinstall-26ai-1.0-2.el10.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL10/appstream/x86_64/getPackage/oracle-ai-database-preinstall-26ai-1.0-2.el10.x86_64.rpm # yum -y localinstall oracle-ai-database-preinstall-26ai-1.0-2.el10.x86_64.rpmAfter successful installation, you can delete the downloaded RPM file:
# rm oracle-ai-database-preinstall-26ai-1.0-2.el10.x86_64.rpm
- Access the software download page for Oracle AI Database RPM-based installation from Oracle Technology Network:
https://www.oracle.com/database/technologies/oracle-database-software-downloads.html
Depending on your operating system, download the
.rpmfile required for performing an RPM-based installation to a directory of your choice, such as the/tmpdirectory.For example, for Oracle Linux 8, download:
oracle-ai-database-ee-26ai-1.0-1.el8.x86_64.rpmFor example, for Oracle Linux 9, download:
oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpmFor example, for Oracle Linux 10, download:
oracle-ai-database-ee-26ai-1.0-1.el10.x86_64.rpmInstall the database software using the
yum localinstallcommand.- For Oracle Linux 8
# cd /tmp # yum -y localinstall oracle-ai-database-ee-26ai-1.0-1.el8.x86_64.rpmWhere,
oracle-ai-database-ee-26ai-1.0-1.el8.x86_64.rpmis the fully qualified name of the Oracle Linux 8 Oracle AI Database RPM. - For Oracle Linux 9
# cd /tmp # yum -y localinstall oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpmWhere,
oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpmis the fully qualified name of the Oracle Linux 9 Oracle AI Database RPM. - For Oracle Linux 10
# cd /tmp # yum -y localinstall oracle-ai-database-ee-26ai-1.0-1.el10.x86_64.rpmWhere,
oracle-ai-database-ee-26ai-1.0-1.el10.x86_64.rpmis the fully qualified name of the Oracle Linux 10 Oracle AI Database RPM.
- For Oracle Linux 8
The installation of Oracle AI Database software is now complete.
Creating and Configuring an Oracle AI Database
To create a sample database with the default settings, perform the following steps:
- Log in as
root. To configure a sample Oracle AI Database instance, run the following service configuration script:
# /etc/init.d/oracledb_ORCLCDB-26ai configure
Note:
You can modify the configuration parameters by editing the /etc/sysconfig/oracledb_ORCLCDB-26ai.conf file.
This script creates a container database (ORCLCDB) with one pluggable database (ORCLPDB1) and configures the listener at the default port (1521).
Review the status information that is displayed on your screen.
Related Topics