[oracle@adg19c ~]$ cat /home/oracle/19c_db_install.rsp
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_sch
ema_v19.0.0
oracle.install.option=INSTALL_DB_SWONLY
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/opt/oracle/oraInventory
ORACLE_BASE=/home/oracle/app
ORACLE_HOME=/home/oracle/app/product/19.3.0/dbhome_1
oracle.install.db.InstallEdition=EE
oracle.install.db.OSDBA_GROUP=dba
oracle.install.db.OSOPER_GROUP=oper
oracle.install.db.OSDGDBA_GROUP=dgdba
oracle.install.db.OSKMDBA_GROUP=kmdba
oracle.install.db.OSRACDBA_GROUP=racdba
oracle.install.db.OSBACKUPDBA_GROUP=oinstall
oracle.install.db.rootconfig.executeRootScript=true
oracle.install.db.rootconfig.configMethod=ROOT
# 运行安装命令
[oracle@adg19c ~]$ $ORACLE_HOME/runInstaller -silent -force -noconfig
-ignorePrereq -responseFile /home/oracle/19c_db_install.rsp
$ORACLE_HOME/runInstaller -silent -responseFile /home/oracle/19c_db_install.rsp
================================================================================
=========================================================
mkdir /oradata/
mkdir -p /oradata/fast_recovery_area
chmod 775 /oradata/datafile
chmod 775 /oradata/fast_recovery_area
vi /home/oracle/19c_dbca.rsp
responseFileVersion=/home/oracle/assistants/rspfmt_dbca_response_schema_v19.0.0
templateName=General_Purpose.dbc
gdbName=oxdb19c
sid=oxdb19c
createAsContainerDatabase=FALSE
sysPassword=oracle
systemPassword=oracle
datafileDestination=/oradata/
recoveryAreaDestination=/oradata/fast_recovery_area
storageType=FS
characterSet=AL32UTF8
nationalCharacterSet=AL16UTF16
sampleSchema=true
totalMemory=20480
databaseType=OLTP
emConfiguration=NONE
$dbca -silent -createDatabase -responseFile /home/oracle/19c_dbca.rsp
================================================================================
=========================================================
编写监听配置文件
vi /home/oracle/19c_netca.rsp
[GENERAL]
相关文档
评论