静默创建实例

11G
一、编辑响应文件
[GENERAL]
 RESPONSEFILE_VERSION = "11.2.0"
 OPERATION_TYPE = "createDatabase"
 [CREATEDATABASE]
 GDBNAME = "tbomnew"
 SID = "tbomnew"
 TEMPLATENAME = "General_Purpose.dbc"
 STORAGETYPE=FS
 DATAFILEDESTINATION =/oracle/oradata/tbomnew/
 CHARACTERSET = "UTF8"
 NATIONALCHARACTERSET= "AL16UTF16"
 TOTALMEMORY = "8192"
 SYSPASSWORD = "oracle"
 SYSTEMPASSWORD = "oracle"

二、开始创建
$ORACLE_HOME/bin/dbca -silent -responseFile /home/oracle/dbca_install.rsp


19c
dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname ibomtest -sid ibomtest -characterSet AL32UTF8 -TOTALMEMORY 102400 -STORAGETYPE FS -DATAFILEDESTINATION /oracle/oradata/ibomtest/ -sysPassword oracle -systemPassword oracle
 

你可能感兴趣的:(oracle管理)