【oracle】静默安装oracle软件和数据库之一

oracle 的静默安装可以在无交互模式安装数据库,适合没有图形界面的情况下进行oracle 数据库软件的安装和数据库创建netca 的配置

本文对静默安装数据库软件进行技术介绍。执行静默安装需要一个响应文件oracle根据响应文件来进行默认安装。

静默安装的企业级版本的响应文件:

ee.rsp

RESPONSEFILE_VERSION=2.2.1.0.0

UNIX_GROUP_NAME="oinstall"

FROM_LOCATION="/home/oracle/database/stage/products.xml"

ORACLE_BASE="/opt/app/oracle"

ORACLE_HOME="/opt/app/oracle/10.2/db"

ORACLE_HOME_NAME="OraDbHome1"

TOPLEVEL_COMPONENT={"oracle.server","10.2.0.1.0"}

DEINSTALL_LIST={"oracle.server","10.2.0.1.0"}

SHOW_SPLASH_SCREEN="false"

SHOW_WELCOME_PAGE="false"

SHOW_COMPONENT_LOCATIONS_PAGE="false"

SHOW_CUSTOM_TREE_PAGE="false"

SHOW_SUMMARY_PAGE="false"

SHOW_INSTALL_PROGRESS_PAGE="false"

SHOW_REQUIRED_CONFIG_TOOL_PAGE="false"

SHOW_CONFIG_TOOL_PAGE="false"

SHOW_RELEASE_NOTES="false"

SHOW_ROOTSH_CONFIRMATION="false"

SHOW_END_SESSION_PAGE="false"

SHOW_EXIT_CONFIRMATION="false"

NEXT_SESSION="false"

NEXT_SESSION_ON_FAIL="false"

SHOW_DEINSTALL_CONFIRMATION="false"

SHOW_DEINSTALL_PROGRESS="false"

ACCEPT_LICENSE_AGREEMENT=true

COMPONENT_LANGUAGES={"en","zh_CN"}

CLUSTER_NODES=

INSTALL_TYPE="EE"

s_nameForDBAGrp="dba"

s_nameForOPERGrp="dba"

b_oneClick="false"

进行静默安装,执行如下语句:

oracle@RAC:/home/oracle/10201_database>./runInstaller -silent  -responseFile /home/oracle/10201_database/ee.rsp

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2 Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-11-07_09-40-15PM. Please wait ...oracle@RAC:/home/oracle/10201_database>Oracle Universal Installer, Version 10.2.0.1.0 Production

Copyright (C) 1999, 2005, Oracle. All rights reserved.

You can find a log of this install session at:

/opt/app/oracle/oraInventory/logs/installActions2011-11-07_09-40-15PM.log.

oracle@RAC:/home/oracle/10201_database>................................................................................................... 100% Done.

Loading Product Information

...................................................................

oracle@RAC:/home/oracle/10201_database>.................................................. 100% Done.

Analyzing dependencies 

.........................................................

Starting execution of Prerequisites...

Total No of checks: 11

Performing check for CertifiedVersions

Checking operating system requirements ...

Expected result: One of redhat-3,redhat-4,SuSE-9

Actual Result: redhat-4

Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================

Performing check for Packages

Checking operating system package requirements ...

Checking for make-3.79; found make-1:3.81-3.el5.        Passed

Checking for binutils-2.15; found binutils-2.17.50.0.6-12.el5.  Passed

Checking for gcc-3.2; found gcc-4.1.2-46.el5.   Passed

Checking for libaio-0.3.96; found libaio-0.3.106-5.     Passed

Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================

Performing check for Kernel

Checking kernel parameters

Checking for semmsl=250; found semmsl=250.      Passed

Checking for semmns=32000; found semmns=32000.  Passed

Checking for semopm=100; found semopm=200.      Passed

Checking for semmni=128; found semmni=200.      Passed

Checking for shmmax=536870912; found shmmax=48719476736.        Passed

Checking for shmmni=4096; found shmmni=4096.    Passed

Checking for shmall=2097152; found shmall=2097152.      Passed

Checking for file-max=65536; found file-max=6815744.    Passed

Checking for VERSION=2.6.9; found VERSION=2.6.18-164.11.1.el5.  Passed

Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=9000 - 65500.  Passed 

Checking for rmem_default=262144; found rmem_default=262144.    Passed

Checking for rmem_max=262144; found rmem_max=4194304.   Passed

Checking for wmem_default=262144; found wmem_default=262144.    Passed

Checking for wmem_max=262144; found wmem_max=1048586.   Passed

Check complete. The overall result of this check is: Passed

Check complete: Passed <<<<

Recommendation: Perform. operating system specific instructions to update the kernel parameters.

=======================================================================

Performing check for GLIBC

Checking Recommended glibc version

Expected result: ATLEAST=2.3.2-95.27 

Actual Result: 2.5-42

Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================

Performing check for TotalMemory

Checking physical memory requirements ...

Expected result: 922MB

Actual Result: 3956MB

Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================

Performing check for SwapSpace

Checking available swap space requirements ...

Expected result: 3956MB

Actual Result: 2047MB

Check complete. The overall result of this check is: Failed <<<<

Check complete: Failed <<<<

Problem: The system does not have the required swap space.

Recommendation: Make more swap space available to perform. the install.

=======================================================================

Performing check for DetectIfDHCPAssignedIP

Checking Network Configuration requirements ...

Check complete. The overall result of this check is: Not executed <<<<

Check complete: Not executed <<<<

Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses.  However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly.  See the Installation Guide for more details on installing the software on systems configured with DHCP.

=======================================================================

Performing check for OracleBase

Validating ORACLE_BASE location (if set) ...

Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================

Performing check for OracleHomeSpace

Checking Oracle Home path for spaces...

Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================

Performing check for DetectAnyInvalidASMHome

Checking for proper system clean-up....

Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================

Performing check for CompatibilityChecks

Checking for Oracle Home incompatibilities ....

Actual Result: NEW_HOME

Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================

PrereqChecks complete

........................................... 100% Done.

-----------------------------------------------------------------------------

Summary

Global Settings

    Source: /home/oracle/10201_database/stage/products.xml

    Oracle Home: /opt/app/oracle/10.2/db (OraDbHome1)

    Installation Type: Enterprise Edition

Product Languages

   English

   Simplified Chinese

Space Requirements

   / Required 1.76GB (includes 130MB temporary) : Available 362.48GB

New Installations (109 products)

   Oracle Database 10g 10.2.0.1.0 

   Enterprise Edition Options 10.2.0.1.0 

   Oracle Partitioning 10.2.0.1.0 

   Oracle Spatial 10.2.0.1.0 

   Oracle OLAP 10.2.0.1.0 

   Oracle Enterprise Manager Console DB 10.2.0.1.0 

   Oracle Net Services 10.2.0.1.0 

   Oracle Database 10g 10.2.0.1.0 

   Oracle Net Listener 10.2.0.1.0 

   HAS Files for DB 10.2.0.1.0 

   Oracle Internet Directory Client 10.2.0.1.0 

   Oracle Call Interface (OCI) 10.2.0.1.0 

   Oracle Programmer 10.2.0.1.0 

   Oracle interMedia 10.2.0.1.0 

   Enterprise Manager Agent Core 10.2.0.1.0 

   Oracle JVM 10.2.0.1.0 

   Database Configuration and Upgrade Assistants 10.2.0.1.0 

   Oracle interMedia Locator 10.2.0.1.0 

   Oracle XML Development Kit 10.2.0.1.0 

   Oracle Text 10.2.0.1.0 

   Oracle Database Utilities 10.2.0.1.0 

   Generic Connectivity Common Files 10.2.0.1.0 

 ....

-----------------------------------------------------------------------------

Installation in progress (Mon Nov 07 21:40:27 CST 2011)

...............................................................   9% Done.

...............................................................  19% Done.

...............................................................  29% Done.

...............................................................  39% Done.

...............................................................  49% Done.

......................................................           58% Done.

Install successful

Linking in progress (Mon Nov 07 21:41:42 CST 2011)

.                                                                58% Done.

Link successful

Setup in progress (Mon Nov 07 21:43:16 CST 2011)

..........................                                      100% Done.

Setup successful

End of install phases.(Mon Nov 07 21:43:19 CST 2011)

Starting to execute configuration assistants

Configuration assistant "Oracle Net Configuration Assistant" failed 

SEVERE:OUI-10104:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured. Select the failed assistants and click the 'Retry' button to retry them.

--------------------------------------

The "/opt/app/oracle/10.2/db/cfgtoollogs/configToolFailedCommands" script. contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script. with passwords (if any) before executing the same.

The "/opt/app/oracle/10.2/db/cfgtoollogs/configToolAllCommands" script. contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this script. with passwords (if any) before executing the same.

--------------------------------------

WARNING:A new inventory has been created in this session. However, it has not yet been registered as the central inventory of this system.

To register the new inventory please run the script. '/opt/app/oracle/oraInventory/orainstRoot.sh' with root privileges. 

If you do not register the inventory, you may not be able to update or patch the products you installed.

The following configuration scripts 

/opt/app/oracle/10.2/db/root.sh

need to be executed as root for configuring the system. If you skip the execution of the configuration tools, the configuration will not be complete and the product wont function properly. In order to get the product to function properly, you will be required to execute the scripts and the configuration tools after exiting the OUI.

 

The installation of Oracle Database 10g was successful, but some optional configuration assistants failed, were cancelled or skipped.

Please check '/opt/app/oracle/oraInventory/logs/silentInstall2011-11-07_09-40-15PM.log' for more details.

时间: 2025-01-21 08:13:33

【oracle】静默安装oracle软件和数据库之一的相关文章

linux 之静默安装oracle

Web服务器上面的Linux一般是不会有图形界面的,所有通过图形界面来安装Linux的方式在没有图形界面的Linux上面是行不通的,我们要使用的安装方式叫做Linux的静默安装.即在没有图形界面的Linux上面安装. 1. 下载地址 http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html 下载.tar.gz文件即可,oracle在Window上面是有分位数的,但在linux上面没有分,只

使用oracle VM安装oracle 数据库时如何显示虚拟机的图形窗口

由于使用oracle VM安装oracle 数据库,当需要图形显示的时候,如何操作呢? 环境介绍: ----------------------------- VM server host OS:VM linux Hostname: cnexa1.cn.oracle.com IP:10.182.208.112 (外网IP,可以通过client端连接上来) IP:192.0.2.1 (VM内网IP,可以连接上面的虚拟机) ----------------------------- VM node1

【oracle】静默安装oracle软件和数据库之二

本文记录如何静默创建数据库,可以使用静默文件可以选择无响应文件安装 1 编辑创建数据库的响应文件: dbca.rsp ESPONSEFILE_VERSION = "10.0.0" OPERATION_TYPE = "createDatabase" GDBNAME = "kbbi.RAC" SID = "kbbi" TEMPLATENAME = "kbbi.dbt" SYSPASSWORD = "k

【oracle】静默安装oracle软件和数据库之三

对于静默安装netca ,出现如下错误: oracle@RAC:/home/oracle/10201_database>netca -silent -responsefile /home/oracle/10201_database/netca.rsp ****DISPLAY environment variable not set!     Oracle Net Configuration Assistant is a GUI tool     which requires that DISPL

【oracle】静默安装 oracle 11gr2

[序言] oracle 提供了静默安装方法在不适用图形界面的情况下安装 oracle 软件 ,创建db,配置netca,快速完成oracle 的部署.  在以下情形中可以使用静默安装    a OUI 的 GUI 界面远程交互比较慢 .    b 数据库服务器无法使用图形界面访问.    c 批量部署oracle (标准环境统一情况下可以使用oracle 的relink ,这样更加快速). 本文主要讲述基本安装步骤,不涉及oracle 安装完成之后的运维规范: 监控,备份,定时日志清理,基础运维

Linux RHEL6 x64 命令行静默安装 Oracle 12c

安装详见 http://docs.oracle.com/database/121/LADBI/app_nonint.htm#LADBI7832 http://docs.oracle.com/database/121/LADBI/pre_install.htm#LADBI222 下载软件. drwxr-xr-x 7 digoal users 4096 Jul 7 2014 database -rw-r--r-- 1 digoal users 1673544724 Dec 22 17:19 linu

在在Oracle VirtralBox 安装 Oracle 10g For Oracle Linux 5

正式Oracle Linux5.3上安装数据库 1.检查操作系统版本 [root@ora10g ~]# uname -a Linux ora10g.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 02:16:47 EDT 2009 i686 i686 i386 GNU/Linux [root@ora10g ~]# lsb_release-a LSB Version:   :core-3.1-ia32:core-3.1-noarch:graphics-3.1

oracle 11g-win7 安装Oracle 11g 卡在85% 不动了。

问题描述 win7 安装Oracle 11g 卡在85% 不动了. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options Export file created by EXPORT:V11.02.00 via con

CentOS下无界面静默安装oracle 11g

0.下载oracle 11g的2个安装包,上传到服务器,并解压2个包在一个目录下(我的目录是/upload)   1.安装依赖包,如需离线安装,需部署本地源 yum -y install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel gcc- gcc-c++ libaio-devel libaio libgcc libstdc++ libstdc+