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、 命令有问题

目录
相关文章
|
1月前
|
监控 编译器 Windows
Qt5实现Windows平台串口通信
Qt5实现Windows平台串口通信
|
1月前
|
安全 Linux iOS开发
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
312 53
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
|
1月前
|
Linux API iOS开发
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
178 14
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
|
1月前
|
Ubuntu API C++
C++标准库、Windows API及Ubuntu API的综合应用
总之,C++标准库、Windows API和Ubuntu API的综合应用是一项挑战性较大的任务,需要开发者具备跨平台编程的深入知识和丰富经验。通过合理的架构设计和有效的工具选择,可以在不同的操作系统平台上高效地开发和部署应用程序。
99 11
|
30天前
|
Java 测试技术 网络安全
Burp Suite Professional 2025.10 for Windows x64 - 领先的 Web 渗透测试软件
Burp Suite Professional 2025.10 for Windows x64 - 领先的 Web 渗透测试软件
78 0
Burp Suite Professional 2025.10 for Windows x64 - 领先的 Web 渗透测试软件
|
3月前
|
安全 数据挖掘 Android开发
Cellebrite UFED 4PC 7.72 (Windows) - Android 和 iOS 移动设备取证软件
Cellebrite UFED 4PC 7.72 (Windows) - Android 和 iOS 移动设备取证软件
235 2
Cellebrite UFED 4PC 7.72 (Windows) - Android 和 iOS 移动设备取证软件
|
3月前
|
人工智能 数据可视化 数据挖掘
Cellebrite Physical Analyzer 7.67 (Windows) - 取证数据分析软件
Cellebrite Physical Analyzer 7.67 (Windows) - 取证数据分析软件
112 1
Cellebrite Physical Analyzer 7.67 (Windows) - 取证数据分析软件
|
2月前
|
自然语言处理 监控 安全
Magnet DVR Examiner 3.19 for Windows - 视频取证软件
Magnet DVR Examiner 3.19 for Windows - 视频取证软件
44 0
Magnet DVR Examiner 3.19 for Windows - 视频取证软件