1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[26ai] 3コマンドで Oracle AI Database 26ai (オンプレEE) の インストール

1
Posted at

とうとうでました。Oracle AI Database 26ai オンプレ!
バージョン23cから長らくOracle Cloudのみのリリースが続きましたが、
皆さんお待ちかね オンプレ版登場です!!!

やれること

2026/1/27にリリースされた Oracle AI Database 26ai (EE) を最速インストール!
OCIのComputeでOracle Linux 9環境を作ったデフォルト状態からスタートします。
待ちに待った製品版。とうとう名前からFreeがとれました!

環境

・Oracle Linux 9 (OCI)
・Oracle AI Database 26ai Enterprise Edition

・作業するOSユーザ:root

手順で実施できること

・手順内で OSユーザ「oracle」が作成される
・Oracle AI DatabaseのS/Wがインストールされる
・データベース「ORCLCDB」が作成される。PDB名は「ORCLPDB1」
・リスナーがポート「1521」で作成される
・SQL*Plusが使えるようになる。
※テスト用の環境を素早く作成することを目的としています。

Oracle AI Database 26ai Enterprise Edition 環境の構築

0.26aiインストールファイルのダウンロード

今回はLinux9用の「oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpm」をダウンロードしました。
https://www.oracle.com/database/technologies/oracle26ai-linux-downloads.html

image.png

ダウンロードしたファイルはComputeの/tmpに配置します。

インストールマニュアルのリンク

1.26aiインストール1 (OSユーザ root で実行)####

<実行コマンド>

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

コマンド実行の途中でプロンプトが表示されるため y を入力します。
Is this ok [y/N]: y

<実行例>
★の部分が入力箇所です

★[root@dbsv26 ~]# dnf install oracle-ai-database-preinstall-26ai
Last metadata expiration check: 0:52:38 ago on Wed 28 Jan 2026 02:53:02 AM GMT.
Dependencies resolved.
================================================================================
 Package                   Arch   Version               Repository         Size
================================================================================
Installing:
 oracle-ai-database-preinstall-26ai
                           x86_64 1.0-1.el9             ol9_appstream      34 k
Installing dependencies:
 compat-openssl11          x86_64 1:1.1.1k-5.el9_6.1    ol9_appstream     1.5 M
 initscripts               x86_64 10.11.8-4.0.1.el9     ol9_baseos_latest 285 k
 ksh                       x86_64 3:1.0.6-7.0.1.el9_6.2 ol9_appstream     889 k
 libICE                    x86_64 1.0.10-8.el9          ol9_appstream      71 k
 libSM                     x86_64 1.2.3-10.el9          ol9_appstream      42 k
 libX11-xcb                x86_64 1.7.0-11.el9          ol9_appstream      10 k
 libXcomposite             x86_64 0.4.5-7.el9           ol9_appstream      29 k
 libXi                     x86_64 1.7.10-8.el9          ol9_appstream      40 k
 libXinerama               x86_64 1.1.4-10.el9          ol9_appstream      15 k
 libXmu                    x86_64 1.1.3-8.el9           ol9_appstream      79 k
 libXrandr                 x86_64 1.5.2-8.el9           ol9_appstream      28 k
 libXt                     x86_64 1.2.0-6.el9           ol9_appstream     180 k
 libXtst                   x86_64 1.2.3-16.el9          ol9_appstream      21 k
 libXv                     x86_64 1.0.11-16.el9         ol9_appstream      19 k
 libXxf86dga               x86_64 1.1.5-8.el9           ol9_appstream      21 k
 libXxf86vm                x86_64 1.1.4-18.el9          ol9_appstream      19 k
 libdmx                    x86_64 1.1.4-12.el9          ol9_appstream      17 k
 lm_sensors-libs           x86_64 3.6.0-10.el9          ol9_appstream      42 k
 sysstat                   x86_64 12.5.4-9.0.2.el9      ol9_appstream     541 k
 xorg-x11-utils            x86_64 7.5-40.el9            ol9_appstream     123 k
 xorg-x11-xauth            x86_64 1:1.1-10.el9          ol9_appstream      36 k

Transaction Summary
================================================================================
Install  22 Packages

Total download size: 3.9 M
Installed size: 11 M
Is this ok [y/N]: y ★yを入力します
Downloading Packages:
(1/22): initscripts-  0% [                    ] ---  B/s |   0  B     --:-- ETA(1/22): ksh-1.0.6-7.0.1.el9_6.2.x86_64.rpm       22 MB/s | 889 kB     00:00    
(2-3/22): initscript 44% [========-           ]  44 MB/s | 1.8 MB     00:00 ETA(2/22): compat-openssl11-1.1.1k-5.el9_6.1.x86_6  29 MB/s | 1.5 MB     00:00    
(3-4/22): initscript 59% [===========-        ]  44 MB/s | 2.3 MB     00:00 ETA(3/22): libICE-1.0.10-8.el9.x86_64.rpm          5.4 MB/s |  71 kB     00:00    
(4-5/22): initscript 60% [============        ]  44 MB/s | 2.4 MB     00:00 ETA(4/22): libSM-1.2.3-10.el9.x86_64.rpm           5.5 MB/s |  42 kB     00:00    
(5-6/22): initscript 61% [============        ]  44 MB/s | 2.4 MB     00:00 ETA(5/22): libX11-xcb-1.7.0-11.el9.x86_64.rpm      1.1 MB/s |  10 kB     00:00    
(6-7/22): initscript 62% [============        ]  44 MB/s | 2.4 MB     00:00 ETA(6/22): libXcomposite-0.4.5-7.el9.x86_64.rpm    4.7 MB/s |  29 kB     00:00    
(7-8/22): initscript 62% [============-       ]  43 MB/s | 2.5 MB     00:00 ETA(7/22): libXi-1.7.10-8.el9.x86_64.rpm           5.3 MB/s |  40 kB     00:00    
(8-9/22): initscript 69% [=============-      ]  43 MB/s | 2.7 MB     00:00 ETA(8/22): libXinerama-1.1.4-10.el9.x86_64.rpm     2.2 MB/s |  15 kB     00:00    
(9-10/22): initscrip 70% [==============      ]  43 MB/s | 2.8 MB     00:00 ETA(9/22): initscripts-10.11.8-4.0.1.el9.x86_64.rp 3.7 MB/s | 285 kB     00:00    
(10-11/22): libXmu-1 71% [==============      ]  43 MB/s | 2.8 MB     00:00 ETA(10/22): libXmu-1.1.3-8.el9.x86_64.rpm           11 MB/s |  79 kB     00:00    
(11-12/22): libXrand 73% [==============-     ]  43 MB/s | 2.9 MB     00:00 ETA(11/22): libXrandr-1.5.2-8.el9.x86_64.rpm       3.9 MB/s |  28 kB     00:00    
(12-13/22): libXt-1. 73% [==============-     ]  43 MB/s | 2.9 MB     00:00 ETA(12/22): libXtst-1.2.3-16.el9.x86_64.rpm        3.6 MB/s |  21 kB     00:00    
(13-14/22): libXt-1. 74% [==============-     ]  43 MB/s | 2.9 MB     00:00 ETA(13/22): libXv-1.0.11-16.el9.x86_64.rpm         2.6 MB/s |  19 kB     00:00    
(14-15/22): libXt-1. 74% [==============-     ]  43 MB/s | 3.0 MB     00:00 ETA(14/22): libXxf86dga-1.1.5-8.el9.x86_64.rpm     3.0 MB/s |  21 kB     00:00    
(15-16/22): libXt-1. 77% [===============     ]  43 MB/s | 3.1 MB     00:00 ETA(15/22): libXxf86vm-1.1.4-18.el9.x86_64.rpm     3.1 MB/s |  19 kB     00:00    
(16-17/22): libXt-1. 79% [===============-    ]  43 MB/s | 3.1 MB     00:00 ETA(16/22): libXt-1.2.0-6.el9.x86_64.rpm           8.6 MB/s | 180 kB     00:00    
(17-18/22): libdmx-1 80% [================    ]  43 MB/s | 3.2 MB     00:00 ETA(17/22): libdmx-1.1.4-12.el9.x86_64.rpm         2.6 MB/s |  17 kB     00:00    
(18-19/22): lm_senso 80% [================    ]  43 MB/s | 3.2 MB     00:00 ETA(18/22): lm_sensors-libs-3.6.0-10.el9.x86_64.rp 6.4 MB/s |  42 kB     00:00    
(19-20/22): oracle-a 81% [================    ]  43 MB/s | 3.2 MB     00:00 ETA(19/22): oracle-ai-database-preinstall-26ai-1.0 4.9 MB/s |  34 kB     00:00    
(20-21/22): sysstat- 82% [================-   ]  43 MB/s | 3.3 MB     00:00 ETA(20/22): xorg-x11-utils-7.5-40.el9.x86_64.rpm    15 MB/s | 123 kB     00:00    
(21-22/22): sysstat- 87% [=================   ]  43 MB/s | 3.4 MB     00:00 ETA(21/22): xorg-x11-xauth-1.1-10.el9.x86_64.rpm   5.1 MB/s |  36 kB     00:00    
(22/22): sysstat-12. 89% [=================-  ]  43 MB/s | 3.5 MB     00:00 ETA(22/22): sysstat-12.5.4-9.0.2.el9.x86_64.rpm     31 MB/s | 541 kB     00:00    
--------------------------------------------------------------------------------
Total                                            33 MB/s | 3.9 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :  [==                                                 ] 1/1  Preparing        :  [====                                               ] 1/1  Preparing        :  [======                                             ] 1/1  Preparing        :  [=========                                          ] 1/1  Preparing        :  [===========                                        ] 1/1  Preparing        :  [=============                                      ] 1/1  Preparing        :  [===============                                    ] 1/1  Preparing        :  [==================                                 ] 1/1  Preparing        :  [====================                               ] 1/1  Preparing        :  [======================                             ] 1/1  Preparing        :  [=========================                          ] 1/1  Preparing        :  [===========================                        ] 1/1  Preparing        :  [==============================                     ] 1/1  Preparing        :  [================================                   ] 1/1  Preparing        :  [==================================                 ] 1/1  Preparing        :  [====================================               ] 1/1  Preparing        :  [=======================================            ] 1/1  Preparing        :  [=========================================          ] 1/1  Preparing        :  [===========================================        ] 1/1  Preparing        :  [=============================================      ] 1/1  Preparing        :  [================================================   ] 1/1  Preparing        :                                                        1/1 
  Installing       : libXi-1.7.10-8.el9.x86_6 [                         ]  1/22  Installing       : libXi-1.7.10-8.el9.x86_6 [===========              ]  1/22  Installing       : libXi-1.7.10-8.el9.x86_6 [=====================    ]  1/22  Installing       : libXi-1.7.10-8.el9.x86_6 [=======================  ]  1/22  Installing       : libXi-1.7.10-8.el9.x86_6 [======================== ]  1/22  Installing       : libXi-1.7.10-8.el9.x86_64                             1/22 
  Installing       : libICE-1.0.10-8.el9.x86_ [                         ]  2/22  Installing       : libICE-1.0.10-8.el9.x86_ [====                     ]  2/22  Installing       : libICE-1.0.10-8.el9.x86_ [=========                ]  2/22  Installing       : libICE-1.0.10-8.el9.x86_ [==============           ]  2/22  Installing       : libICE-1.0.10-8.el9.x86_ [===============          ]  2/22  Installing       : libICE-1.0.10-8.el9.x86_ [====================     ]  2/22  Installing       : libICE-1.0.10-8.el9.x86_ [======================== ]  2/22  Installing       : libICE-1.0.10-8.el9.x86_64                            2/22 
  Installing       : libSM-1.2.3-10.el9.x86_6 [                         ]  3/22  Installing       : libSM-1.2.3-10.el9.x86_6 [========                 ]  3/22  Installing       : libSM-1.2.3-10.el9.x86_6 [==========               ]  3/22  Installing       : libSM-1.2.3-10.el9.x86_6 [===========              ]  3/22  Installing       : libSM-1.2.3-10.el9.x86_6 [====================     ]  3/22  Installing       : libSM-1.2.3-10.el9.x86_6 [======================== ]  3/22  Installing       : libSM-1.2.3-10.el9.x86_64                             3/22 
  Installing       : libXt-1.2.0-6.el9.x86_64 [                         ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [=                        ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [===                      ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [=====                    ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [=======                  ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [=========                ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [==========               ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [============             ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [==============           ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [================         ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [==================       ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [===================      ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [=====================    ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [=======================  ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64 [======================== ]  4/22  Installing       : libXt-1.2.0-6.el9.x86_64                              4/22 
  Installing       : libXmu-1.1.3-8.el9.x86_6 [                         ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_6 [====                     ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_6 [========                 ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_6 [=============            ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_6 [===============          ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_6 [==================       ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_6 [===================      ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_6 [=======================  ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_6 [======================== ]  5/22  Installing       : libXmu-1.1.3-8.el9.x86_64                             5/22 
  Installing       : xorg-x11-xauth-1:1.1-10. [                         ]  6/22  Installing       : xorg-x11-xauth-1:1.1-10. [============             ]  6/22  Installing       : xorg-x11-xauth-1:1.1-10. [=====================    ]  6/22  Installing       : xorg-x11-xauth-1:1.1-10. [======================   ]  6/22  Installing       : xorg-x11-xauth-1:1.1-10. [=======================  ]  6/22  Installing       : xorg-x11-xauth-1:1.1-10. [======================== ]  6/22  Installing       : xorg-x11-xauth-1:1.1-10.el9.x86_64                    6/22 
  Installing       : libXtst-1.2.3-16.el9.x86 [                         ]  7/22  Installing       : libXtst-1.2.3-16.el9.x86 [=====================    ]  7/22  Installing       : libXtst-1.2.3-16.el9.x86 [======================== ]  7/22  Installing       : libXtst-1.2.3-16.el9.x86_64                           7/22 
  Installing       : lm_sensors-libs-3.6.0-10 [                         ]  8/22  Installing       : lm_sensors-libs-3.6.0-10 [========                 ]  8/22  Installing       : lm_sensors-libs-3.6.0-10 [=================        ]  8/22  Installing       : lm_sensors-libs-3.6.0-10 [======================== ]  8/22  Installing       : lm_sensors-libs-3.6.0-10.el9.x86_64                   8/22 
  Installing       : sysstat-12.5.4-9.0.2.el9 [                         ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [=                        ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [==                       ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [===                      ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [====                     ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [=====                    ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [======                   ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [=======                  ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [========                 ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [=========                ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [==========               ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [===========              ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [============             ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [=============            ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [==============           ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [===============          ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [================         ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [=================        ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [==================       ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [===================      ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [====================     ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [=====================    ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [======================   ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [=======================  ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9 [======================== ]  9/22  Installing       : sysstat-12.5.4-9.0.2.el9.x86_64                       9/22 
  Running scriptlet: sysstat-12.5.4-9.0.2.el9.x86_64                       9/22 
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /usr/lib/systemd/system/sysstat.service.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /usr/lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /usr/lib/systemd/system/sysstat-summary.timer.

  Installing       : libdmx-1.1.4-12.el9.x86_ [                         ] 10/22  Installing       : libdmx-1.1.4-12.el9.x86_ [=======================  ] 10/22  Installing       : libdmx-1.1.4-12.el9.x86_ [======================== ] 10/22  Installing       : libdmx-1.1.4-12.el9.x86_64                           10/22 
  Installing       : libXxf86vm-1.1.4-18.el9. [                         ] 11/22  Installing       : libXxf86vm-1.1.4-18.el9. [======================   ] 11/22  Installing       : libXxf86vm-1.1.4-18.el9. [======================== ] 11/22  Installing       : libXxf86vm-1.1.4-18.el9.x86_64                       11/22 
  Installing       : libXxf86dga-1.1.5-8.el9. [                         ] 12/22  Installing       : libXxf86dga-1.1.5-8.el9. [=======================  ] 12/22  Installing       : libXxf86dga-1.1.5-8.el9. [======================== ] 12/22  Installing       : libXxf86dga-1.1.5-8.el9.x86_64                       12/22 
  Installing       : libXv-1.0.11-16.el9.x86_ [                         ] 13/22  Installing       : libXv-1.0.11-16.el9.x86_ [======================   ] 13/22  Installing       : libXv-1.0.11-16.el9.x86_ [======================== ] 13/22  Installing       : libXv-1.0.11-16.el9.x86_64                           13/22 
  Installing       : libXrandr-1.5.2-8.el9.x8 [                         ] 14/22  Installing       : libXrandr-1.5.2-8.el9.x8 [===============          ] 14/22  Installing       : libXrandr-1.5.2-8.el9.x8 [=======================  ] 14/22  Installing       : libXrandr-1.5.2-8.el9.x8 [======================== ] 14/22  Installing       : libXrandr-1.5.2-8.el9.x86_64                         14/22 
  Installing       : libXinerama-1.1.4-10.el9 [                         ] 15/22  Installing       : libXinerama-1.1.4-10.el9 [====================     ] 15/22  Installing       : libXinerama-1.1.4-10.el9 [======================== ] 15/22  Installing       : libXinerama-1.1.4-10.el9.x86_64                      15/22 
  Installing       : libXcomposite-0.4.5-7.el [                         ] 16/22  Installing       : libXcomposite-0.4.5-7.el [=========                ] 16/22  Installing       : libXcomposite-0.4.5-7.el [==========               ] 16/22  Installing       : libXcomposite-0.4.5-7.el [======================== ] 16/22  Installing       : libXcomposite-0.4.5-7.el9.x86_64                     16/22 
  Installing       : libX11-xcb-1.7.0-11.el9. [                         ] 17/22  Installing       : libX11-xcb-1.7.0-11.el9. [=                        ] 17/22  Installing       : libX11-xcb-1.7.0-11.el9. [======================== ] 17/22  Installing       : libX11-xcb-1.7.0-11.el9.x86_64                       17/22 
  Installing       : xorg-x11-utils-7.5-40.el [                         ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [==                       ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [===                      ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [======                   ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [=======                  ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [========                 ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [==========               ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [============             ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [===============          ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [=================        ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [==================       ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [=====================    ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [=======================  ] 18/22  Installing       : xorg-x11-utils-7.5-40.el [======================== ] 18/22  Installing       : xorg-x11-utils-7.5-40.el9.x86_64                     18/22 
  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [                         ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [=                        ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [==                       ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [===                      ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [====                     ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [=====                    ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [======                   ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [=======                  ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [========                 ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [=========                ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [==========               ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [===========              ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [============             ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [=============            ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [==============           ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [===============          ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [================         ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [=================        ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [==================       ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [===================      ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [====================     ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [=====================    ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [======================   ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [=======================  ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6. [======================== ] 19/22  Installing       : ksh-3:1.0.6-7.0.1.el9_6.2.x86_64                     19/22 
  Running scriptlet: ksh-3:1.0.6-7.0.1.el9_6.2.x86_64                     19/22 
  Installing       : compat-openssl11-1:1.1.1 [                         ] 20/22  Installing       : compat-openssl11-1:1.1.1 [=                        ] 20/22  Installing       : compat-openssl11-1:1.1.1 [==                       ] 20/22  Installing       : compat-openssl11-1:1.1.1 [===                      ] 20/22  Installing       : compat-openssl11-1:1.1.1 [====                     ] 20/22  Installing       : compat-openssl11-1:1.1.1 [=====                    ] 20/22  Installing       : compat-openssl11-1:1.1.1 [======                   ] 20/22  Installing       : compat-openssl11-1:1.1.1 [=======                  ] 20/22  Installing       : compat-openssl11-1:1.1.1 [========                 ] 20/22  Installing       : compat-openssl11-1:1.1.1 [=========                ] 20/22  Installing       : compat-openssl11-1:1.1.1 [==========               ] 20/22  Installing       : compat-openssl11-1:1.1.1 [===========              ] 20/22  Installing       : compat-openssl11-1:1.1.1 [============             ] 20/22  Installing       : compat-openssl11-1:1.1.1 [=============            ] 20/22  Installing       : compat-openssl11-1:1.1.1 [==============           ] 20/22  Installing       : compat-openssl11-1:1.1.1 [===============          ] 20/22  Installing       : compat-openssl11-1:1.1.1 [================         ] 20/22  Installing       : compat-openssl11-1:1.1.1 [=================        ] 20/22  Installing       : compat-openssl11-1:1.1.1 [==================       ] 20/22  Installing       : compat-openssl11-1:1.1.1 [===================      ] 20/22  Installing       : compat-openssl11-1:1.1.1 [====================     ] 20/22  Installing       : compat-openssl11-1:1.1.1 [=====================    ] 20/22  Installing       : compat-openssl11-1:1.1.1 [======================   ] 20/22  Installing       : compat-openssl11-1:1.1.1 [=======================  ] 20/22  Installing       : compat-openssl11-1:1.1.1 [======================== ] 20/22  Installing       : compat-openssl11-1:1.1.1k-5.el9_6.1.x86_64           20/22 
  Installing       : initscripts-10.11.8-4.0. [                         ] 21/22  Installing       : initscripts-10.11.8-4.0. [=                        ] 21/22  Installing       : initscripts-10.11.8-4.0. [==                       ] 21/22  Installing       : initscripts-10.11.8-4.0. [===                      ] 21/22  Installing       : initscripts-10.11.8-4.0. [====                     ] 21/22  Installing       : initscripts-10.11.8-4.0. [=====                    ] 21/22  Installing       : initscripts-10.11.8-4.0. [======                   ] 21/22  Installing       : initscripts-10.11.8-4.0. [=======                  ] 21/22  Installing       : initscripts-10.11.8-4.0. [========                 ] 21/22  Installing       : initscripts-10.11.8-4.0. [=========                ] 21/22  Installing       : initscripts-10.11.8-4.0. [==========               ] 21/22  Installing       : initscripts-10.11.8-4.0. [===========              ] 21/22  Installing       : initscripts-10.11.8-4.0. [============             ] 21/22  Installing       : initscripts-10.11.8-4.0. [=============            ] 21/22  Installing       : initscripts-10.11.8-4.0. [==============           ] 21/22  Installing       : initscripts-10.11.8-4.0. [===============          ] 21/22  Installing       : initscripts-10.11.8-4.0. [================         ] 21/22  Installing       : initscripts-10.11.8-4.0. [=================        ] 21/22  Installing       : initscripts-10.11.8-4.0. [==================       ] 21/22  Installing       : initscripts-10.11.8-4.0. [===================      ] 21/22  Installing       : initscripts-10.11.8-4.0. [====================     ] 21/22  Installing       : initscripts-10.11.8-4.0. [=====================    ] 21/22  Installing       : initscripts-10.11.8-4.0. [======================   ] 21/22  Installing       : initscripts-10.11.8-4.0. [=======================  ] 21/22  Installing       : initscripts-10.11.8-4.0. [======================== ] 21/22  Installing       : initscripts-10.11.8-4.0.1.el9.x86_64                 21/22 
  Running scriptlet: initscripts-10.11.8-4.0.1.el9.x86_64                 21/22 
Created symlink /etc/systemd/system/sysinit.target.wants/import-state.service → /usr/lib/systemd/system/import-state.service.
Created symlink /etc/systemd/system/sysinit.target.wants/loadmodules.service → /usr/lib/systemd/system/loadmodules.service.

  Installing       : oracle-ai-database-prein [                         ] 22/22  Installing       : oracle-ai-database-prein [==========               ] 22/22  Installing       : oracle-ai-database-prein [=================        ] 22/22  Installing       : oracle-ai-database-prein [===================      ] 22/22  Installing       : oracle-ai-database-prein [======================== ] 22/22  Installing       : oracle-ai-database-preinstall-26ai-1.0-1.el9.x86_6   22/22 
  Running scriptlet: oracle-ai-database-preinstall-26ai-1.0-1.el9.x86_6   22/22 
  Verifying        : initscripts-10.11.8-4.0.1.el9.x86_64                  1/22 
  Verifying        : compat-openssl11-1:1.1.1k-5.el9_6.1.x86_64            2/22 
  Verifying        : ksh-3:1.0.6-7.0.1.el9_6.2.x86_64                      3/22 
  Verifying        : libICE-1.0.10-8.el9.x86_64                            4/22 
  Verifying        : libSM-1.2.3-10.el9.x86_64                             5/22 
  Verifying        : libX11-xcb-1.7.0-11.el9.x86_64                        6/22 
  Verifying        : libXcomposite-0.4.5-7.el9.x86_64                      7/22 
  Verifying        : libXi-1.7.10-8.el9.x86_64                             8/22 
  Verifying        : libXinerama-1.1.4-10.el9.x86_64                       9/22 
  Verifying        : libXmu-1.1.3-8.el9.x86_64                            10/22 
  Verifying        : libXrandr-1.5.2-8.el9.x86_64                         11/22 
  Verifying        : libXt-1.2.0-6.el9.x86_64                             12/22 
  Verifying        : libXtst-1.2.3-16.el9.x86_64                          13/22 
  Verifying        : libXv-1.0.11-16.el9.x86_64                           14/22 
  Verifying        : libXxf86dga-1.1.5-8.el9.x86_64                       15/22 
  Verifying        : libXxf86vm-1.1.4-18.el9.x86_64                       16/22 
  Verifying        : libdmx-1.1.4-12.el9.x86_64                           17/22 
  Verifying        : lm_sensors-libs-3.6.0-10.el9.x86_64                  18/22 
  Verifying        : oracle-ai-database-preinstall-26ai-1.0-1.el9.x86_6   19/22 
  Verifying        : sysstat-12.5.4-9.0.2.el9.x86_64                      20/22 
  Verifying        : xorg-x11-utils-7.5-40.el9.x86_64                     21/22 
  Verifying        : xorg-x11-xauth-1:1.1-10.el9.x86_64                   22/22 

Installed:
  compat-openssl11-1:1.1.1k-5.el9_6.1.x86_64                                    
  initscripts-10.11.8-4.0.1.el9.x86_64                                          
  ksh-3:1.0.6-7.0.1.el9_6.2.x86_64                                              
  libICE-1.0.10-8.el9.x86_64                                                    
  libSM-1.2.3-10.el9.x86_64                                                     
  libX11-xcb-1.7.0-11.el9.x86_64                                                
  libXcomposite-0.4.5-7.el9.x86_64                                              
  libXi-1.7.10-8.el9.x86_64                                                     
  libXinerama-1.1.4-10.el9.x86_64                                               
  libXmu-1.1.3-8.el9.x86_64                                                     
  libXrandr-1.5.2-8.el9.x86_64                                                  
  libXt-1.2.0-6.el9.x86_64                                                      
  libXtst-1.2.3-16.el9.x86_64                                                   
  libXv-1.0.11-16.el9.x86_64                                                    
  libXxf86dga-1.1.5-8.el9.x86_64                                                
  libXxf86vm-1.1.4-18.el9.x86_64                                                
  libdmx-1.1.4-12.el9.x86_64                                                    
  lm_sensors-libs-3.6.0-10.el9.x86_64                                           
  oracle-ai-database-preinstall-26ai-1.0-1.el9.x86_64                           
  sysstat-12.5.4-9.0.2.el9.x86_64                                               
  xorg-x11-utils-7.5-40.el9.x86_64                                              
  xorg-x11-xauth-1:1.1-10.el9.x86_64                                            

Complete!
[root@dbsv26 ~]# 

2.26aiインストール2 (OSユーザ root で実行)####

<実行コマンド>

yum -y localinstall /tmp/oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpm

<実行例>
★の部分が入力箇所です

★[root@dbsv26 ~]#  yum -y localinstall /tmp/oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpm
Last metadata expiration check: 1:52:18 ago on Wed 28 Jan 2026 02:53:02 AM GMT.
Dependencies resolved.
================================================================================
 Package                         Arch        Version    Repository         Size
================================================================================
Installing:
 oracle-ai-database-ee-26ai      x86_64      1.0-1      @commandline      2.0 G

Transaction Summary
================================================================================
Install  1 Package

Total size: 2.0 G
Installed size: 5.7 G
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Running scriptlet: oracle-ai-database-ee-26ai-1.0-1.x86_64                1/1
  Installing       : oracle-ai-database-ee-26ai-1.0-1.x86_64                1/1
  Running scriptlet: oracle-ai-database-ee-26ai-1.0-1.x86_64                1/1
[INFO] Executing post installation scripts...
[INFO] Oracle home installed successfully and ready to be configured.
To configure a sample Oracle AI Database, optionally modify the parameters in '/etc/sysconfig/oracledb_ORCLCDB-26ai.conf' and then run following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-26ai configure

  Verifying        : oracle-ai-database-ee-26ai-1.0-1.x86_64                1/1

Installed:
  oracle-ai-database-ee-26ai-1.0-1.x86_64

Complete!
[root@dbsv26 ~]#

3.26aiデータベース・リスナー作成 (OSユーザ root で実行)

以下のコマンドで実行しますが
あらかじめconfファイルを変更することで、リスナーのポート番号など一部設定を変更できます。

/etc/sysconfig/oracledb_ORCLCDB-26ai.conf

<実行コマンド>

/etc/init.d/oracledb_ORCLCDB-26ai configure

<実行例>
★の部分が入力箇所です


★[root@dbsv26 ~]# /etc/init.d/oracledb_ORCLCDB-26ai configure
/opt/oracle/product/26ai/dbhome_1/bin/dbca -silent -createDatabase -gdbName ORCLCDB -templateName General_Purpose.dbc -characterSet AL32UTF8 -createAsContainerDatabase true -numberOfPDBs 1 -pdbName ORCLPDB1 -createListener LISTENER:1521 -datafileDestination /opt/oracle/oradata -sid ORCLCDB -autoGeneratePasswords
Configuring Oracle AI Database ORCLCDB.
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
32% complete
36% complete
39% complete
42% complete
46% complete
Completing Database Creation
51% complete
53% complete
54% complete
Creating Pluggable Databases
58% complete
77% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
 /opt/oracle/cfgtoollogs/dbca/ORCLCDB.
Database Information:
Global Database Name:ORCLCDB
System Identifier(SID):ORCLCDB
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.

Database configuration completed successfully. The passwords were auto generated, you must change them by connecting to the database using 'sqlplus / as sysdba' as the oracle user.
[root@dbsv26 ~]#

これで完成です!

使いやすくするための設定

<構築されたDB>
OSユーザ:oracle
インストールパス(ORACLE_HOME):/opt/oracle/product/26ai/dbhome_1
SID:ORCLCDB

OSユーザ oracle の設定

OSユーザの環境変数に設定するのがおすすめです

--★/home/oracle/.bash_profileに以下を設定
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/26ai/dbhome_1
export ORACLE_SID=ORCLCDB
export NLS_LANG=Japanese_Japan.AL32UTF8
export PATH=$ORACLE_HOME/bin:$PATH

作られた環境の確認

<実行するコマンド>
環境確認をしてみます

sqlplus / as sysdba
show parameter instance_name
show pdbs
alter session set container=ORCLCDBFREEPDB1;
select username from dba_users order by 1;
exit

実行例
--★SQL*Plusで接続します。26aiは23.26,1と表現されるみたいです。

[oracle@dbsv26 ~]$ sqlplus / as sysdba  ★SYSで接続

SQL*Plus: Release 23.26.1.0.0 - Production on 水 1月 28 05:44:57 2026
Version 23.26.1.0.0

Copyright (c) 1982, 2025, Oracle.  All rights reserved.



Oracle AI Database 26ai Enterprise Edition Release 23.26.1.0.0 - Production
Version 23.26.1.0.0
に接続されました。
SQL>
SQL>
SQL> show pdbs ★PDB名の確認

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         3 ORCLPDB1                       READ WRITE NO
SQL>
SQL> alter session set container=ORCLPDB1; ★PDBに接続

セッションが変更されました。

SQL> select username from dba_users order by 1; ★ユーザ確認

USERNAME
--------------------------------------------------------------------------------
ANONYMOUS
APPQOSSYS
AUDSYS
BAASSYS
CTXSYS
DBSFWUSER
DBSNMP
DGPDB_INT
DIP
DVF
DVSYS

USERNAME
--------------------------------------------------------------------------------
GGSHAREDCAP
GGSYS
GSMADMIN_INTERNAL
GSMCATUSER
GSMUSER
LBACSYS
MDDATA
MDSYS
OJVMSYS
OLAPSYS
OUTLN

USERNAME
--------------------------------------------------------------------------------
PDBADMIN
REMOTE_SCHEDULER_AGENT
SYS
SYS$UMF
SYSBACKUP
SYSDG
SYSKM
SYSRAC
SYSTEM
VECSYS
WMSYS

USERNAME
--------------------------------------------------------------------------------
XDB
XS$NULL

35行が選択されました。

SQL>
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?