OCP-1Z0-052-V8.02-110题

本文介绍在使用Oracle Universal Installer (OUI)进行静默或抑制模式安装之前,需要手动创建oraInst.loc文件的情况及步骤。该文件用于指定Oracle Inventory目录的位置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

110. Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressed

mode for an installation?

A.Run the root.sh script.

B.Create the oraInst.loc file.

C.Create the tnsnames.ora file.

D.Run the oraintRoot.sh script.

Answer: B  

 

答案解析:

 

Creating the oraInst.loc File

If you plan to install Oracle products using Oracle Universal Installer in silent or response file mode, then you must manually create the oraInst.loc file if it does not exist. This file specifies the location of the Oracle Inventory directory where Oracle Universal Installer creates the inventory of Oracle products installed on the system.

Note:

If Oracle software was installed previously on the system, the oraInst.loc file might exist. If the file does exist, you do not have to create a file.

To create the oraInst.loc file, follow these steps:

  1. Switch the user to root:

    $ su - root
  2. Create the /var/opt/oracle directory if it does not exist:

  3. Change the directory:

    # cd /var/opt/oracle
  4. Use a text editor to create the oraInst.loc file, containing the following lines:

    inventory_loc=u01/app/oraInventory
    inst_group=oinstall

    In this example, inventory_loc is the location of the Oracle inventory; and the inst_group parameter shows the name of the Oracle Inventory group (in this example, oinstall).

  5. Enter the following commands to set the appropriate owner, group, and permissions on the oraInst.loc file:

    # chown oracle:oinstall oraInst.loc
    # chmod 664 oraInst.loc

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值