简单来说,
ORACLE_BASE下是admin和product
ORACLE_HOME下则是ORACLE的命令、连接库、安装助手、listener等等一系列的东东。
这只是ORACLE自己的定义习惯。ORACLE_HOME比ORACLE_BASE目录要更深一些。也就是说:ORACLE_HOME=$ORACLE_BASE/product/version
在安装ORACLE的时候,需要设置ORACLE HOME Directory,ORACLE BASE Directory,
ORACLE INVERTORY directory三个目录,初学者可能会混淆。在此给出解释:
ORACLE BASE DIRECTORY
是oracle软件安装的最上一层的目录,与在windows系统中安装oracle时的c:/oracle目录类似。在linux操作系统环境下,OFA推荐使用如下的路径作为ORACLE
BASE DIRECTORY
/
mount_point
/app/
oracle_sw_owner
a
mount_point
为将安装oracle的文件系统的挂载点
例如选择/u01作为挂载点,同样也可以选择/opt,/u02等
b
oracle_sw_owner
是oracle
软件的拥有者的linux操作系统用户名,例如oracle。
可以为多个安装选择同样的oracle base directory,也可以为每个安装选择不同的oracle base
directory。然而如果在同一个linux系统上使用不同的操作系统用户来安装
数据库
,那么对于每一个单独的用户都必须创建单独的oracle
base directory.在同一个的linux系统上可能存在如下的oracle base directory:
/u01/app/oracle
/opt/app/orauser
/opt/oracle/app/oracle
使用ORACLE_HOME环境变量来指定当前使用的oracle home directory
ORACLE INVENTORY DIRECTORY
oracle
inventory
directory(oraInventory)存储系统上安装oracle软件的详细清单。系统上的每个安装都需要和分享这个目录。在第一次安装oracle软件的时候,oracle
univesal installer会提示你指定这个目录的路径,ORACLE建议使用如下形式:
ORACLE_BASE/oraInventory
oracle univesal
installer会按照指定的路径创建orale invertory
directory并指定owner,group;这个目录不需要手动创建。
所有的安装信息都存储在这个目录下面,除非你确定完全删除了所有的oracle软件,不要删除这个目录。
ORACLE HOME DIRECTORY
oracle
home directory
是安装特定的oracle产品的目录,为每个单独的oracle产品,或者不同版本的oracle数据库,都必须指定一个单独的oracle
home目录。oracle home directory 必须为oracle base directory 的一个子目录,oracle
universal installer会提示你指定这个目录的路径,oracle推荐使用类似于以下的格式:
ORACLE_BASE/PRODUCT/9.2.04/db_1
oracle会自动创建这个目录,并且设置正确的owner和group。
在使用oracle
universal installer安装软件的时候,不要指定一个已经存在的目录作为oracle home
directory,否则会提示存取权限错误。
分享到:
相关推荐
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1 export ORACLE_OWNER=oracle export ORACLE_SID=orcl export ORACLE_TERM=xterm export PATH=\$PATH:\$ORACLE_HOME/bin [root@dbserver ~]# vi /etc/...
系统级的环境变量一般在/etc/profile 文件中定义 在 CAMS 系统 与数据库 相关的环境变量就定义在/etc/profile 文件中 如下所示 export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/...
export CLASSPATH=$ORACLE_BASE/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib PATH=$PATH:$HOME/bin:/$ORACLE_HOME/bin:/sbin export PATH unset USERNAME 即时应用环境变量所配置的...
chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1 chmod -R 775 /u01/app/oracle/product/11.2.0/db_1 mkdir –p /u01/software chmod -R 775 /u01 iscsi共享存储规划 (分为server端和client端,...
From the Oracle E-Business Suite APPS_BASE, establish the run file system APPL_TOP environment by running the EBSapps.env script. Download Patch 13602850 (p13602850_R12_GENERIC.zip) into a temporary ...
You can solve this problem by deleting the large listener in $ORACLE_BASE\diag\tnslsnr\<hostname>\listener\trace\<listener_name>.log 1) Stop the listener process using the command line or Control ...
Oracle P/L SQL实现发送Email、浏览网页等网络操作功能 Oracle P/L SQL实现发送Email、浏览网页等网络操作功能,以下是此过程包的头部,包体经常打包处理plb,感兴趣用户可以下载下来。 --.使用聚合函数实现 多行...
impdp system/oracle@projm directory=dir_dp dumpfile=projm20180118.dmp logfile=PROJM20180118-imp-2.log schemas=MIS_BASE,MIS_BLOB,MIS_CONFIG,MIS_LOG,MIS_REPORT,MIS_SYS,MIS_WF,HM_PROJ
The directory <Java home>/sample/nio/chatserver/ contains samples that demonstrate the new APIs contained in the java.nio.file package. The directory <Java home>/demo/nio/zipfs/ contains samples that...
Windows directory (C:\windows or C:\winnt) ; See the PHP docs for more specific information. ; http://php.net/configuration.file ; The syntax of the file is extremely simple. Whitespace and lines ; ...
并说出SessionBean和EntityBean的区别,StatefulBean和StatelessBean的区别。 EJB包括Session Bean、Entity Bean、Message Driven Bean,基于JNDI、RMI、JAT等技术实现。 SessionBean在J2EE应用程序中被用来完成...
并说出SessionBean和EntityBean的区别,StatefulBean和StatelessBean的区别。 EJB包括Session Bean、Entity Bean、Message Driven Bean,基于JNDI、RMI、JAT等技术实现。 SessionBean在J2EE应用程序中被用来完成...
7.3.3 派生类直接访问基类成员——base 122 7.3.4 继承中的构造函数 123 7.4 多态 124 7.5 抽象 128 7.5.1 抽象类、抽象方法的声明 129 7.5.2 抽象类的使用 129 7.5.3 抽象方法的使用 130 7.6 密封 132 7.6.1 密封类...