docker:在docker上安装oracle11g

2020-04-06  本文已影响0人  淼哥1986

时间略长

docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g
docker run -p 1521:1521 --name oracle_11g -d --restart=always registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g
docker exec -it 容器id /bin/bash
vi /etc/profile
export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2
export ORACLE_SID=helowin
export PATH=$ORACLE_HOME/bin:$PATH
source /home/oracle/.bash_profile
alter user system identified by oracle;
alter user sys identified by oracle;
上一篇下一篇

猜你喜欢

热点阅读