网站网页设计多少钱,上海小红书seo,小广告公司如何起步,建论坛网站oracle docker版本安装教程 步骤拉取镜像运行镜像进入数据库配置连接数据库#xff0c;修改密码Navicat连接数据库 步骤
拉取镜像
docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g运行镜像
docker run -d -p 1521:1521 --name oracle11g registry.cn-ha… oracle docker版本安装教程 步骤拉取镜像运行镜像进入数据库配置连接数据库修改密码Navicat连接数据库 步骤
拉取镜像
docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g运行镜像
docker run -d -p 1521:1521 --name oracle11g registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g进入数据库配置
docker exec -it oracle11g bash【此步可省咯可以不修改密码】 切换成root用户root用户默认密码是helowin
su root修改环境变量创建软连接便于在oracle账户连接oracle数据库。
修改环境变量
vi /home/oracle/.bashrc在该文件的末尾加三行
export ORACLE_HOME/home/oracle/app/oracle/product/11.2.0/dbhome_2
export ORACLE_SIDhelowin
export PATH$ORACLE_HOME/bin:$PATH环境变量生效
source /home/oracle/.bashrc创建数据库运行命令软连接
ln -s $ORACLE_HOME/bin/sqlplus /usr/bin切换回oracle用户 su oracle su oracle连接数据库修改密码
sqlplus /nolog
conn /as sysdba修改密码为oraclen
alter user system identified by oraclen;
alter user sys identified by oraclen;
alter user scott account unlock;
alter user scott identified by oraclen;Navicat连接数据库 数据库默认服务名helowin地址localhost使用用户scott密码oraclen对大佬文章的补充说明。 Win11安装Docker Desktop运行Oracle 11g一