可以查看$ORACLE_BASE/oraInventory/orainstRoot.sh
脚本的内容。该脚本实际上完成了以下工
作:
(1)创建 software inventory location pointer file: /etc/oraInst.loc,内容为
inventory_loc=$ORACLE_BASE/oraInventory
inst_group=oinstall
<wbr>修改该文件属性:chmod 644 /etc/oraInst.loc<wbr><br> (2)创建 inventory directory: $ORACLE_BASE/oraInventory<br><wbr><wbr> 修改文件属性: chmod -R 770 $ORACLE_BASE/oraInventory<br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> chgrp oinstall $ORACLE_BASE/oraInventory<br><wbr>oraInventory 目录是用来存储 oracle 安装的所有软件组件的信息的,每个组件可能占用 150k<br> 的空间<br></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
作:
(1)创建 software inventory location pointer file: /etc/oraInst.loc,内容为
inventory_loc=$ORACLE_BASE/oraInventory
inst_group=oinstall
<wbr>修改该文件属性:chmod 644 /etc/oraInst.loc<wbr><br> (2)创建 inventory directory: $ORACLE_BASE/oraInventory<br><wbr><wbr> 修改文件属性: chmod -R 770 $ORACLE_BASE/oraInventory<br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> chgrp oinstall $ORACLE_BASE/oraInventory<br><wbr>oraInventory 目录是用来存储 oracle 安装的所有软件组件的信息的,每个组件可能占用 150k<br> 的空间<br></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
本文深入解读了用于创建Oracle安装关键目录和文件的orainstRoot.sh脚本,包括软件库存储目录设置、权限配置等核心步骤。
3844

被折叠的 条评论
为什么被折叠?



