Windows 2016静默安装Oracle 19.3单机并打PSU到19.15
所需软件
p6880880_190000_MSWIN-x86-64.zip
p33829175_190000_MSWIN-x86-64.zip
WINDOWS.X64_193000_db_home.zip
静默安装软件
解压WINDOWS.X64_193000_db_home.zip到目录“D:\oracle19c\dbhome_1”下,然后执行setup.exe
若是静默安装,则以管理员用户执行如下命令:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | C:\Windows\system32>D:\oracle19c\dbhome_1\setup.bat -h Usage: runInstaller [<flag>] [<option>] Following are the possible flags: -help - display help. -silent - run in silent mode. The inputs can be a response file or a list of command line variable value pairs. [-ignorePrereqFailure - ignore all prerequisite checks failures.] -responseFile - specify the complete path of the response file to use. -logLevel - enable the log of messages up to the priority level provided in this argument. Valid options are: severe, warning, info, config, fine, finer, finest. -executePrereqs | -executeConfigTools | -createGoldImage -executePrereqs - execute the prerequisite checks only. -executeConfigTools - execute the config tools for an installed home. -createGoldImage - create a gold image from the current Oracle home. -destinationLocation - specify the complete path to where the created gold image will be located. [-exclFiles - specify the complete paths to the files to be excluded from the new gold image.] -debug - run in debug mode. -printdiskusage - log the debug information for the disk usage. -printmemory - log the debug information for the memory usage. -printtime - log the debug information for the time usage. -waitForCompletion - wait for the completion of the installation, instead of spawning the installer and returning the console prompt. -noconfig - do not execute the config tools. -noconsole - suppress the display of messages in the console. The console is not allocated. -ignoreInternalDriverError - ignore any internal driver errors. -noCopy - perform the configuration without copying the software on to the remote nodes. -applyRU - apply release update to the Oracle home. -applyOneOffs - apply one-off patch to the Oracle home. Multiple one-off patches can be passed as a comma separated list of locations. D:\oracle19c\dbhome_1\setup.bat -silent -ignorePrereqFailure -showProgress -responseFile d:\db.rsp oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0 oracle.install.option=INSTALL_DB_SWONLY ORACLE_BASE=D:\oracle19c oracle.install.db.InstallEdition=EE oracle.install.IsBuiltInAccount=false oracle.install.IsVirtualAccount=true |
中央目录:C:\Program Files\Oracle\Inventory\ContentsXML
打补丁
所需文件:
p6880880_190000_MSWIN-x86-64.zip
p33829175_190000_MSWIN-x86-64.zip
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | set ORACLE_HOME=D:\oracle19c\dbhome_1 set PATH=%ORACLE_HOME%\perl\bin;%PATH% set PERL5LIB= #<Press Enter> 1、备份D:\oracle19c\dbhome_1\OPatch为D:\oracle19c\dbhome_1\OPatch_bk 2、解压p6880880_190000_MSWIN-x86-64.zip到D:\oracle19c\dbhome_1目录 D:\oracle19c\dbhome_1\OPatch\opatch version 3、解压p33829175_190000_MSWIN-x86-64.zip cd d:\soft\p33829175_190000_MSWIN-x86-64\33829175 D:\oracle19c\dbhome_1\OPatch\opatch prereq CheckConflictAgainstOHWithDetail -ph ./ D:\oracle19c\dbhome_1\OPatch\opatch apply D:\oracle19c\dbhome_1\OPatch\opatch lspatches |
静默建库
windows的静默建库建议使用响应文件的方式,参考:https://www.xmmup.com/dbcajingmojiankubaocuodbt-06005-datafile-location-contains-invalid-characters.html