티스토리 뷰
2023.08.16 - [분류 전체보기] - 오라클 버추얼 박스 설치 하기
https://hihighlinux.tistory.com/138
- 이미지 pull
-
docker pull doctorkirk/oracle-19c
docker image ls
도커 이미지 리스트를 보면 정상적으로 pull한 이미지가 보인다.
[root@m-k8s path]# mkdir -p /tommypagy/oracle-19c/oradata [root@m-k8s path]# cd /tommypagy/ [root@m-k8s tommypagy]# sudo chown -R 54321:54321 ./oracle-19c/ |
[root@m-k8s tommypagy]# docker run --name oracle19c1 \ > -p 1521:1521 \ > -e ORACLE_SID=ORCL \ > -e ORACLE_PWD=1234 \ > -e ORACLE_CHARACTERSET=KO16MSWIN949 \ > -v /tommypagy/oracle-19c/oradata/:/opt/oracle/oradata \ > doctorkirk/oracle-19c ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: 1234 LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 31-OCT-2023 00:40:42 Copyright (c) 1991, 2020, Oracle. All rights reserved. Starting /opt/oracle/product/19c/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 19.0.0.0.0 - Production System parameter file is /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora Log messages written to /opt/oracle/diag/tnslsnr/8e7c0c73591b/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production Start Date 31-OCT-2023 00:40:42 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora Listener Log File /opt/oracle/diag/tnslsnr/8e7c0c73591b/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521))) The listener supports no services The command completed successfully |
* 기존의 name oracle19c 이름이 있어서 name oracle19c1로 변경해서 다시 올려봅니다.
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 31-OCT-2023 00:09:47 Copyright (c) 1991, 2020, Oracle. All rights reserved. Starting /opt/oracle/product/19c/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 19.0.0.0.0 - Production System parameter file is /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora Log messages written to /opt/oracle/diag/tnslsnr/49c765049dcf/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production Start Date 31-OCT-2023 00:09:47 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora Listener Log File /opt/oracle/diag/tnslsnr/49c765049dcf/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521))) The listener supports no services The command completed successfully [WARNING] [DBT-11209] Current available memory is less than the required available memory (2,048MB) for creating the database. CAUSE: Following nodes do not have required available memory : Node:49c765049dcf Available memory:659.4297MB (675256.0KB) [WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards. CAUSE: a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. b.The password entered is a keyword that Oracle does not recommend to be used as password ACTION: Specify a strong password. If required refer Oracle documentation for guidelines. [WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards. CAUSE: a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. b.The password entered is a keyword that Oracle does not recommend to be used as password ACTION: Specify a strong password. If required refer Oracle documentation for guidelines. Prepare for db operation 10% complete Copying database files |
오래 걸립니다.
이 작업은 리눅스 쉘에서
docker exec -it 49c765049dcf /bin/bash 진입해 봅니다.
docker ps 로 검색해서 나오는 container id 로 사용합니다.
[root@m-k8s ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 49c765049dcf doctorkirk/oracle-19c "/bin/sh -c 'exec $O…" 9 minutes ago Up 9 minutes (unhealthy) 1521/tcp, 0.0.0.0:1522->1522/tcp oracle19c [root@m-k8s ~]# docker exec -it 49c765049dcf /bin/bash [oracle@49c765049dcf ~]$ |
오라클 진입방법!
[oracle@49c765049dcf ~]$ sqlplus / as sysdba SQL*Plus: Release 19.0.0.0.0 - Production on Tue Oct 31 00:21:27 2023 Version 19.9.1.0.0 Copyright (c) 1982, 2019, Oracle. All rights reserved. Connected to an idle instance. SQL> |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 우분투
- 스토리지 클레스
- 키알리
- MSA
- ORACLE 트러블 슈팅(성능 고도화 원리와 해법!)
- [오라클 튜닝] sql 튜닝
- 오라클 인스턴트클라이언트(InstantClient) 설치하기(HP-UX)
- 오라클
- 오라클 트러블 슈팅(성능 고도화 원리와 해법!)
- Oracle
- directory copy 후 startup 에러
- 커널
- 5.4.0.1072
- 튜닝
- CVE 취약점 점검
- 오라클 홈디렉토리 copy 후 startup 에러
- 코로나19
- ubuntu
- startup 에러
- pod 상태
- (InstantClient) 설치하기(HP-UX)
- 설치하기(HP-UX)
- 트리이스
- 여러서버 컨트롤
- 쿠버네티스
- [오라클 튜닝] instance 튜닝2
- K8s
- 버쳐박스
- 테라폼
- 앤시블
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함