静默安装Oracle及创建数据库11GR2
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 oracle.install.option=INSTALL_DB_SWONLY DECLINE_SECURITY_UPDATES=true UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/opt/oraInventory SELECTED_LANGUAGES=en ORACLE_HOME=/opt/oracle/product/11.2.0 ORACLE_BASE=/opt/oracle oracle.install.db.InstallEdition=EE oracle.install.db.isCustomInstall=true oracle.install.db.customComponents=oracle.rdbms.partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.lbac:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,oracle.rdbms.rat:11.2.0.1.0 oracle.install.db.DBA_GROUP=dba oracle.install.db.OPER_GROUP=oinstall SECURITY_UPDATES_VIA_MYORACLESUPPORT=false DECLINE_SECURITY_UPDATES=true
将以上内容保存为db_install.rsp
创新互联主营景德镇网站建设的网络公司,主营网站建设方案,成都App定制开发,景德镇h5成都微信小程序搭建,景德镇网站营销推广欢迎景德镇等地区企业咨询
静默安装
./runInstaller -silent -force -noconfig -responseFile /opt/software/database/db_install.rsp
静默创建数据库
dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname dbname -sid dbname -sysPassword password -systemPassword password -responseFile NO_VALUE -datafileDestination /opt/oracle/oradata/ -redoLogFileSize 50 -recoveryAreaDestination /opt/oracle/flash_recovery_area -storageType FS -characterSet AL32UTF8 -nationalCharacterSet AL16UTF16 -sampleSchema false -memoryPercentage 30 -totalMemory 4096 -databaseType OLTP -emConfiguration NONE
静默删除数据库
dbca -silent -deleteDatabase -sourcedb dbname -sysDBAUserName sys -sysDBAPassword password
网页题目:静默安装Oracle及创建数据库11GR2
转载注明:http://scgulin.cn/article/pesohd.html