标签:mic bin ali registry docker code href aliyun gre
docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11gdocker run -d -p 1521:1521 --name oracle11g registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11gdocker start oracle11gdocker exec -it oracle11g bashsu root
helowinpasswd rootvi /etc/profile
export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2 export ORACLE_SID=helowin export PATH=$ORACLE_HOME/bin:$PATHhelowin, 或通过执行env | grep SID得到, 连接时用得到vi ~oracle/.bashrc
export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2 export ORACLE_SID=helowin export PATH=$ORACLE_HOME/bin:$PATHsource /etc/profileln -s $ORACLE_HOME/bin/sqlplus /usr/binsu oraclesqlplus /nolog
source ~oracle/.bashrc, 然后再执行一次conn /as sysdbaALTER USER SYSTEM IDENTIFIED BY "yourpwd00";
yourpwd00 为你的密码, 可自定义
标签:mic bin ali registry docker code href aliyun gre
原文地址:https://www.cnblogs.com/edhg/p/11531475.html