oracle 19c database 静默安装
参考How to Install 11.2 /12.1/12.2/18c/19c Database/Client Software in Silent Mode with/without Using Response File (Doc ID 885643.1)
How to Install RAC Database 11.2.0.x in a Silent Mode (Doc ID 2093595.1)
/u01/app/db/product/19.3/db_1/runInstaller -silent -debug -force \ oracle.install.option=INSTALL_DB_SWONLY \ UNIX_GROUP_NAME=oinstall \ ORACLE_HOME=/u01/app/db/product/19.3/db_1 \ ORACLE_BASE=/u01/app/db \ oracle.install.db.InstallEdition=EE \ oracle.install.db.DBA_GROUP=dba \ oracle.install.db.OPER_GROUP=dba \ oracle.install.db.OSBACKUPDBA_GROUP=dba \ oracle.install.db.OSDGDBA_GROUP=dba \ oracle.install.db.OSKMDBA_GROUP=dba \ oracle.install.db.OSRACDBA_GROUP=dba \ DECLINE_SECURITY_UPDATES=true
/u01/app/grid/gridSetup.sh -silent -ignorePrereqFailure -responseFile /home/grid/grid.rsp
/u01/app/oracle/product/19c/dbhome_1/runInstaller -silent -ignorePrereqFailure -responseFile /home/oracle/db.rsp
asmca -silent -createDiskGroup -diskGroupName datadg -diskList /dev/asm/asm_data1,/dev/asm/asm_data2,/dev/asm/asm_data3 -redundancy EXTERNAL -au_size 8
dbca -ignorePrereqFailure -silent -createDatabase -responseFile /home/oracle/dbca-cdb.rsp
19c客户端静默安装
[qdtais1]@ht19c01[/home/oracle]$cat client.rsp oracle.install.responseFileVersion=/oracle/install/rspfmt_clientinstall_response_schema_v19.0.0 UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oraInventory ORACLE_HOME=/u01/app/db/product/19.3/db_1 ORACLE_BASE=/u01/app/db oracle.install.client.installType=Administrator oracle.install.client.customComponents= oracle.install.client.schedulerAgentHostName= oracle.install.client.schedulerAgentPortNumber=
./runInstaller -silent -ignorePrereqFailure -responseFile /home/oracle/client.rsp
[qdtais1]@ht19c01[/tmp/client]$./runInstaller -silent -ignorePrereqFailure -responseFile /home/oracle/client.rsp Starting Oracle Universal Installer... Checking Temp space: must be greater than 415 MB. Actual 19266 MB Passed Checking swap space: must be greater than 150 MB. Actual 2047 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2022-07-25_06-16-28PM. Please wait ...[qdtais1]@ht19c01[/tmp/client]$[WARNING] [INS-13014] Target environment does not meet some optional requirements. CAUSE: Some of the optional prerequisites are not met. See logs for details. installActions2022-07-25_06-16-28PM.log ACTION: Identify the list of failed prerequisite checks from the log: installActions2022-07-25_06-16-28PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually. The response file for this session can be found at: /u01/app/db/product/19.3/db_1/install/response/client_2022-07-25_06-16-28PM.rsp The installation of Oracle Client 19c was successful. Please check '/u01/app/oraInventory/logs/silentInstall2022-07-25_06-16-28PM.log' for more details. As a root user, execute the following script(s): 1. /u01/app/oraInventory/orainstRoot.sh Successfully Setup Software with warning(s). The log of this install session can be found at: /u01/app/oraInventory/logs/installActions2022-07-25_06-16-28PM.log
[oracle@ncdb:/home/oracle]$ dbca -silent -deleteDatabase -sourceDB nccdb
Enter SYS user password: