当前位置:网站首页>Docker installing Oracle_ 11g
Docker installing Oracle_ 11g
2022-07-02 01:12:00 【Behind Changchang's hard training】
Docker install Oracle_11g
1. Pull oracle_11g Mirror image
docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g
2. establish Oracle_11g Containers
docker run -d -p 1521:1521 --name oracle11g registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g
3. see oracle11g Whether the container was created successfully
docker ps -a
4. start-up oracle11g Containers
docker start oracle11g
5. Get into oracle11g Container configuration
docker exec -it oracle11g bash
6. Switch to root Configure under user
su root
The password for :helowin
7、 edit profile File configuration ORACLE environment variable
vi /etc/profile
8、 Finally, add the following 3 Line configuration
export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2
export ORACLE_SID=helowin
export PATH=$ORACLE_HOME/bin:$PATH
preservation ::wq
Make the configuration work :source /etc/profile
9、 Create a soft connection
ln -s $ORACLE_HOME/bin/sqlplus /usr/bin
10、 Switch to oracle user
su - oracle
11、 Sign in sqlplus And modify it sys、system User password
sqlplus /nolog
conn /as sysdba
12、 modify sys、system User password and refresh permissions
alter user system identified by oracle;
alter user sys identified by oracle;
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
sign out :exit;
13、 Check it out. oracle Instance status
lsnrctl status
14、 use nacivat Connect oracle database
service name :helowin
( Be sure to fill in helowin)
password :oracle( The first 12 Step set password )
Be careful : If it is the first time to connect, you need one operation to connect successfully
1. decompression instantclient_**
2. Add environment variables
add to instantclient_** Path to environment variable path. increase path=F:\Program Files\instantclient_11_2 that will do .
ORACLE_HOME=F:\Program Files\instantclient_11_2
LD_LIBRARY_PATH=%ORACLE_HOME%
path=%ORACLE_HOME%
3. stay navicat Middle configuration oci.dll file ( As shown in the figure )
边栏推荐
- Leetcode 45 Jumping game II (2022.02.14)
- Sql--- related transactions
- Excel search and reference function
- @Valid parameter verification does not take effect
- Minimize the error
- 【微信授权登录】uniapp开发小程序,实现获取微信授权登录功能
- AIX存储管理之卷组属性的查看和修改(二)
- What is commercial endowment insurance? Is commercial endowment insurance safe?
- sso单点登录的实现。
- Global and Chinese market of aircraft MRO software 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢
Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model
ACM教程 - 快速排序(常规 + 尾递归 + 随机基准数)
I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
Output results of convolution operation with multiple tensors and multiple convolution kernels
【微信授权登录】uniapp开发小程序,实现获取微信授权登录功能
gradle
Day 13 of hcip (relevant contents of BGP agreement)
gradle
教你白嫖Amazon rds一年并搭建MySQL云数据库(只需10分钟,真香)
Otaku wallpaper Daquan wechat applet source code - with dynamic wallpaper to support a variety of traffic owners
随机推荐
Mathematics - feelings -20220215
Load and domcontentloaded in JS
【会议资源】2022年第三届自动化科学与工程国际会议(JCASE 2022)
学习笔记3--高精度地图关键技术(上)
Picture puzzle wechat applet source code_ Support multi template production and traffic master
To meet the needs of consumers in technological upgrading, Angel water purifier's competitive way of "value war"
AIX存储管理之卷组属性的查看和修改(二)
Source code of Qiwei automatic card issuing system
2022 high altitude installation, maintenance and removal of test question simulation test platform operation
【疾病检测】基于BP神经网络实现肺癌检测系统含GUI界面
The concept and application of Cartland number
S32Kxxx bootloader之UDS bootloader
sso单点登录的实现。
gradle
gradle
站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
关于ASP.NET CORE使用DateTime日期类型参数的一个小细节
excel查找与引用函数
How to compress video size while adding watermark with one click?
Advanced skills of testers: a guide to the application of unit test reports