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

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

Windows平台静默安装Oracle软件

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 退出...

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

setup.exe 帮助

setup.exe -help

Setup.exe 闪退

1、 C 盘空间满了

2、 命令有问题

目录
相关文章
|
4月前
|
XML C# 数据格式
掌握了在Windows平台上查看DLL依赖的方法
掌握了在Windows平台上查看DLL依赖的方法
531 4
|
5月前
|
监控 Windows
Windows平台RTSP|RTMP播放器如何实时调节音量
我们在做Windows平台RTSP、RTMP播放器的时候,有这样的技术需求,特别是多路监控的时候,并不是每一路audio都需要播放出来的,所以,这时候,需要有针对音量调节的设计
|
1月前
|
人工智能 数据处理 C#
AI Dev Gallery:微软开源 Windows AI 模型本地运行工具包和示例库,助理开发者快速集成 AI 功能
微软推出的AI Dev Gallery,为Windows开发者提供开源AI工具包和示例库,支持本地运行AI模型,提升开发效率。
87 13
|
5月前
|
监控 C# 块存储
Windows平台RTSP|RTMP播放器如何叠加OSD文字
做Windows平台RTSP|RTMP播放器的时候,特别是多路播放场景下,开发者希望可以给每一路RTSP或RTMP流添加个额外的OSD台标,以区分不同的设备信息(比如添加摄像头所在位置),本文主要探讨,如何动态添加OSD台标。
Windows平台RTSP|RTMP播放器如何叠加OSD文字
|
4月前
|
NoSQL Shell MongoDB
Windows 平台安装 MongoDB
10月更文挑战第10天
93 0
Windows 平台安装 MongoDB
|
5月前
|
Linux Android开发 iOS开发
Windows平台RTSP|RTMP播放器如何实现实时录像功能
Windows平台RTSP、RTMP播放器实时录像接口设计,实际上,除了Windows平台,我们Linux、Android、iOS平台也是一样的设计,单纯的录像模块,如果做的全面,也不是一两个接口可以搞定的
134 1
|
4月前
|
并行计算 开发工具 异构计算
在Windows平台使用源码编译和安装PyTorch3D指定版本
【10月更文挑战第6天】在 Windows 平台上,编译和安装指定版本的 PyTorch3D 需要先安装 Python、Visual Studio Build Tools 和 CUDA(如有需要),然后通过 Git 获取源码。建议创建虚拟环境以隔离依赖,并使用 `pip` 安装所需库。最后,在源码目录下运行 `python setup.py install` 进行编译和安装。完成后即可在 Python 中导入 PyTorch3D 使用。
475 0
|
5月前
|
XML JSON C#
有哪些让你「 爽到爆炸 」的 Windows 软件?
有哪些让你「 爽到爆炸 」的 Windows 软件?
|
Web App开发 负载均衡 测试技术
Windows平台分布式架构实践 - 负载均衡
原文:Windows平台分布式架构实践 - 负载均衡 概述   最近.NET的世界开始闹腾了,微软官方终于加入到了对.NET跨平台的支持,并且在不久的将来,我们在VS里面写的代码可能就可以通过Mono直接在Linux和Mac上运行。
1581 0
|
Web App开发 负载均衡 算法
Windows平台分布式架构实践 - 负载均衡(下)
原文:Windows平台分布式架构实践 - 负载均衡(下) 概述   我们在上一篇Windows平台分布式架构实践 - 负载均衡中讨论了Windows平台下通过NLB(Network Load Balancer) 来实现网站的负载均衡,并且通过压力测试演示了它的效果,可以说还是非常的理想的。
1515 0