【oracle】靜默安裝oracle軟體和資料庫之二
本文記錄如何靜默建立資料庫,可以使用靜默檔案可以選擇無響應檔案安裝
1 編輯建立資料庫的響應檔案:
dbca.rsp
ESPONSEFILE_VERSION = "10.0.0"
OPERATION_TYPE = "createDatabase"
GDBNAME = "kbbi.RAC"
SID = "kbbi"
TEMPLATENAME = "kbbi.dbt"
SYSPASSWORD = "kbbi123"
SYSTEMPASSWORD = "kbbi123"
DATAFILEDESTINATION ="/opt/app/oracle/oradata"
RECOVERYAREADESTINATION="/opt/app/oracle/flash_recovery_area"
STORAGETYPE=FS
CHARACTERSET = "ZHS16GBK"
DATABASETYPE = "OLTP"
MEMORYPERCENTAGE = "40"
SCRIPTDESTINATION ="/opt/app/oracle/admin/kbbi/scripts"
EMCONFIGURATION="LOCAL"
2 也可以執行如下命令直接不使用響應檔案來建立資料庫:
oracle@RAC:/home/oracle/10201_database>dbca -silent -createDatabase \
> -templateName /home/oracle/10201_database/New_Database.dbt \ --這個是必須指定的建立資料庫的模板。
> -gdbName kbbi \
> -sid kbbi \
> -sysPassword system123 \
> -systempassword system123 \
> -datafileDestination /opt/app/oracle/oradata \
> -storageType FS \
> -characterSet zhs16gbk \
> -memoryPercentage 60 \
> -recoveryAreaDestination /opt/app/oracle/flash_recovery_area \
> -databaseType MULTIPURPOSE
Creating and starting Oracle instance
1% complete
4% complete
Creating database files
8% complete
Creating data dictionary views
9% complete
10% complete
12% complete
13% complete
14% complete
15% complete
17% complete
18% complete
20% complete
21% complete
Adding Oracle JVM
22% complete
28% complete
34% complete
40% complete
42% complete
Adding Oracle Data Mining
43% complete
44% complete
46% complete
Adding Oracle Text
47% complete
49% complete
50% complete
Adding Oracle XML DB
52% complete
53% complete
54% complete
58% complete
Adding Oracle Intermedia
59% complete
60% complete
71% complete
Adding Oracle OLAP
72% complete
73% complete
74% complete
75% complete
Adding Oracle Spatial
76% complete
77% complete
78% complete
83% complete
Adding Enterprise Manager Repository
84% complete
86% complete
88% complete
Completing Database Creation
89% complete
90% complete
91% complete
95% complete
99% complete
100% complete
Look at the log file "/opt/app/oracle/10.2/db/cfgtoollogs/dbca/kbbi/kbbi.log" for further details.
進行登入測試:
oracle@RAC:/home/oracle/10201_database>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 7 23:01:44 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL>
SQL>
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-710466/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【配置安裝】靜默安裝Oracle資料庫軟體12c&19cOracle資料庫
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- 靜默安裝Oracle11g資料庫Oracle資料庫
- 靜默安裝Oracle資料庫11gOracle資料庫
- 靜默方式安裝、升級oracle(三): 升級資料庫軟體及資料庫Oracle資料庫
- Oracle靜默安裝Oracle
- 靜默方式安裝、升級oracle(二): 建立資料庫Oracle資料庫
- 【配置上線】靜默安裝資料庫Oracle 11gR2資料庫Oracle
- oracle 19C 靜默安裝Oracle
- 靜默安裝oracle時報錯Oracle
- centos 7.4靜默安裝oracle 19.3CentOSOracle
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- Oracle Linux 7.1 靜默安裝Weblogic 12.2.1.3OracleLinuxWeb
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- 「Oracle」Oracle 資料庫安裝Oracle資料庫
- Windows 7平臺靜默安裝11.2.0.4軟體及靜默建庫Windows
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- 靜默安裝Oracle建庫時報Template General Purpose does not existOracle
- 【配置安裝】Oracle靜默建庫for 12c&19c CDBOracle
- 如何用靜默方式刪除oracle軟體Oracle
- Oracle 19C的下載和安裝部署(圖形安裝和靜默安裝)Oracle
- 靜默方式安裝oracle 11g 完整攻略Oracle
- oracle11g客戶端靜默安裝Oracle客戶端
- 靜默安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create資料庫
- oracle 19c dataguard silent install (oracle 19c dataguard 靜默安裝)Oracle
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- Oracle 資料庫打包安裝Oracle資料庫
- Oracle for Windows安裝和配置之二OracleWindows
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- Linux下利用指令碼靜默安裝Oracle11GLinux指令碼Oracle
- oracle rac資料庫的安裝Oracle資料庫
- vgant 安裝oracle資料庫racOracle資料庫
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.2. 資料庫建立OracleLinux資料庫
- 19c(19.3) 單機資料庫靜默安裝資料庫
- 阿里雲伺服器靜默安裝Oracle 11.2.0.4.0 -64bit阿里伺服器Oracle
- 使用Xmanager軟體遠端呼叫圖形化安裝Oracle資料庫Oracle資料庫