0
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?

More than 5 years have passed since last update.

Oracle18cをインストール際のフォルダ構成に関する注意点

0
Posted at

Oracle12cまでは、ダウンロードしてきたOracle Universal Installer(OUI)を含む圧縮ファイルを任意の一時フォルダに展開し
一時フォルダからOUIを実行、Oracleホームディレクトリを指定してインストールを行った。
この場合、一時フォルダ内に展開されていた各種のツールやバイナリファイルは、Oracleホーム以下にコピーされ
インストール終了後には一時フォルダは削除するのが通例だった。

ところが、Oracle18cのインストールでは圧縮ファイルを一時的に展開するフォルダを作成する必要は無く
setup.batを実行したフォルダが、ツールやバイナリファイルを含むOracleホームフォルダとして自動で設定されてしまう。
そのためセットアップの途中で指定するべきフォルダはOracleホームではなく、インストールの情報等を保持するためのOracleベースフォルダを指定することになる。

OracleホームとOracleベースの関係は、自由な配置で指定することが可能であるが、公式のガイド(database-installation-guide-microsoft-windows.pdf)によると

以下のような設定とすることを推奨している。

#Oracle Home Directory Naming Convention

By default, Oracle Universal Installer configures Oracle home directories using these
Oracle Optimal Flexible Architecture conventions.
The directory pattern syntax for Oracle homes is /pm/s/u/product/v/type_[n]. The
following table describes the variables used in this syntax:

###Variable Description

名前 説明
pm A mount point name.
s A standard directory name.
u The name of the owner of the directory.
v The version of the software.
type The type of installation. For example: Database (dbhome), Client (client),or Oracle Grid Infrastructure (grid)
n An optional counter, which enables you to install the same product morethan once in the same Oracle base directory. >For example: Database 1 and Database 2 (dbhome_1, dbhome_2)

したがって、oraclehomeというユーザーをOracleホーム・ユーザーとして、従来通りC:\appフォルダ以下にDBをインストールする場合は C:\app\oraclehome\product\18.0.0\db_home1 に、DBのインストール用圧縮ファイルを展開し、OracleBaseにC:\app\oraclehomeを指定すればよいということである。

なお、アンインストールをする場合には、Oracleホームの下にあるdeinstallフォルダ内のdeinstall.batを実行すればよいが、実行後には当然Oracleベース以下のディレクトリは削除されることに注意しよう。

0
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
0
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?