Database/oracleDB

07.05 oracleDB 설치. 첫수업

amungstudy 2023. 7. 5. 14:31

https://app.slack.com/client/T05FKGUB3A8/C05FH0M3RCK

 

Slack

Slack을 사용하려면 브라우저를 변경해주세요. 이 브라우저는 더 이상 지원하지 않습니다. 그러므로 Slack을 계속 사용하려면 지원되는 브라우저 중 하나로 전환해야 합니다. Slack은 이러한 작업이

app.slack.com

수업 관련 자료 slack.

 

 

https://cheatography.com/davechild/cheat-sheets/mysql/

 

MySQL Cheat Sheet

A cheat sheet for the MySQL database.

cheatography.com

DB코드 차이 알 수 있는 사이트.

 


Oracle Database 설치 순서
  1. Oracle DB 홈페이지에서 ova 파일을 다운로드 받는다.
  2. 운영체제에 맞는 Virtual Box를 다운 받고 설치한다.
  3. Virtual Box를 실행하고 파일 > 가상시스템 가져오기 에서 ova파일을 선택하고 진행한다.

 

 

https://www.oracle.com/database/free/download/

 

Database 23c Free Download and Resources

Access the free Oracle Database 23c download and explore helpful resources.

www.oracle.com

download > VirtualBox

 

 

https://www.virtualbox.org/wiki/Downloads

 

Downloads – Oracle VM VirtualBox

Download VirtualBox Here you will find links to VirtualBox binaries and its source code. VirtualBox binaries By downloading, you agree to the terms and conditions of the respective license. If you're looking for the latest VirtualBox 6.1 packages, see Virt

www.virtualbox.org

 

VirtualBox 7.0.8 platform packages

클릭해서 다운로드.

 

 

 

local 환경에서 오라클 접속 설치하기
  1. SQLcl(클라이언트) : https://www.oracle.com/database/sqldeveloper/technologies/sqlcl/download/
  2. SQL Developer(GUI, 다운받는데 로그인 필요) : (외부링크) https://www.filehorse.com/download-oracle-sql-developer-64/download/
 

Downloading Oracle SQL Developer 22.2.1 (64-bit) from FileHorse.com

To make sure your data and your privacy are safe, we at FileHorse check all software installation files each time a new one is uploaded to our servers or linked to remote server. Based on the checks we perform the software is categorized as follows: Clean

www.filehorse.com

 

SQLcl Downloads

We’re sorry. We could not find a match for your search. We suggest you try the following to help find what you’re looking for: Check the spelling of your keyword search. Use synonyms for the keyword you typed, for example, try "application" instead of

www.oracle.com


 
 
SELECT * FROM v$version;
 
오라클 데이터베이스 버전 확인
 
가상 머신 시작 : 시작 ->
가상 머신 종료 : 터미널에서 shutdown -h now
 
timedatectl set-timezone Asia/Seoul 리눅스에서 한국시간대 설정하기

 
 
date 날짜와 시간 확인
 

 
 
SQL CL에서 DB 원격 접속하기
 
sqlcl을 설치한 경로에서 sql system/oracle@localhost:1521/free 로 클라이언트 진입
 
 sql 계정/비밀번호@ip:port번호/SID
 
 
ex)
 
C:\workspace\oracle\sqlcl-23.1.0.089.0929\sqlcl\bin>sql system/oracle@localhost:1521/free
 
 
sqlcl bin 폴더에 아래 파일 넣어주기
 
oracle_create_scott.sql
0.00MB
-- ORACLE 12C 버전 설치 이후 에러 발생 시
alter session set "_ORACLE_SCRIPT"=true;

-- 다운받은 파일 실행
@"파일 경로 복사 붙여넣기"

-- 접속
CONN SCOTT/TIGER;

-- 확인
DESC EMP;
 
 
 
 
 
 
 
 
 
 

 


https://www.google.com/search?q=docker&oq=docker&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIJCAEQABhDGIoFMgkIAhAAGEMYigUyCQgDEAAYQxiKBTIJCAQQABhDGIoFMgkIBRAAGEMYigUyCQgGEAAYQxiKBTINCAcQABiDARixAxiABDIJCAgQABhDGIoFMgkICRAAGEMYigXSAQ02NTMzODQzMmowajE1qAIAsAIA&sourceid=chrome&ie=UTF-8 

 

도커

도커는 리눅스의 응용 프로그램들을 프로세스 격리 기술들을 사용해 컨테이너로 실행하고 관리하는 오픈 소스 프로젝트이다. 도커 웹 페이지의 기능을 인용하면 다음과 같다: 도커 컨테이너는

www.google.com

데브옵스 에서 자주 쓰는 도커.  검색해서 개념이라도 좀 알아보자.

한 문장만 찍어도 뭐가됐든 설치되는 프로그램.