使用silent模式安裝Oracle 11g
點選(此處)摺疊或開啟
- ./runInstaller -silent -noconfig -responseFile /home/oracle/response/db_install.rsp
OS:Oracle Linux 6.6 64bit
DB:Oracle 11.2.0.4
先複製response檔案模板,在
點選(此處)摺疊或開啟
-
ls response/
- dbca.rsp db_install.rsp netca.rsp
vi db_install.rsp
點選(此處)摺疊或開啟
-
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
-
oracle.install.option=INSTALL_DB_SWONLY
-
ORACLE_HOSTNAME=
-
UNIX_GROUP_NAME=oinstall
-
INVENTORY_LOCATION=/u01/app/oracle/oraInventory
-
SELECTED_LANGUAGES=en,zh_CN
-
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
-
ORACLE_BASE=/u01/app/oracle
-
oracle.install.db.InstallEdition=EE
-
oracle.install.db.EEOptionsSelection=false
-
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0,oracle.rdbms.rat:11.2.0.4.0
-
oracle.install.db.DBA_GROUP=dba
-
oracle.install.db.OPER_GROUP=oper
-
oracle.install.db.CLUSTER_NODES=
-
oracle.install.db.isRACOneInstall=
-
oracle.install.db.racOneServiceName=
-
oracle.install.db.config.starterdb.type=
-
oracle.install.db.config.starterdb.globalDBName=
-
oracle.install.db.config.starterdb.SID=
-
oracle.install.db.config.starterdb.characterSet=AL32UTF8
-
oracle.install.db.config.starterdb.memoryOption=true
-
oracle.install.db.config.starterdb.memoryLimit=
-
oracle.install.db.config.starterdb.installExampleSchemas=false
-
oracle.install.db.config.starterdb.enableSecuritySettings=true
-
oracle.install.db.config.starterdb.password.ALL=
-
oracle.install.db.config.starterdb.password.SYS=
-
oracle.install.db.config.starterdb.password.SYSTEM=
-
oracle.install.db.config.starterdb.password.SYSMAN=
-
oracle.install.db.config.starterdb.password.DBSNMP=
-
oracle.install.db.config.starterdb.control=DB_CONTROL
-
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
-
oracle.install.db.config.starterdb.automatedBackup.enable=false
-
oracle.install.db.config.starterdb.automatedBackup.osuid=
-
oracle.install.db.config.starterdb.automatedBackup.ospwd=
-
oracle.install.db.config.starterdb.storageType=
-
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
-
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
-
oracle.install.db.config.asm.diskGroup=
-
oracle.install.db.config.asm.ASMSNMPPassword=
-
MYORACLESUPPORT_USERNAME=
-
MYORACLESUPPORT_PASSWORD=
-
SECURITY_UPDATES_VIA_MYORACLESUPPORT=
-
DECLINE_SECURITY_UPDATES=true
-
PROXY_HOST=
-
PROXY_PORT=
-
PROXY_USER=
-
PROXY_PWD=
-
PROXY_REALM=
-
COLLECTOR_SUPPORTHUB_URL=
-
oracle.installer.autoupdates.option=
-
oracle.installer.autoupdates.downloadUpdatesLoc=
-
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
- AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
點選(此處)摺疊或開啟
- ./runInstaller -silent -noconfig -responseFile /home/oracle/response/db_install.rsp
2. 建立監聽器
點選(此處)摺疊或開啟
- netca -silent -responsefile /home/oracle/response/netca.rsp
3. 建立DB
vi dbca.rsp
點選(此處)摺疊或開啟
-
$ grep -v '#' dbca.rsp | grep [^a-Z]
-
[GENERAL]
-
RESPONSEFILE_VERSION = "11.2.0"
-
OPERATION_TYPE = "createDatabase"
-
[CREATEDATABASE]
-
GDBNAME = "red"
-
SID = "red"
-
TEMPLATENAME = "General_Purpose.dbc"
-
EMCONFIGURATION = "LOCAL"
-
DATAFILEDESTINATION = /oradata
-
RECOVERYAREADESTINATION = /fra
-
STORAGETYPE=FS
-
CHARACTERSET = "ZHS16GBK"
- NATIONALCHARACTERSET= "AL16UTF16"
點選(此處)摺疊或開啟
-
export DISPLAY="
:0.0"
- dbca -silent -recoveryAreaDestination /fra -responseFile /home/oracle/response/dbca.rsp
建立DB完成後,預設DB執行在非歸檔模式,根據需要調整FRA大小路徑和歸檔模式
刪除DB
編輯response檔案
點選(此處)摺疊或開啟
-
$ grep -v '#' dbca.rsp | grep [^a-Z]
-
[DELETEDATABASE]
- SOURCEDB = "red"
點選(此處)摺疊或開啟
- dbca -silent -deleteDatabase -responseFile /home/oracle/response/dbca.rsp
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22621861/viewspace-1694406/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- solaris下-silent方式安裝oracle clientOracleclient
- Silent安裝oracle 11.2 for Oel5.5Oracle
- silent安裝oracle10g 10.2.0.4 patchOracle
- silent安裝oracle10g 10.2.0.5 patchOracle
- 【DBCA -SILENT】靜默安裝如何啟用歸檔模式模式
- Oracle 11g RAC Silent Install For NFSOracleNFS
- Solaris10下Silent模式安裝Oracle1106RAC環境(八)模式Oracle
- Solaris10下Silent模式安裝Oracle1106RAC環境(七)模式Oracle
- Solaris10下Silent模式安裝Oracle1106RAC環境(六)模式Oracle
- Solaris10下Silent模式安裝Oracle1106RAC環境(五)模式Oracle
- Solaris10下Silent模式安裝Oracle1106RAC環境(四)模式Oracle
- Solaris10下Silent模式安裝Oracle1106RAC環境(三)模式Oracle
- Solaris10下Silent模式安裝Oracle1106RAC環境(二)模式Oracle
- Solaris10下Silent模式安裝Oracle1106RAC環境(一)模式Oracle
- Oracle 11.1.0.6 for linux X86 64的SILENT安裝OracleLinux
- Oracle 11G 安裝文件Oracle
- Oracle 11g解除安裝Oracle
- 安裝Oracle RAC 11gOracle
- ORACLE 11G 安裝注意Oracle
- oracle10g rac__靜默安裝_silent node installationOracle
- 安裝oracle 11g 使用ASM儲存 詳細OracleASM
- 【DBCA -SILENT】靜默安裝之rac資料庫安裝資料庫
- oracle 19c dataguard silent install (oracle 19c dataguard 靜默安裝)Oracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- Oracle 11G 安裝 bbed 工具Oracle
- ubuntu中安裝oracle 11gUbuntuOracle
- Oracle 11g 靜默安裝Oracle
- oracle 11g安裝報錯Oracle
- ORACLE 11G完美解除安裝Oracle
- Oracle 11g for linux 安裝OracleLinux
- Oracle Linux中安裝Oracle 11gOracleLinux
- AIX6.1安裝ORACLE 11g(單機使用ASM)AIOracleASM
- Soloaris 10上9201的SILENT安裝
- oracle 11g 單例項安裝Oracle單例
- linux下安裝oracle 11gLinuxOracle
- Solaris 10上安裝Oracle 11gOracle
- Oracle 11g Database靜默安裝OracleDatabase
- CentOS 7下安裝Oracle 11gCentOSOracle