官方:

The first time you install Oracle Database software on a server, you are prompted to specify the location of the inventory directory, called oraInventory. This directory provides a centralized inventory of all Oracle software products installed on the server. You should use the same value for the Oracle inventory directory each time you perform an Oracle software installation on the server.

拓展:

1、第一次安装时候OUI默认会在操作系统查找类似“/u01/app”、“/u02/app”目录,假如存在,则放在该目录,比如:/u01/app/oraInventory

2、如果没有找到第一种类似的情况,并且设置了ORACLE_BASE目录,则在其上一级目录创建oraInventory.

oracle oraInventory 说明_oraInventory

3、如果上面两个不满足,则创建在执行OUI的用户主目录下,比如:/home/oracle/oraInventory.当然也可以自定义目录,注意需保证权限。