当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
3 Star 16 Fork 10

Musker / oracle-single-install
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

oracle 12C 自动化静默安装脚本

下载安装脚本

wget https://raw.githubusercontent.com/spdir/oracle-single-install/master/oracle_install.sh && \ 
chmod +x oracle_install.sh

脚本使用安装前配置

root用户执行(尽量系统为纯净环境)

  1. 安装前请将Oracle 12C安装包放置在/tmp目录下
  2. 系统需要具备512MB的交换分区
  3. 系统可连通外网
  4. 并配置以下信息
  • 本机IP地址 HostIP
  • Oracle用户密码 OracleUserPasswd 默认为oracle.com
  • Oracle数据库管理员密码 ORACLE_DB_PASSWD 默认为 systemOracle.com
  • Oracle SID/ServerName SID 默认为 oriedb
  • 是否安装实例 IS_INSTANCE
    • 0-不安装实例
    • 1-安装单实例
    • 2-安装cdb : 因为CDB在初始化过程中需要输入参数,需要手动初始化,具体步骤会在最后进行提示
  • 设置单实例默认字符编码SINGLE_CHARSET
    • 1-AL32UTF8 默认
    • 2-ZHS16GBK
  • 选择配置静默安装配置文件的获取方式Get_Config_Method
    • 0-远程(默认)
    • 2-本地获取(脚本执行根目录下需要有conf目录存放配置文件)
      • db_install.rsp 数据库安装配置文件
      • dbca_single.rsp 数据库单实例初始化配置文件
      • initcdb.ora CDB初始化配置文件

Oracle 12C安装包下载

百度网盘

支持系统

注: 脚本已在CentOS 7.x进行测试。如果有其他什么问题,请提交 issues反馈

  • CentOS 7 64/32

注意: 在初始化cdb过程中如果出现 No options to container mapping specified, no options will be installed in any containers 信息不是报错,因为cdb初始化时间比较长,可以通过查看以上提示下给出的日志路径查看初始化情况

MIT License Copyright (c) 2018 Musker.Chao Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

让Oracle数据库安装变得简单化, 只需简单配置就可快速部署单实例和CDB容器的快速安装 展开 收起
Shell
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/spdir/oracle-single-install.git
git@gitee.com:spdir/oracle-single-install.git
spdir
oracle-single-install
oracle-single-install
master

搜索帮助

14c37bed 8189591 565d56ea 8189591