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

  • 相关阅读:
    traceroute命令
    Apache部署django项目
    Linux中变量#,#,@,0,0,1,2,2,*,$$,$?的含义
    Python正则表达式
    Python 字符串格式化 (%操作符)
    Python初学者的一些编程技巧
    Linux命令 ls -l 输出内容含义详解
    Django 前后台的数据传递示列
    hibernate基础(一)
    MySQL之多表
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13317171.html
Copyright © 2011-2022 走看看