Commit 442bb4d3 authored by root's avatar root

Add oracle 12c

parent bc917d7a
# oracle 11g xe
Installation
docker pull registry.ispacesys.cn/public/oracle-xe-11g
Run with 8080 and 1521 ports opened:
docker run -d -p 8080:8080 -p 1521:1521 registry.ispacesys.cn/public/oracle-xe-11g
Run with data on host and reuse it:
docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle registry.ispacesys.cn/public/oracle-xe-11g
Run with customization of processes, sessions, transactions This customization is needed on the database initialization stage. If you are using mounted folder with DB files this is not used:
##Consider this formula before customizing:
#processes=x
#sessions=x*1.1+5
#transactions=sessions*1.1
# 使用 docker运行方式,初始化 processes sessions transactions
docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle\
-e processes=1000 \
-e sessions=1105 \
-e transactions=1215 \
registry.ispacesys.cn/public/oracle-xe-11g
registry-vpc.cn-qingdao.aliyuncs.com/wod/oracle:11g
Run with custom sys password:
docker run -d -p 8080:8080 -p 1521:1521 -e DEFAULT_SYS_PASS=sYs-p@ssw0rd registry.ispacesys.cn/public/oracle-xe-11g
Connect database with following setting:
# 设置密码运行
docker run -d -p 8080:8080 -p 1521:1521 -e DEFAULT_SYS_PASS=sYs-p@ssw0rd registry-vpc.cn-qingdao.aliyuncs.com/wod/oracle:11g
# Oracle 连接方式
hostname: localhost
port: 1521
......@@ -33,8 +21,7 @@ username: system
password: oracle
Password for SYS & SYSTEM:
oracle
Connect to Oracle Application Express web management console with following settings:
# Oracle 终端管理页面
http://localhost:8080/apex
workspace: INTERNAL
......
......@@ -2,19 +2,19 @@ configInfo:
- name: image
text: 镜像
type: text
value: "registry.ispacesys.cn/public/oracle-xe-11g"
value: "registry-vpc.cn-qingdao.aliyuncs.com/wod/oracle"
- name: tag
text: 版本
type: radio
value: ["latest"]
value: ["11g","12c"]
- name: nodeSelector.hostname
text: 服务器地址
type: text
value: "172.16.1.23"
value: "172.16.1.26"
- name: storageSpec
text: 存储类
type: storage
value: "rook-ceph-block"
value: "nfs-client"
storage: "4Gi"
- name: resources
text: 资源限制
......
image: "registry.ispacesys.cn/public/oracle-xe-11g"
tag: "latest"
image: "registry-vpc.cn-qingdao.aliyuncs.com/wod/oracle"
tag: "11g"
nodeSelector:
hostname: 172.16.1.23
hostname: 172.16.1.26
storageSpec:
volumeClaimTemplate:
spec:
......@@ -9,7 +9,7 @@ storageSpec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 1Gi
storage: 10Gi
selector: {}
busybox:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment