
์๋
ํ์ธ์ Foma ๐ป ์
๋๋ค!
์์ฆ ์๋กญ๊ฒ Oracle ๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ๊ณต๋ถํ๋ ค๊ณ ํ๋๋ฐ์.
๊ทธ๋์ Oracle์ ์ค์นํ๋ ค๊ณ ๋ดค๋๋... Mac OS๋ Oracle์ ์ง์ํ์ง ์๋๋ผ๊ตฌ์..
์ค์นํ๋ ๊ณผ์ ์ด ๊ฝค ๋ณต์กํด์ ์ ๋ฆฌํด๋์ผ๋ ค๊ณ ํฉ๋๋ค!
๋ฐ๋ก ์์ํ ๊ฒ์~
Docker
๋งฅ์ ์ค๋ผํด์ ์ค์นํ๊ธฐ ์ํด์ Docker๋ฅผ ์ค์นํด์ฃผ์ด์ผ ํฉ๋๋ค.
์๋ ์ฌ์ดํธ๋ก ์ด๋ํด์ Mac์ฉ Docker๋ฅผ ๋ค์ด๋ฐ์ ์ฃผ์ธ์!
Docker Desktop for Mac and Windows | Docker
Learn why Docker Desktop is the preferred choice for millions of developers building containerized applications. Download for Mac or Windows.
www.docker.com

๋ค์ด์ด ๋ค ๋์๋ค๋ฉด ๋๋๊ทธ ํด์ ์ดํ๋ฆฌ์ผ์ด์
์ ์ค์นํด์ค๋๋ค.

์ค์น๊ฐ ๋ค ๋๋ฉด ์๋์ ๊ฐ์ด ๋์ํ๋ผ๊ณ ๋ฐ๊ฑฐ์์!
I accept the terms๋ฅผ ์ฒดํฌํด์ฃผ๊ณ Accept๋ฅผ ๋๋ฌ ๋์ํด์ค๋๋ค.

๊ทธ๋ฆฌ๊ณค ์ก์ธ์ค๋ฅผ ํ์ฉํด๋ฌ๋ผ๊ณ ๋ฐ๊ฑฐ์์.

๋น๋ฐ๋ฒํธ๋ฅผ ์
๋ ฅํด ํ์ฉํด์ค๋๋ค.

Terminal
์ด์ ํฐ๋ฏธ๋๋ก ์ด๋ํ์
์ ์ค๋ผํด์ ๋ณธ๊ฒฉ์ ์ผ๋ก ์ค์นํด๋ด
์๋ค.
์๋ ๋ช
๋ น์ด๋ฅผ ์ด์ฉํด ๋ค์ด๋ก๋ ํ ์ด๋ฏธ์ง๋ฅผ ์ฐพ์ต๋๋ค.
docker search oracle -xe-11g

์๋ ๋ช
๋ น์ด๋ฅผ ํตํด jasppen ์ด๋ฏธ์ง๋ฅผ ๋ค์ด๋ก๋ ํด์ค๋๋ค.
pull jaspeen/oracle -xe-11g

์๋ ๋ช
๋ น์ด๋ฅผ ํตํด ์ ๋ค์ด๋ก๋ ๋์๋ ํ์ธํด์ค๋๋ค.
docker images

์๋ ๋ช
๋ น์ด๋ฅผ ํตํด ์ปจํ
์ด๋๋ฅผ ๋ง๋ค ์ ์์ต๋๋ค.
docker run --name ์ํ๋์ด๋ฆ -d -p 8080:8080 -p 1521:1521 jaspeen/oracle-xe-11g


์๋ ๋ช
๋ น์ด๋ฅผ ํตํด sqlplus๋ฅผ ์คํ์์ผ์ค๋๋ค.
docker exec -it ์ด๋ฆ sqlplus

๊ทธ๋ฌ๋ฉด ์๋์ ๊ฐ์ด ์ ์ ์ด๋ฆ๊ณผ ๋น๋ฐ๋ฒํธ๋ฅผ ์ฐ๋ผ๊ณ ๋์ฌํ
๋ฐ
์ ์ ์ด๋ฆ์ system ์ผ๋ก ๋น๋ฐ๋ฒํธ๋ oracle ๋ก ์ฐ๊ฒฐํด์ค๋๋ค.

์๋ ๋ช
๋ น์ด๋ฅผ ํตํด ๋ชจ๋ ํ
์ด๋ธ์ ์ถ๋ ฅํด๋ด
๋๋ค.
select*from tab;

์ค๋์ ์ด๋ ๊ฒ MacOS์ ์ค๋ผํด์ ์ค์นํ๋ ๋ฐฉ๋ฒ์ ๋ํด์ ์์๋ณด์์ต๋๋ค.
๋ค์ ์๊ฐ์๋ ์ค๋ผํด์ ํฐ๋ฏธ๋์ด ์๋ GUI ํ๊ฒฝ์์ ๊ด๋ฆฌํ ์ ์๋ ๋๊ตฌ์ธ SQL Developer ์ค์น ๋ฐฉ๋ฒ์ ๋ํด์ ์์๋ณด๊ฒ ์ต๋๋ค!
Reference
์๋ ๋ธ๋ก๊ทธ๋ฅผ ์ฐธ๊ณ ํ์ต๋๋ค.
Mac OS์์ ์ค๋ผํด DB์ค์นํ๊ธฐ
๋ชจ๋๊ฐ ์ ์๋์ ๋ฐ๋ผ๊ฐ๋ ๋ ํผ์ ๊ตฌ๊ธ์ ์ฐพ๋ ๊ทธ๋์ ๊ธฐ๋ถ์ด๋...... ๋งฅ ๊ธฐ๋ฐ์ผ๋ก ๊ฐ๋ฐํ๋๊ฑฐ ์ด๋ ๊ฒ ํ๋ ๊ธธ์ด์๋๊ฐ.. ์ดํด๋ฆฝ์ค ์ด๊ธฐ ์ค์ ํ ๋์๋ ํผ์ ๊ตฌ๊ธ ์ฐพ์๊ฐ๋ฉด์ ํ๋๋ฐ ์ค๋ผํด์
devtagebuch.tistory.com
'๐ Database > Oracle' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Oracle] ๋ทฐ(View)๋? (feat C.R.U.D) (0) | 2022.03.04 |
---|---|
[Oracle] Oracle ๋ฐ์ดํฐ ํ์ ์์๋ณด๊ธฐ(Oracle Data Type) (0) | 2022.02.24 |
[Oracle] DDL(Data-Definition-Language)๋ฌธ์ด๋? (feat. Oracle) (0) | 2022.01.04 |
[Oracle] ์ค๋ผํด SQLDeveloper์ Github ์ฐ๋ํ๊ธฐ(feat. MacOS) (0) | 2021.11.01 |
[Oracle] Mac OS์ SQL Developer ์ค์นํ๋ ๋ฐฉ๋ฒ (5) | 2021.10.08 |
๋๊ธ