Oracl11G靜默安裝-6

luckyfriends發表於2015-03-31
11 開始靜默安裝
[oracle@localhost database]$ ./runInstaller -silent -responseFile '/opt/oracle_zip/database/response/db_install.rsp' -noconfig -ignorePrereq

[oracle@locahost opt]$ /opt/database/runInstaller -silent -force -responseFile /opt/database/response/db_install.rsp 
安裝完畢後會提示上述的資訊,按照要求執行上述指令碼即可

12 配置監聽程式
DISPLAY=127.0.0.1:0.0
export DISPLAY
[oracle@locahost logs]$ $ORACLE_HOME/bin/netca -silent -responseFile /opt/database/response/netca.rsp 
13 靜默dbca建庫
[oracle@locahost logs]$ vi /opt/database/response/dbca.rsp
[GENERAL]
RESPONSEFILE_VERSION = "11.2.0"
OPERATION_TYPE = "createDatabase"
[CREATEDATABASE]
GDBNAME = "ora11g"
SID = "ora11g"
TEMPLATENAME = "General_Purpose.dbc"
STORAGETYPE=FS
DATAFILEDESTINATION =/opt/app/oradata
RECOVERYAREADESTINATION=/opt/app/flash_recovery_area
CHARACTERSET = "AL32UTF8"
NATIONALCHARACTERSET= "AL16UTF16"
LISTENERS=LISTENER
TOTALMEMORY = "700"
SYSPASSWORD = "oracle"
SYSTEMPASSWORD = "oracle"
[oracle@locahost database]$ $ORACLE_HOME/bin/dbca -silent -responseFile /opt/database/response/dbca.rsp 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14710393/viewspace-1480591/,如需轉載,請註明出處,否則將追究法律責任。

相關文章