【配置安裝】靜默安裝Oracle資料庫軟體12c&19c
12&19c 靜默安裝資料庫軟體照比 11g 稍微有點變化,試著做一次就行,順便踩踩坑。安裝前準備工作本文不再闡述
一、 規劃
二、 資料庫軟體安裝
1. 解壓oracle 軟體到 ORACLE_HOME
$ ls -lh LINUX.X64_193000_db_home.zip
-rw-r--r-- 1 oracle oinstall 2.9G Dec 1 14:21 LINUX.X64_193000_db_home.zip
$ unzip LINUX.X64_193000_db_home.zip -d /u01/app/oracle/product/19.0.0/dbhome_1
2. 編輯響應檔案(responseFile)
靜默安裝可以選擇用或不用響應檔案,我個人習慣還是使用響應檔案,以免遺漏了某個引數。
1) 複製響應檔案到指定目錄
19c 相應檔案位於 : 解壓目錄 /install/response/db_install.rsp 檔案
$ cd /u01/app/oracle/product/19.0.0/dbhome_1/install/response
$ cp db_install.rsp /home/oracle/
2) 編輯響應檔案
$ vi /home/oracle/db_install.rsp
# 只安裝資料庫軟體
oracle.install.option=INSTALL_DB_SWONLY
# 使用者用於安裝軟體的組名
UNIX_GROUP_NAME=oinstall
# oracle 產品目錄
INVENTORY_LOCATION= /u01/app/oracle /oraInventory
# ORACLE_HOME
ORACLE_HOME=/u01/app/oracle/product/ 19.0.0/dbhome_1
# ORACLE_BASE
ORACLE_BASE=/u01/app/oracle
# 安裝版本為企業版
oracle.install.db.InstallEdition=EE
# 使用者用於授權 OSDBA 許可權的組名
oracle.install.db.DBA_GROUP= oinstall
# 使用者用於授權 OPER
oracle.install.db.OPER_GROUP=dba
# 使用者執行備份的組,會授予 SYSBACKUP 許可權
oracle.install.db.OSBACKUPDBA_GROUP= oinstall
# 以下所有的 os 組都可以填寫為 oinstall
# root 指令碼選擇手動執行
oracle.install.db.rootconfig.executeRootScript=false
# 延遲安全檢查
DECLINE_SECURITY_UPDATES=true
3. 執行安裝
在 安裝 過程中不存在互動作用,所有的資訊、錯誤和告警都寫到日誌檔案中,只在結束時螢幕上列印出日誌檔案的位置,除此以外,沒有其他的訊息。
$ cd /u01/app/oracle/product/19. 0 .0/dbhome_1
$ ./runInstaller -silent -responseFile / home/oracle/ db_install.rsp -ignorePrereq
Launching Oracle Database Setup Wizard...
[WARNING] [INS-13014] Target environment does not meet some optional requirements.
CAUSE: Some of the optional prerequisites are not met. See logs for details. /home/oracle/oraInventory/logs/InstallActions2020-12-26_11-37-40AM/installActions2020-12-26_11-37-40AM.log
ACTION: Identify the list of failed prerequisite checks from the log: /home/oracle/oraInventory/logs/InstallActions2020-12-26_11-37-40AM/installActions2020-12-26_11-37-40AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
The response file for this session can be found at:
/u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_2020-12-26_11-37-40AM.rsp
You can find the log of this install session at:
/home/oracle/oraInventory/logs/InstallActions2020-12-26_11-37-40AM/installActions2020-12-26_11-37-40AM.log
As a root user, execute the following script(s):
1. /u01/app/oracle/product/19.0.0/dbhome_1/root.sh
Execute /u01/app/oracle/product/19.0.0/dbhome_1/root.sh on the following nodes:
[primary]
Successfully Setup Software with warning(s).
要留意上面兩個日誌的輸出內容
root 使用者執行上面產生的指令碼
# /u01/app/oracle/product/19.0.0/dbhome_1/root.sh
此時已經安裝完成
---- end ----
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31529886/viewspace-2745585/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【配置安裝】Oracle靜默建庫for 12c&19c CDBOracle
- 靜默安裝oracle軟體Oracle
- 靜默安裝ORACLE 軟體Oracle
- oracle 11g資料庫軟體靜默安裝Oracle資料庫
- 【oracle】靜默安裝oracle軟體和資料庫之三Oracle資料庫
- 【oracle】靜默安裝oracle軟體和資料庫之二Oracle資料庫
- 【oracle】靜默安裝oracle軟體和資料庫之一Oracle資料庫
- Oracle 11g靜默安裝軟體+手工建立資料庫Oracle資料庫
- Oracle資料庫靜默安裝實踐Oracle資料庫
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- 靜默安裝Oracle12.2資料庫Oracle資料庫
- 靜默安裝Oracle11g資料庫Oracle資料庫
- 【DBCA -SILENT】靜默方式安裝11gR2 oracle資料庫軟體Oracle資料庫
- 靜默方式安裝、升級oracle(三): 升級資料庫軟體及資料庫Oracle資料庫
- 【DBCA -SILENT】靜默安裝之rac資料庫安裝資料庫
- 資料庫靜默安裝總結資料庫
- oracle靜默安裝Oracle
- Oracle 靜默安裝Oracle
- 【配置上線】靜默安裝資料庫Oracle 11gR2資料庫Oracle
- 靜默安裝資料庫—dbca.rsp資料庫
- 靜默安裝ORACLE(文件)Oracle
- 靜默方式安裝、升級oracle(二): 建立資料庫Oracle資料庫
- Windows 7平臺靜默安裝11.2.0.4軟體及靜默建庫Windows
- oracle靜默安裝raw裝置Oracle
- Android靜默安裝和靜默解除安裝Android
- 11gR2 靜默安裝RAC 叢集和資料庫軟體資料庫
- Oracle 12C 單例項資料庫靜默安裝Oracle單例資料庫
- 靜默安裝、建庫(轉)
- 靜默安裝資料庫介質和建立資料庫資料庫
- 靜默安裝oracle時報錯Oracle
- ORACLE 11.2.0.4靜默安裝Oracle
- Oracle靜默安裝(單機)Oracle
- Oracle靜默安裝說明Oracle
- 在CentOS-6.7上靜默安裝Oracle 11g及靜默建立資料庫CentOSOracle資料庫
- 使用靜默方式安裝11g資料庫資料庫
- oracle安裝:使用響應檔案靜默安裝Oracle
- Oracle安裝軟體及建立資料庫(字元安裝方式)Oracle資料庫字元
- 靜默安裝oracle11gR2軟體並且手動建庫Oracle