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


    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

  • 相关阅读:
    文件操作fopen
    随机数应用
    随机数
    通过命令行参数打开文件
    命令行参数
    内存分区
    const修饰指针+volatile +restrict
    类型限定词——const
    (app笔记)Appium如何开启、配置、启用
    (app笔记)Memory Fill内存填充
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13317171.html
Copyright © 2020-2023  润新知