zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    yum提示Another app is currently holding the yum lock
    函数参数返回值作用域笔记
    递归内置函数笔记
    装饰器笔记
    函数笔记扩展
    集合笔记
    线程和进程
    函数笔记
    线程与进程的区别
    Ubuntu操作及各种命令笔记.txt
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13317171.html
Copyright © 2011-2022 走看看