Commit 442bb4d3 authored by root's avatar root

Add oracle 12c

parent bc917d7a
# oracle 11g xe # oracle 11g xe
Installation # 使用 docker运行方式,初始化 processes sessions transactions
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 run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle\ docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle\
-e processes=1000 \ -e processes=1000 \
-e sessions=1105 \ -e sessions=1105 \
-e transactions=1215 \ -e transactions=1215 \
registry.ispacesys.cn/public/oracle-xe-11g registry-vpc.cn-qingdao.aliyuncs.com/wod/oracle:11g
Run with custom sys password: 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 hostname: localhost
port: 1521 port: 1521
...@@ -33,8 +21,7 @@ username: system ...@@ -33,8 +21,7 @@ username: system
password: oracle password: oracle
Password for SYS & SYSTEM: Password for SYS & SYSTEM:
oracle # Oracle 终端管理页面
Connect to Oracle Application Express web management console with following settings:
http://localhost:8080/apex http://localhost:8080/apex
workspace: INTERNAL workspace: INTERNAL
......
...@@ -2,19 +2,19 @@ configInfo: ...@@ -2,19 +2,19 @@ configInfo:
- name: image - name: image
text: 镜像 text: 镜像
type: text type: text
value: "registry.ispacesys.cn/public/oracle-xe-11g" value: "registry-vpc.cn-qingdao.aliyuncs.com/wod/oracle"
- name: tag - name: tag
text: 版本 text: 版本
type: radio type: radio
value: ["latest"] value: ["11g","12c"]
- name: nodeSelector.hostname - name: nodeSelector.hostname
text: 服务器地址 text: 服务器地址
type: text type: text
value: "172.16.1.23" value: "172.16.1.26"
- name: storageSpec - name: storageSpec
text: 存储类 text: 存储类
type: storage type: storage
value: "rook-ceph-block" value: "nfs-client"
storage: "4Gi" storage: "4Gi"
- name: resources - name: resources
text: 资源限制 text: 资源限制
......
image: "registry.ispacesys.cn/public/oracle-xe-11g" image: "registry-vpc.cn-qingdao.aliyuncs.com/wod/oracle"
tag: "latest" tag: "11g"
nodeSelector: nodeSelector:
hostname: 172.16.1.23 hostname: 172.16.1.26
storageSpec: storageSpec:
volumeClaimTemplate: volumeClaimTemplate:
spec: spec:
...@@ -9,7 +9,7 @@ storageSpec: ...@@ -9,7 +9,7 @@ storageSpec:
accessModes: ["ReadWriteOnce"] accessModes: ["ReadWriteOnce"]
resources: resources:
requests: requests:
storage: 1Gi storage: 10Gi
selector: {} selector: {}
busybox: 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