欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

Oracle 11g db soft的静默安装

程序员文章站 2024-02-03 17:38:58
...

前面关于操作系统的各种准备工作在此省略:1. 做一个respone文件dgdb-gt;cat db_install.rsp |grep -v ^#|grep -v ^$ gt

前面关于操作系统的各种准备工作在此省略:
1. 做一个respone文件
dgdb->cat db_install.rsp |grep -v ^#|grep -v ^$ > db_install2013.rsp
dgdb->more db_install2013.rsp
Oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=
ORACLE_HOSTNAME=
UNIX_GROUP_NAME=
INVENTORY_LOCATION=
SELECTED_LANGUAGES=en
ORACLE_HOME=
ORACLE_BASE=
oracle.install.db.InstallEdition=
oracle.install.db.EEOptionsSelection=false
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.3.0,oracle.oraolap:11.2.0.3.0,oracle.rdbms.
dm:11.2.0.3.0,oracle.rdbms.dv:11.2.0.3.0,oracle.rdbms.lbac:11.2.0.3.0,oracle.rdbms.rat:11.2.0.3.0
oracle.install.db.DBA_GROUP=
oracle.install.db.OPER_GROUP=
oracle.install.db.CLUSTER_NODES=
oracle.install.db.isRACOneInstall=
oracle.install.db.racOneServiceName=
oracle.install.db.config.starterdb.type=
oracle.install.db.config.starterdb.globalDBName=
oracle.install.db.config.starterdb.SID=
oracle.install.db.config.starterdb.characterSet=AL32UTF8
oracle.install.db.config.starterdb.memoryOption=true
oracle.install.db.config.starterdb.memoryLimit=
oracle.install.db.config.starterdb.installExampleSchemas=false
oracle.install.db.config.starterdb.enableSecuritySettings=true
oracle.install.db.config.starterdb.password.ALL=
oracle.install.db.config.starterdb.password.SYS=
oracle.install.db.config.starterdb.password.SYSTEM=
oracle.install.db.config.starterdb.password.SYSMAN=
oracle.install.db.config.starterdb.password.DBSNMP=
oracle.install.db.config.starterdb.control=DB_CONTROL
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
oracle.install.db.config.starterdb.automatedBackup.enable=false
oracle.install.db.config.starterdb.automatedBackup.osuid=
oracle.install.db.config.starterdb.automatedBackup.ospwd=
oracle.install.db.config.starterdb.storageType=
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
oracle.install.db.config.asm.diskGroup=
oracle.install.db.config.asm.ASMSNMPPassword=
MYORACLESUPPORT_USERNAME=
MYORACLESUPPORT_PASSWORD=
SECURITY_UPDATES_VIA_MYORACLESUPPORT=
DECLINE_SECURITY_UPDATES=
PROXY_HOST=
PROXY_PORT=
PROXY_USER=
PROXY_PWD=
PROXY_REALM=
COLLECTOR_SUPPORTHUB_URL=
oracle.installer.autoupdates.option=
oracle.installer.autoupdates.downloadUpdatesLoc=
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=

2. 修改了以下内容:
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/apps/oracle/oraInventory
SELECTED_LANGUAGES=en
ORACLE_HOME=/apps/oracle/product/11.2.0/dbhome_1
ORACLE_BASE=/apps/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.EEOptionsSelection=true
DECLINE_SECURITY_UPDATES=true

3. 开始静默安装
dgdb->./runInstaller -silent -force -responseFile /apps/soft/database/response/db_install2013.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 19237 MB Passed
Checking swap space: must be greater than 150 MB. Actual 3480 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-01-15_10-38-36AM. Please wait ...dgdb->[WARNING] [INS-13014] Target environment do not meet some optional requirements.
CAUSE: Some of the optional prerequisites are not met. See logs for details. /apps/oraInventory/logs/installActions2013-01-15_10-38-36AM.log
ACTION: Identify the list of failed prerequisite checks from the log: /apps/oraInventory/logs/installActions2013-01-15_10-38-36AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
You can find the log of this install session at:
/apps/oraInventory/logs/installActions2013-01-15_10-38-36AM.log
The installation of Oracle Database 11g was successful.
Please check '/apps/oraInventory/logs/silentInstall2013-01-15_10-38-36AM.log' for more details.
As a root user, execute the following script(s):
1. /apps/oracle/product/11.2.0/dbhome_1/root.sh

跑完root.sh,安装结束。

Oracle 11g db soft的静默安装