In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
Most people do not understand the knowledge of this article "Docker how to install Oracle19c", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "Docker how to install Oracle19c" article.
Introduction
Oracle Database 19c, also known as 12.2.0.3, was originally released on livesql.oracle.com and is the final version of the Oracle Database 12c and 18c series, so it is also a "long-supported" version (formerly known as the "terminal version"). "long-term support" means that Oracle Database 19c provides 4 years of advanced support (as of the end of January 2023) and at least 3 years of extended support (as of the end of January 2026). This extended support window is critical to many of our customers, as many customers have relevant upgrade strategies.
Prepare Docker installation # upgrade yumsudo yum update # uninstall old version sudo yum remove docker docker-common docker-selinux docker-engine # installation depends on sudo yum install-y yum-utils device-mapper-persistent-data lvm2 # set source sudo yum-config-manager-- add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # update yum cache yum makecache fast# install Dockeryum-y install docker-ce# Start systemctl start docker# to see if you have successfully started docker info# boot systemctl enable docker# Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the dsystemctl restart docker # just restart it # before downloading the image, you need to set the domestic source to improve the download speed of sudo vim / etc/docker/daemon.json# configuration {"registry-mirrors": ["https://d7grpode.mirror.aliyuncs.com"]} # restart sudo systemctl restart docker"
Successful installation interface
Oracle 19c installation step 1: download Image # download Image docker pull registry.cn-hangzhou.aliyuncs.com/zhuyijun/oracle:19c
Let's see if the download is successful.
Step 2: create mount file # create file mkdir-p / mydata/oracle/oradata# authorization, non-authorization will cause subsequent installation failure chmod 777 / mydata/oracle/oradata step 3: install Oracle
1. Install oracle and mount the configuration to the local file
Docker run-d\-p 1524oracle 1521-p 5502 docker run 5500\-e ORACLE_SID=ORCLCDB\-e ORACLE_PDB=ORCLPDB1\ # here is the oracle password-e ORACLE_PWD=123456\-e ORACLE_EDITION=standard\-e ORACLE_CHARACTERSET=AL32UTF8\-v / mydata/oracle/oradata:/opt/oracle/oradata\-- name orcl19c_03\ registry.cn-hangzhou.aliyuncs.com/zhuyijun/oracle:19c
2. Check whether oracle is installed successfully
# check the startup log docker logs-ft orcl19c_03
The following screen is displayed to indicate that the installation is successful
Note:
If the installation fails, execute the following command
Docker stop orcl19c_03
Docker rm orcl19c_03
Step 4: connect Oracledocker exec-it orcl19c_03 / bin/bashsqlplus / as sysdbashow pdbs
That's it.
You can also visit https://localhost:5502/em
Username:sys
Password:123456
Container Name:ORCLPDB1
Note: https, not http
The above is about the content of this article on "how to install Oracle19c in Docker". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.