Windows 7平台静默安装11.2.0.4软件及静默建库


Windows平台静默安装11.2.0.4软件


E:\database\setup.exe -silent  -force -noconfig -IgnoreSysPreReqs -ignorePrereq  -showProgress oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 oracle.install.option=INSTALL_DB_SWONLY SELECTED_LANGUAGES=zh_CN,en ORACLE_HOME=E:\u01\app\oracle\product\11.2.0\dbhome_1 ORACLE_BASE=E:\u01\app\oracle oracle.install.db.InstallEdition=EE oracle.install.db.EEOptionsSelection=false SECURITY_UPDATES_VIA_MYORACLESUPPORT=false DECLINE_SECURITY_UPDATES=true oracle.installer.autoupdates.option=SKIP_UPDATES ORACLE_HOSTNAME=win7lhr

或:


E:\database\setup.exe -silent  -force -noconfig -IgnoreSysPreReqs -ignorePrereq  -showProgress ^
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 ^
oracle.install.option=INSTALL_DB_SWONLY ^
SELECTED_LANGUAGES=zh_CN,en ^
ORACLE_HOME=E:\u01\app\oracle\product\11.2.0\dbhome_1 ^
ORACLE_BASE=E:\u01\app\oracle ^
oracle.install.db.InstallEdition=EE ^
oracle.install.db.EEOptionsSelection=false ^
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false ^
DECLINE_SECURITY_UPDATES=true ^
oracle.installer.autoupdates.option=SKIP_UPDATES



日志:


正在启动 Oracle Universal Installer...
 
 
准备从以下地址启动 Oracle Universal Installer C:\Users\XIAOMA~1\AppData\Local\Temp\OraInstall2018-10-10_09-51-58PM. 请稍候...a可以在以下位置找到本次安装会话的日志:
 C:\Program Files\Oracle\Inventory\logs\installActions2018-10-10_09-51-58PM.log
 
准备 正在进行中。
..................................................   10% 完成。
 
准备成功。
Dll to load is C:\Users\XIAOMA~1\AppData\Local\Temp\OraInstall2018-10-10_09-51-58PM\Win64RunProcesses.dll
Loading psapi.dll from C:\Users\XIAOMA~1\AppData\Local\Temp\OraInstall2018-10-10_09-51-58PM\psapi.dll
 
复制文件 正在进行中。
..................................................   15% 完成。
..................................................   22% 完成。
..................................................   27% 完成。
..................................................   32% 完成。
..................................................   37% 完成。
..................................................   47% 完成。
..................................................   52% 完成。
..................................................   57% 完成。
..................................................   63% 完成。
..................................................   69% 完成。
..................................................   74% 完成。
..................................................   79% 完成。
..................................................   84% 完成。
........................................PersistEnv
..........   89% 完成。
..................................................   94% 完成。
..................................................   95% 完成。
..................................................   96% 完成。
..................................................   97% 完成。
..................................................   98% 完成。
..................................................   99% 完成。
..................................................   100% 完成。
PersistEnv
 
安装程序文件 正在进行中。
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\odp.net\bin\2.x\oracle.dataaccess.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\odp.net\bin\2.x\resources\zh-chs\oracle.dataaccess.resources.dll is registered successfully in GAC.
INFO: Oracle.DataAccess.Dll Factory entry with higher version exists! Please use force option if it has to be replaced
ERROR: Encountered a problem while registering ODP counters
mscorlib:未找到方法“Oracle.DataAccess.Client.OraclePerfCounterCollection.CreateCounters”。
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\odp.net\publisherpolicy\2.x\policy.2.102.oracle.dataaccess.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\odp.net\publisherpolicy\2.x\policy.2.111.oracle.dataaccess.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\odp.net\publisherpolicy\2.x\policy.2.112.oracle.dataaccess.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\odp.net\bin\4\oracle.dataaccess.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\odp.net\publisherpolicy\4\policy.4.112.oracle.dataaccess.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\odp.net\bin\4\resources\zh-chs\oracle.dataaccess.resources.dll is registered successfully in GAC.
INFO: Configuration Section oracle.dataaccess.client removed!
INFO: Oracle.DataAccess.Dll Provider Factory entry removed!
 
INFO: The following section has been added.
<section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
 
 
INFO: The following element added under DbProviderFactories.
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
 
INFO: Counters registered successfully in the system.
 
Oracle11 INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\asp.net\bin\2.x\oracle.web.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\asp.net\publisherpolicy\2.x\policy.2.111.oracle.web.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\asp.net\publisherpolicy\2.x\policy.2.112.oracle.web.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\asp.net\bin\2.x\resources\zh-chs\oracle.web.resources.dll is registered successfully in GAC.
INFO: Following entries added in GroupedProviders.xml file.
<MembershipProvider name="OracleMembershipProvider" /><RoleProvider name="OracleRoleProvider" />
INFO: Oracle.Web.Dll Provider entry with higher version exists! Please use force option if it has to be replaced
INFO: Oracle.Web.Dll Provider entry with higher version exists! Please use force option if it has to be replaced
INFO: Oracle.Web.Dll Provider entry with higher version exists! Please use force option if it has to be replaced
INFO: Oracle.Web.Dll Provider entry with higher version exists! Please use force option if it has to be replaced
INFO: Oracle.Web.Dll Provider entry with higher version exists! Please use force option if it has to be replaced
INFO: Oracle.Web.Dll Provider entry with higher version exists! Please use force option if it has to be replaced
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\asp.net\bin\4\oracle.web.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\asp.net\publisherpolicy\4\policy.4.112.oracle.web.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\asp.net\bin\4\resources\zh-chs\oracle.web.resources.dll is registered successfully in GAC.
ERROR: File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ASP.NETWebAdminFiles\App_Data\GroupedProviders.xml
ERROR: Error Loading GroupedProviders.xml file.
 
 
INFO: Following entry added to machine.config file.
<add name="OracleMembershipProvider" type="Oracle.Web.Security.OracleMembershipProvider, Oracle.Web, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
 
INFO: Following entry added to machine.config file.
<add name="OracleProfileProvider" type="Oracle.Web.Profile.OracleProfileProvider, Oracle.Web, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />
 
INFO: Following entry added to machine.config file.
<add name="OracleRoleProvider" type="Oracle.Web.Security.OracleRoleProvider, Oracle.Web, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />
 
INFO: Following entry added to machine.config file.
<add name="OracleSiteMapProvider" type="Oracle.Web.SiteMap.OracleSiteMapProvider, Oracle.Web, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" securityTrimmingEnabled="true" />
 
INFO: Following entry added to machine.config file.
<add name="OraclePersonalizationProvider" type="Oracle.Web.Personalization.OraclePersonalizationProvider, Oracle.Web, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />
 
INFO: Following entry added to machine.config file.
<add name="OracleWebEventProvider" type="Oracle.Web.Management.OracleWebEventProvider, Oracle.Web, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" buffer="true" bufferMode="OracleNotification" />
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\ode.net\bin\2.x\oracle.database.extensions.dll is registered successfully in GAC.
INFO: e:\u02\app\oracle\product\11.2.0\dbhome_1\ode.net\bin\4\oracle.database.extensions.dll is registered successfully in GAC.
 
安装程序文件成功。
Oracle Database 11g 的 安装 已成功。
请查看 'C:\Program Files\Oracle\Inventory\logs\silentInstall2018-10-10_09-51-58PM.log' 以获取详细资料。
Successfully Setup Software.
 
请按 Enter 退出...


setup.exe 帮助:


setup.exe -help

 

Setup.exe 闪退 :

1、 C 盘空间满了

2、 命令有问题



Windows平台下静默建库脚本:


dbca -silent -createDatabase -templateName General_Purpose.dbc -responseFile NO_VALUE ^
-gdbname OCPLHR2  -sid OCPLHR2 ^
-sysPassword oracle -systemPassword oracle ^
-datafileDestination "E:\u01\app\oracle\oradata" ^
-recoveryAreaDestination "E:\u01\app\oracle\fast_recovery_area" ^
-storageType FS ^
-characterset ZHS16GBK -nationalCharacterSet AL16UTF16 ^
-sampleSchema true ^
-memoryPercentage 10 ^
-databaseType OLTP ^
-emConfiguration NONE






About Me

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

● 本文作者:小麦苗,部分内容整理自网络,若有侵权请联系小麦苗删除

● 本文在itpub( http://blog.itpub.net/26736162 )、博客园( http://www.cnblogs.com/lhrbest )和个人weixin公众号( xiaomaimiaolhr )上有同步更新

● 本文itpub地址: http://blog.itpub.net/26736162

● 本文博客园地址: http://www.cnblogs.com/lhrbest

● 本文pdf版、个人简介及小麦苗云盘地址: http://blog.itpub.net/26736162/viewspace-1624453/

● 数据库笔试面试题库及解答: http://blog.itpub.net/26736162/viewspace-2134706/

● DBA宝典今日头条号地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826

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

● QQ群号: 230161599 (满) 、618766405

● weixin群:可加我weixin,我拉大家进群,非诚勿扰

● 联系我请加QQ好友 646634621 ,注明添加缘由

● 于 2018-10-01 06:00 ~ 2018-10-31 24:00 在魔都完成

● 最新修改时间:2018-10-01 06:00 ~ 2018-10-31 24:00

● 文章内容来源于小麦苗的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解

● 版权所有,欢迎分享本文,转载请保留出处

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

小麦苗的微店 https://weidian.com/s/793741433?wfr=c&ifr=shopdetail

小麦苗出版的数据库类丛书 http://blog.itpub.net/26736162/viewspace-2142121/

小麦苗OCP、OCM、高可用网络班 http://blog.itpub.net/26736162/viewspace-2148098/

小麦苗腾讯课堂主页 https://lhr.ke.qq.com/

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

使用 weixin客户端 扫描下面的二维码来关注小麦苗的weixin公众号( xiaomaimiaolhr )及QQ群(DBA宝典)、添加小麦苗weixin, 学习最实用的数据库技术。

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

欢迎与我联系

 

 



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26736162/viewspace-2215927/,如需转载,请注明出处,否则将追究法律责任。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值