Silent Oracle 12C Database Installation

Oracle 12C Database Binaries Installation

Create response file and save it to /tmp/12cR2_response.rsp. This is going to Install Oracle Binaries.

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.2.0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=prim.oracle.com
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/data/app/oraInventory
SELECTED_LANGUAGES=en
ORACLE_HOME=/data/app/oracle/product/12.2.0.1
ORACLE_BASE=/data/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.OSDBA_GROUP=dba
oracle.install.db.OSOPER_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
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
oracle.installer.autoupdates.option=SKIP_UPDATES

Go to database folder and run below command.

./runInstaller -ignoreSysPrereqs -showProgress -silent -responseFile /tmp/12cR2_response.rsp

Silent Oracle 12C Database Installation
Silent Oracle 12C Database Installation

Oracle 12C Database installation

Response file location

/data/database/response/dbca.rsp

/data/database/response/netca.rsp

/data/app/oracle/product/12.2.0.1/assistants/dbca/dbca.rsp

vi /tmp/dbca.rsp to install database

gdbName=prim2
sid=prim
createAsContainerDatabase=true
numberOfPDBs=1
pdbName=pdbprim2
pdbAdminPassword=Oracle1234
templateName=General_Purpose.dbc
sysPassword=Oracle1234
systemPassword=Oracle1234
emConfiguration=DBEXPRESS
emExpressPort=5500
dbsnmpPassword=Oracle1234
datafileDestination=/data/app/oracle/oradata
recoveryAreaDestination=/data/app/oracle/flash_recovery_area
storageType=FS
characterSet=AL32UTF8
nationalCharacterSet=AL16UTF16
listeners=LISTENER
sampleSchema=true
databaseType=OLTP
automaticMemoryManagement=TRUE
memoryPercentage=40

./dbca -silent -createDatabase -responseFile /tmp/dbca.rsp

Share and Enjoy !

0Shares
0 0 0

Recommended For You

ankushthavali

About the Author: ankushthavali

Leave a Reply

Your email address will not be published. Required fields are marked *