当前位置:网站首页>Oracle EMCC 13.5 environment in docker every minute
Oracle EMCC 13.5 environment in docker every minute
2022-07-06 23:53:00 【Hua Weiyun】
One 、 from Docker Hub Or alicloud image download the image file uploaded by wheat seedling
- The quality of wheat seedlings Docker Hub The address of :https://hub.docker.com/u/lhrbest
- EMCC 13.5 Download address :https://hub.docker.com/r/lhrbest/lhremcc135/tags?page=1&ordering=last_updated

Be careful :
1、 Ensure that disk space is at least 100G
2、 Memory needs at least 8G
3、 To configure swap To 8G
# from Docker hub download , When the network is bad , Generally slow docker pull lhrbest/lhremcc135:1.0# You can choose to download it from alicloud docker pull registry.cn-hangzhou.aliyuncs.com/lhrbest/lhremcc135:1.0# After downloading from alicloud, you can tag In the form of docker tag registry.cn-hangzhou.aliyuncs.com/lhrbest/lhremcc135:1.0 lhrbest/lhremcc135:1.0Mirror image 21G about , After decompression, about 50G about , So please keep plenty of space , At least 100G To run ( Don't say the ,Oracle Our products consume so much disk space , Memory consumption ). The execution process is as follows :
[root@docker35 ~]# docker images | grep emcclhrbest/lhremcc135 1.0 d5eb85007b8a 7 weeks ago 51.4GBregistry.cn-hangzhou.aliyuncs.com/lhrbest/lhremcc135 1.0 d5eb85007b8a 7 weeks ago 51.4GB[root@docker35 ~]# Two 、 Create the container and start EMCC 13.5 Environmental Science
# 1、 Create a container docker run -d --name lhremcc135 -h lhremcc135 \ -p 31521:1521 -p 35500:5500 -p 35501:5501 -p 37803:7803 -p 3135:3389 \ -v /sys/fs/cgroup:/sys/fs/cgroup \ --privileged=true \ lhrbest/lhremcc135:1.0 init# 2、 Into the container docker exec -it lhremcc135 bashNext, we need to wait , Because the environment starts slowly .
Check whether the environment is started :
[root@docker35 ~]# docker run -d --name lhremcc135 -h lhremcc135 \> -p 31521:1521 -p 35500:5500 -p 35501:5501 -p 37803:7803 -p 3135:3389 \> -v /sys/fs/cgroup:/sys/fs/cgroup \> --privileged=true \> lhrbest/lhremcc135:1.0 initf27dfe96e56cccf75c9931cf66e263b00ec0cee816060c43d8ac58f51a0c7966[root@docker35 ~]# [root@docker35 ~]# docker ps | grep emccf27dfe96e56c lhrbest/lhremcc135:1.0 "init" 5 minutes ago Up 5 minutes 0.0.0.0:31521->1521/tcp, 0.0.0.0:3135->3389/tcp, 0.0.0.0:35500->5500/tcp, 0.0.0.0:35501->5501/tcp, 0.0.0.0:37803->7803/tcp lhremcc135[root@docker35 ~]# [root@docker35 ~]# docker exec -it lhremcc135 bash[root@lhremcc135 /]# su - oracleLast login: Thu Jul 8 15:27:55 CST 2021 on pts/0[oracle@lhremcc135 ~]$ lsnrctl statusLSNRCTL for Linux: Version 19.0.0.0.0 - Production on 08-JUL-2021 15:28:42Copyright (c) 1991, 2019, Oracle. All rights reserved.Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))STATUS of the LISTENER------------------------Alias LISTENERVersion TNSLSNR for Linux: Version 19.0.0.0.0 - ProductionStart Date 08-JUL-2021 15:25:43Uptime 0 days 0 hr. 3 min. 0 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFListener Parameter File /opt/oracle/product/19c/dbhome_1/network/admin/listener.oraListener Log File /opt/oracle/diag/tnslsnr/lhremcc135/listener/alert/log.xmlListening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=lhremcc135)(PORT=1521)))Services Summary...Service "lhrsdb" has 1 instance(s). Instance "lhrsdb", status READY, has 1 handler(s) for this service...The command completed successfully[oracle@lhremcc135 ~]$ [oracle@lhremcc135 ~]$ sasSQL*Plus: Release 19.0.0.0.0 - Production on Thu Jul 8 15:28:56 2021Version 19.3.0.0.0Copyright (c) 1982, 2019, Oracle. All rights reserved.Connected to:Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - ProductionVersion 19.3.0.0.0SYS@lhrsdb> select open_mode from v$database;OPEN_MODE--------------------READ WRITESYS@lhrsdb> show parameter sgaNAME TYPE VALUE------------------------------------ ----------- ------------------------------allow_group_access_to_sga boolean FALSElock_sga boolean FALSEpre_page_sga boolean TRUEsga_max_size big integer 3Gsga_min_size big integer 0sga_target big integer 3Gunified_audit_sga_queue_size integer 1048576SYS@lhrsdb> show parameter pgaNAME TYPE VALUE------------------------------------ ----------- ------------------------------pga_aggregate_limit big integer 4Gpga_aggregate_target big integer 1GThe database has been started , Next , Inquire about EMS Whether to start , If not started , You need to start it manually :
[oracle@lhremcc135 ~]$ . oraenvORACLE_SID = [lhrsdb] ? OMSThe Oracle base has been changed from /opt/oracle to oms13c1[oracle@lhremcc135 ~]$ [oracle@lhremcc135 ~]$ emctl status omsOracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.WebTier is DownOracle Management Server is DownJVMD Engine is Down[oracle@lhremcc135 ~]$ [oracle@lhremcc135 ~]$ emctl start oms Oracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.Starting Oracle Management Server...WebTier Successfully StartedOracle Management Server Successfully StartedJVMD Engine Successfully Started[oracle@lhremcc135 ~]$ emctl status omsOracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.WebTier is UpOracle Management Server is UpJVMD Engine is UpNext query EM AGENT Whether to start :
[oracle@lhremcc135 ~]$ emctl status agentOracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.---------------------------------------------------------------Agent Version : 13.5.0.0.0OMS Version : 13.5.0.0.0Protocol Version : 12.1.0.1.0Agent Home : /u01/app/oracle/middleware/agent/agent_instAgent Log Directory : /u01/app/oracle/middleware/agent/agent_inst/sysman/logAgent Binaries : /u01/app/oracle/middleware/agent/agent_13.5.0.0.0Core JAR Location : /u01/app/oracle/middleware/agent/agent_13.5.0.0.0/jlibAgent Process ID : 935Parent Process ID : 686Agent URL : https://lhremcc135:3872/emd/main/Local Agent URL in NAT : https://lhremcc135:3872/emd/main/Repository URL : https://lhremcc135:4903/empbs/uploadStarted at : 2021-07-08 15:27:04Started by user : oracleOperating System : Linux version 3.10.0-1127.10.1.el7.x86_64 (amd64)Number of Targets : 35Last Reload : (none)Last successful upload : 2021-07-08 15:42:00Last attempted upload : 2021-07-08 15:42:00Total Megabytes of XML files uploaded so far : 0.07Number of XML files pending upload : 0Size of XML files pending upload(MB) : 0Available disk space on upload filesystem : 34.55%Collection Status : Collections enabledHeartbeat Status : OkLast attempted heartbeat to OMS : 2021-07-08 15:41:48Last successful heartbeat to OMS : 2021-07-08 15:41:48Next scheduled heartbeat to OMS : 2021-07-08 15:42:48---------------------------------------------------------------Agent is Running and ReadyAll software starts normally .
3、 ... and 、 Use it to your heart's content
emcc The login address
https://192.168.66.35:37803/em
user name :sysman
password :lhr666666


Next steps , Everyone knows , Miss Mai won't say much .
What about? , Is it cool , Is it very convenient , At the end of the article, remember zanha .
边栏推荐
- Design of short chain
- 在Docker中分分钟拥有Oracle EMCC 13.5环境
- 自动化测试工具Katalon(Web)测试操作说明
- Wu Enda 2022 machine learning course evaluation is coming!
- Newsletter L Huobi ventures is in-depth contact with genesis public chain
- TypeScript中使用类型别名
- pytest多进程/多线程执行测试用例
- Common modification commands of Oracle for tables
- Tourism Management System Based on jsp+servlet+mysql framework [source code + database + report]
- 谁说新消费品牌大溃败?背后有人赢麻了
猜你喜欢
![[communication] optimal power allocation in the uplink of two-layer wireless femtocell network with matlab code](/img/47/741b89d94a2b0003937f32bdedfa19.png)
[communication] optimal power allocation in the uplink of two-layer wireless femtocell network with matlab code

设计一个抢红包系统

STM32 enters and wakes up the stop mode through the serial port

达晨史上最大单笔投资,今天IPO了

零代码高回报,如何用40套模板,能满足工作中95%的报表需求

The best sister won the big factory offer of 8 test posts at one go, which made me very proud

2022 latest blind box mall complete open source operation source code / docking visa free payment interface / building tutorial

Do you still have to rely on Simba to shout for a new business that is Kwai?

How rider uses nuget package offline

Gold three silver four, don't change jobs
随机推荐
CRMEB 商城系统如何助力营销?
2022 latest blind box mall complete open source operation source code / docking visa free payment interface / building tutorial
App general function test cases
Penetration test --- database security: detailed explanation of SQL injection into database principle
【精品】pinia 基于插件pinia-plugin-persist的 持久化
Competition between public and private chains in data privacy and throughput
基于jsp+servlet+mysql框架的旅游管理系统【源码+数据库+报告】
Every year, 200 billion yuan is invested in the chip field, and "China chip" venture capital is booming
leetcode:236. 二叉树的最近公共祖先
vector的使用方法_vector指针如何使用
Do you still have to rely on Simba to shout for a new business that is Kwai?
Unity 颜色板|调色板|无级变色功能
How does win11 restore the traditional right-click menu? Win11 right click to change back to traditional mode
Wind chime card issuing network source code latest version - commercially available
How to find out if the U disk file of the computer reinstallation system is hidden
What should I do if the USB flash disk data is formatted and how can I recover the formatted USB flash disk data?
Automatic test tool katalon (WEB) test operation instructions
公链与私链在数据隐私和吞吐量上的竞争
Asset security issues or constraints on the development of the encryption industry, risk control + compliance has become the key to breaking the platform
亚朵三顾 IPO