Oracle Base Directory
The Oracle base directory is a top-level directory for Oraclesoftware installations. It is
analogous to the<wbr> C:\Oracle directory used forOracle software installations on<br>Microsoft Windows systems. On Linux systems, the Optimal FlexibleArchitecture<br>(OFA) guidelines recommend that you use a path similar to thefollowing for the<br>Oracle base directory:<br>/mount_point/app/ oracle_sw_owner<br>In this example:<br>■ <span style="color: rgb(153, 0, 48);">mount_point<wbr> is themount point directory for the file system that will containthe</wbr></span><br style="color: rgb(153, 0, 48);"><span style="color: rgb(153, 0, 48);">Oraclesoftware.</span><br style="color: rgb(153, 0, 48);"><span style="color: rgb(153, 0, 48);">The examples in this guideuse<wbr> /u01 for the mount point directory. However,you</wbr></span><br style="color: rgb(153, 0, 48);"><span style="color: rgb(153, 0, 48);">could choose another mountpoint directory, such as<wbr> /oracleor<wbr> /opt/oracle .</wbr></wbr></span><br style="color: rgb(153, 0, 48);"><span style="color: rgb(153, 0, 48);">■ oracle_sw_owner is theoperating system user name of the Oracle software</span><br>owner, for example<wbr> oracle .<br>You can use the same Oracle base directory for more than oneinstallation or you can<br>create separate Oracle base directories for differentinstallations. If different operating<br>system users install Oracle software on the same system, then eachuser must create a<br>separate Oracle base directory. The following example Oracle basedirectories could all<br>exist on the same system:<br>/u01/app/oracle<br>/u01/app/orauser<br>/opt/oracle/app/oracle<br>Identifying or Creating an Oracle Base Directory<br>Preinstallation Tasks 2-17<br>The following sections describe how to identify existing Oraclebase directories that<br>may be suitable for your installation and how to create an Oraclebase directory if<br>necessary.<br>Regardless of whether you create an Oracle base directory or decideto use an existing<br>one, you must set the ORACLE_BASE environment variable to specifythe full path to<br>this directory.<br>Oracle Inventory Directory<br>The Oracle Inventory directory (oraInventory) stores an inventoryof all software<br>installed on the system. It is required by, and shared by, allOracle software<br>installations on a single system. The first time you install Oraclesoftware on a system,<br>Oracle Universal Installer prompts you to specify the path to thisdirectory. then<br>Oracle recommends that you choose the following path:<br>oracle_base/oraInventory<br>Oracle Universal Installer creates the directory that you specifyand sets the correct<br>owner, group, and permissions for it. You do not need to createit.<br>Oracle Home Directory<br>The Oracle home directory is the directory where you choose toinstall the software for<br>a particular Oracle product. You must inst all different Oracleproducts, or different<br>releases of the same Oracle product, in separate Oracle homedirectories. When you<br>run Oracle Universal Installer, it prompts you to specify the pathto this directory, as<br>well as a name that identifies it. The directory that you specifymust be a subdirectory<br>of the Oracle base directory. Oracle recommends that you specify apath similar to the<br>following for the Oracle home directory:<br>oracle_base/product/10.2.0/db_1<br>Oracle Universal Installer creates the directory path that youspecify under the Oracle<br>base directory. It also sets the correct owne r, group, andpermissions on it. You do not<br>need to create this directory.<br>Identifying or Creating an Oracle Base Directory<br>Before starting the installation, you must either identify anexisting Oracle base<br>directory or if required, create one. Th is section containsinformation about the<br>following:<br>■ Identifying an Existing Oracle Base Directory<br>■ Creating an Oracle Base Directory<br>Note: All Oracle software installations rely on thisdirectory.<br>Ensure that you back it up regularly.<br>Do not delete this directory unless you have completelyremoved<br>all Oracle software from the system.<br>Caution: During installation, you must not specify anexisting<br>directory that has predefined permissions applied to it as theOracle<br>home directory. If you do, then you may experience installationfailure<br>due to file and group ownership permission errors.</wbr></wbr>