<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      Docker Oracle DataBase

      系統為 CentOS7,安裝 Docker:http://www.rzrgm.cn/jhxxb/p/11410816.html

       

      一、下載構建腳本

      wget https://codeload.github.com/oracle/docker-images/zip/refs/heads/main -O docker-images-main.zip
      sudo yum install -y unzip
      unzip docker-images-main.zip

       

      二、下載構建所需的安裝包

      https://www.oracle.com/database/technologies/oracle-database-software-downloads.html

      11g:

      cd docker-images-main/OracleDatabase/SingleInstance/dockerfiles/19.3.0/
      # https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html
      wget https://download.oracle.com/otn/linux/oracle19c/190000/LINUX.X64_193000_db_home.zip?AuthParam=1625820213_e8029c8bed6986229cbc39f533ce6977 -O LINUX.X64_193000_db_home.zip

       

      三、構建

      cd docker-images-main/OracleDatabase/SingleInstance/dockerfiles/
      ./buildContainerImage.sh -e -v 19.3.0 -o '--build-arg SLIMMING=false'

      選項說明

      [oracle@localhost dockerfiles]$ ./buildContainerImage.sh -h
      
      Usage: buildContainerImage.sh -v [version] -t [image_name:tag] [-e | -s | -x] [-i] [-o] [container build option]
      Builds a container image for Oracle Database.
      
      Parameters:
         -v: version to build
             Choose one of: 11.2.0.2  12.1.0.2  12.2.0.1  18.3.0  18.4.0  19.3.0  
         -t: image_name:tag for the generated docker image
         -e: creates image based on 'Enterprise Edition'
         -s: creates image based on 'Standard Edition 2'
         -x: creates image based on 'Express Edition'
         -i: ignores the MD5 checksums
         -o: passes on container build option
      
      * select one edition only: -e, -s, or -x
      
      LICENSE UPL 1.0
      
      Copyright (c) 2014,2021 Oracle and/or its affiliates.
      View Code

       

      四、運行

      docker run --restart=always --name oracle-19c \
      -p 1521:1521 -p 5500:5500 \
      -e ORACLE_SID=ORCLCDB \
      -e ORACLE_PDB=ORCLPDB1 \
      -e ORACLE_PWD=root \
      oracle/database:19.3.0-ee
      
      # 查看日志
      docker logs -f oracle-19c

      選項說明

      docker run --name <container name> \
      -p <host port>:1521 -p <host port>:5500 \
      -e ORACLE_SID=<your SID> \
      -e ORACLE_PDB=<your PDB name> \
      -e ORACLE_PWD=<your database passwords> \
      -e INIT_SGA_SIZE=<your database SGA memory in MB> \
      -e INIT_PGA_SIZE=<your database PGA memory in MB> \
      -e ORACLE_EDITION=<your database edition> \
      -e ORACLE_CHARACTERSET=<your character set> \
      -e ENABLE_ARCHIVELOG=true \
      -v [<host mount point>]:/opt/oracle/oradata \
      oracle/database:19.3.0-ee
      
      Parameters:
         --name:        The name of the container (default: auto generated).
         -p:            The port mapping of the host port to the container port.
                        Two ports are exposed: 1521 (Oracle Listener), 5500 (OEM Express).
         -e ORACLE_SID: The Oracle Database SID that should be used (default: ORCLCDB).
         -e ORACLE_PDB: The Oracle Database PDB name that should be used (default: ORCLPDB1).
         -e ORACLE_PWD: The Oracle Database SYS, SYSTEM and PDB_ADMIN password (default: auto generated).
         -e INIT_SGA_SIZE:
                        The total memory in MB that should be used for all SGA components (optional).
                        Supported 19.3 onwards.
         -e INIT_PGA_SIZE:
                        The target aggregate PGA memory in MB that should be used for all server processes attached to the instance (optional).
                        Supported 19.3 onwards.
         -e ORACLE_EDITION:
                        The Oracle Database Edition (enterprise/standard).
                        Supported 19.3 onwards.
         -e ORACLE_CHARACTERSET:
                        The character set to use when creating the database (default: AL32UTF8).
         -e ENABLE_ARCHIVELOG:
                        To enable archive log mode when creating the database (default: false).
                        Supported 19.3 onwards.
         -v /opt/oracle/oradata
                        The data volume to use for the database.
                        Has to be writable by the Unix "oracle" (uid: 54321) user inside the container!
                        If omitted the database will not be persisted over container recreation.
         -v /opt/oracle/scripts/startup | /docker-entrypoint-initdb.d/startup
                        Optional: A volume with custom scripts to be run after database startup.
                        For further details see the "Running scripts after setup and on startup" section below.
         -v /opt/oracle/scripts/setup | /docker-entrypoint-initdb.d/setup
                        Optional: A volume with custom scripts to be run after database setup.
                        For further details see the "Running scripts after setup and on startup" section below.
      View Code

       

      五、連接

      docker exec -it oracle-19c bash
      sqlplus / as sysdba
      
      sqlplus sys/<your password>@//localhost:1521/<your SID> as sysdba
      sqlplus system/<your password>@//localhost:1521/<your SID>
      sqlplus pdbadmin/<your password>@//localhost:1521/<Your PDB name>

      Oracle Enterprise Manager Express:https://localhost:5500/em/,登錄時 Container Name 留空,用戶名為 system 或 sys

      密碼

      若未指定 ORACLE_PWD 參數,可在輸出日志中搜索 ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: 找到密碼

      或者直接修改密碼

      docker exec <container name> ./setPassword.sh <your password>

       


      https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance

      https://container-registry.oracle.com

      https://www.jianshu.com/p/f0139aff1746

      https://github.com/search?q=oracle+11g

      posted @ 2021-07-10 12:17  江湖小小白  閱讀(736)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 亚洲gay片在线gv网站| 亚洲中文字幕成人综合网| 国产av成人精品播放| 97久久精品人人做人人爽| 国产欧美日韩高清在线不卡| 国产又色又刺激高潮视频| 国产成人午夜福利精品| 福利一区二区不卡国产| 国产丝袜在线精品丝袜不卡 | 国产精品国产三级国快看| 在线观看热码亚洲av每日更新| 国产亚洲欧洲av综合一区二区三区 | 国产极品美女高潮无套| 67194熟妇在线直接进入| 免费人成在线视频无码| 亚洲日本高清一区二区三区| 丁香五月天综合缴情网| 免费无码黄十八禁网站| 亚洲AV无码秘?蜜桃蘑菇| 欧美人与性动交ccoo| 精品亚洲一区二区三区四区| 日韩精品亚洲专在线电影| 亚洲精品成人片在线观看精品字幕 | 亚洲最大日韩精品一区| 国产精品尤物午夜福利| 四虎影视4hu4虎成人| 正在播放肥臀熟妇在线视频| 精品少妇人妻av无码专区| 亚洲不卡一区二区在线看| 香港经典a毛片免费观看播放| 中文字幕国产精品一二区| 欧美s码亚洲码精品m码| 国产美女久久精品香蕉| 精品日韩亚洲av无码| 大尺度国产一区二区视频| 桃花岛亚洲成在人线AV| 日日躁夜夜躁狠狠久久av| 无遮挡午夜男女xx00动态| 少妇人妻无码专区在线视频| 亚洲精品一区二区三区蜜臀| 午夜福利精品国产二区|