github: https://github.com/spdir/oracle-single-installgit
wget https://raw.githubusercontent.com/spdir/oracle-single-install/master/oracle_install.sh && \ chmod +x oracle_install.shgithub
root用戶執行(儘可能系統爲純淨環境)shell
/tmp
目錄下HostIP
OracleUserPasswd
默認爲oracle.com
ORACLE_DB_PASSWD
默認爲 systemOracle.com
SID
默認爲 oriedb
IS_INSTANCE
SINGLE_CHARSET
AL32UTF8
默認ZHS16GBK
Get_Config_Method
conf
目錄存放配置文件)
db_install.rsp
數據庫安裝配置文件dbca_single.rsp
數據庫單實例初始化配置文件initcdb.ora
CDB初始化配置文件百度網盤數據庫
注: 腳本已在CentOS 7.x進行測試。若是有其餘什麼問題,請提交 issues
反饋oracle
注意: 在初始化cdb過程當中若是出現
No options to container mapping specified, no options will be installed in any containers
信息不是報錯,由於cdb初始化時間比較長,能夠經過查看以上提示下給出的日誌路徑查看初始化狀況app