Sign inSign up

coffeezy/oracle11g

By coffeezy

Updated over 4 years ago

Image
0

226

coffeezy/oracle11g repository overview

创建容器

docker run -itd --name lhrora11204 -h lhrora11204 -p 1521:1521 -p 2222:22 -p 1158:1158 coffeezy/oracle11g init

进入容器

  1. docker exec -it lhrora11204 bash
  2. root@localhost:~# su - oracle
  3. oracle@localhost:~# sas (等同于sqlplus / as sysdba)

启动EM

  1. emctl start dbconsole

  2. http://lhrora11204:1158/em/console/aboutApplication

    oracle EM的访问方式由https换成http 反之依然
    https 变成 http
    执行 $ emctl unsecure dbconsole
    然后 $ emctl start dbconsole

    http 变成 https
    执行 $ emctl secure dbconsole
    然后 $ emctl start dbconsole

其它

  1. root 密码:oracle
  2. oracle 数据库
    SID:ORCL
    SYSTEM 密码:system
    SYS 密码:sys
    DBSNMP 密码:oracle

Tag summary

Content type

Image

Digest

Size

5.1 GB

Last updated

over 4 years ago

docker pull coffeezy/oracle11g