โข ์๋ ํ์ธ์~ ์ด์ ์ ์ด์ํ๋ ๋ธ๋ก๊ทธ ๋ฐ GitHub, ๊ณต๋ถ ๋ด์ฉ์ ์ ๋ฆฌํ๋ Study-GitHub ๊ฐ ์์ต๋๋ค!
โข ๐
โ CLASS101 ๋ฐฑ์๋ ์์คํ ์ค๋ฌด - Chapter1 ๋ฐฑ์๋ ์ฌ์ ์ค๋น
์๋ ํ์ธ์, ํด๋์ค101 ๋ฐฑ์๋ ์์คํ ์ค๋ฌด ๊ฐ์๋ฅผ ๋ฃ๊ณ , ๋ณต์ต ์ฐจ์์ผ๋ก ์ ๋ฆฌํ์ฌ ๋จ๊ธฐ๋ ค๊ณ ํฉ๋๋ค! ํน์ ๋ฌธ์ ๊ฐ ๋๋ค๋ฉด ๊ธ์ ์ญ์ ํ๊ฒ ์ต๋๋ค !! |
class101.net/products/5fc4a3b4fc231b000d85661b
ํ์ง ๋๊ธฐ์ ๊ฐ๋ฐ์ ํธ์ ํจ๊ปํ๋ ์ง์ง ๋ฐฑ์๋ ์์คํ ์ค๋ฌด!
IT ๋๊ธฐ์ ๋ค์ ๋ฐฑ์๋ ๊ฐ๋ฐ์ ์ฑ์ฉ๊ณต๊ณ ๋ฅผ ๋ณธ ์ ์๋์? ๐์ ๋ฐ์ค ์น ๋ถ๋ถ์ ๋ฐฐ์ธ ์ ์๋๋ก ์ปค๋ฆฌํ๋ผ์ ๊ตฌ์ฑํ์ด์. ๊ฒ๋ณด๊ธฐ์ ์ด๋ ค์ ๋ณด์ด์ง๋ง, ๊ฒฐ๊ตญ ๋ฐฐ์ฐ๊ณ ๋๋ฉด ๋๋ ์ ๋ฐ ๊ณณ์์ ์ผํ ์ ์
class101.net
โข JDK(Java Development Kit) ์ค์น
โข AdoptOpenJDK ํ์ผ ์ค์น(Java 8)
AdoptOpenJDK - Open source, prebuilt OpenJDK binaries
AdoptOpenJDK
AdoptOpenJDK provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure. Supported platforms include Linux, macOS, Windows, ARM, Solaris, and AIX.
adoptopenjdk.net
JDK, OpenJDK ๋ฑ ์ฐธ๊ณ ์๋ฃ
medium.com/@pjuyeon25/java-jdk-jre-jvm-%EC%B0%A8%EC%9D%B4-b5a60fe4653
[JAVA] JDK, JRE, JVM ์ฐจ์ด
๊พธ์คํ ์ฌ์ฉ๋๋ ํ๋ก๊ทธ๋๋ฐ ์ธ์ด์ธ JAVA์ ํน์ง๊ณผ ๊ฐ๋ฐํ๊ฒฝ์ ๋ํด ํ์ ์ ๋งคํ๋ ๋ถ๋ถ์ ์ ๋ฆฌํ๊ณ ์ ํ๋ค.
medium.com
Java ์ ๋ฃ ๋ ผ์, Oracle JDK์ OpenJDK์ ์ฐจ์ด ์ ๋ฆฌ (tistory.com)
Java ์ ๋ฃ ๋ ผ์, Oracle JDK์ OpenJDK์ ์ฐจ์ด ์ ๋ฆฌ
Oracle JDK์ OpenJDK Java ์ ํ๋ฆฌ์ผ์ด์ ์ ์คํํ๊ธฐ ์ํด์๋ JVM์ด ํ์ํ๊ณ ์ปดํ์ผํ๊ธฐ ์ํด์๋ JDK๊ฐ ํ์ํ๋ค. ์ผ๋ฐ์ ์ผ๋ก JDK๋ฅผ ์ค์นํ๋ฉด JVM(Hotspot์ด๋ผ๊ณ ๋ ํํ, Java ๊ธฐ์ ์ ํต์ฌ)๋ ํจ๊ป ์ค์น๋
jsonobject.tistory.com
โข IDE - IntelliJ ์ค์น
๋ค์ด๋ก๋ IntelliJ IDEA: ์ฐ์์ฑ๊ณผ ์ธ์ฒด ๊ณตํ์ด ๋ด๊ธด JetBrains Java IDE
๋ค์ด๋ก๋ IntelliJ IDEA: ์ฐ์์ฑ๊ณผ ์ธ์ฒด ๊ณตํ์ด ๋ด๊ธด JetBrains Java IDE
์ต์ ๋ฒ์ ๋ค์ด๋ก๋: IntelliJ IDEA (Windows, macOS, Linux)
www.jetbrains.com
โข Visual Studio Code ์ค์น
Download Visual Studio Code - Mac, Linux, Windows
Download Visual Studio Code - Mac, Linux, Windows
Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.
code.visualstudio.com
โข Google Cloud Platform(GCP) ๊ณ์ ์์ฑ ๋ฐ ์ธ์คํด์ค ์์ฑ
์๋ ์ฌ์ดํธ ์ ์
console.cloud.google.com/?hl=ko
Google Cloud Platform
ํ๋์ ๊ณ์ ์ผ๋ก ๋ชจ๋ Google ์๋น์ค๋ฅผ Google Cloud Platform์ ์ฌ์ฉํ๋ ค๋ฉด ๋ก๊ทธ์ธํ์ธ์.
accounts.google.com
์ ์ฌ์ดํธ์ ์ ๊ทผ ํ ๊ตญ๊ฐ ์ ํ ๋ฐ ์๋น์ค ์ฝ๊ด ๋์๋ฅผ ๋๋ฆ ๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
๊ทธ ํ ์ฐ์ธก ์๋จ์ ํ์ฑํ ๋ฒํผ์ ํด๋ฆญํ๊ณ ํ์ํ ์ ๋ณด๋ฅผ ์ ๋ ฅํฉ๋๋ค.
- ๊ฐ์ธ์ ๋ณด ๋ฐ ์ธ์ ์ฌํญ, ๊ฒฐ์ ์ ๋ณด ๋ฑ
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
์ ๊ณผ์ ์ด ๋๋๋ฉด Compute Engine > VM ์ธ์คํด์ค ๋ฅผ ํด๋ฆญํฉ๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
๋ง๋ค๊ธฐ ๋ฒํผ ํด๋ฆญ
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
๋จธ์ ์ ํ์ ec2-micro ๋ก ์์ ํฉ๋๋ค.
(CPU์ ๋ฉ๋ชจ๋ฆฌ ์ฉ๋์ ๋ฐ๋ผ ๊ฐ๊ฒฉ ์ธก์ ์ด ๋ฌ๋ผ์ง๋๋ค.)
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
๋ถํ ๋์คํฌ์์ ๋ณ๊ฒฝ์ ๋๋ฌ ๊ตฌ๋ํ OS๋ฅผ ๋ณ๊ฒฝํด์ค๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
CentOS / CentOS 7 ๋ฒ์ ์ผ๋ก ๋ณ๊ฒฝํฉ๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
๋ฐฉํ๋ฒฝ์์ HTTP(80ํฌํธ), HTTPS(433ํฌํธ) ํธ๋ํฝ์ ํ์ฉ์ผ๋ก ์ค์ ํฉ๋๋ค.
์ ๊ณผ์ ์ ๋๋ธ ๋ค ๋ง๋ค๊ธฐ๋ฅผ ํตํด ์ธ์คํด์ค๋ฅผ ์์ฑํฉ๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
์ ์ ๊ธฐ๋ค๋ฆฌ๋ฉด ์์ ๊ฐ์ด ์ธ์คํด์ค๊ฐ ์์ฑ์ด ๋ฉ๋๋ค.
๋ด๋ถ IP - ์ธ์คํด์ค๊ฐ ์ฌ๋ฌ ๊ฐ ์ผ๋, ์ธ์คํด์ค ๊ฐ์ IP๋ฅผ ๊ตฌ๋ถ
์ธ๋ถ IP - ์ธ๋ถ์์ ์ ๊ทผํ ๋ ์ฌ์ฉํ๋ IP(๊ณต์ธ IP)
์์์ ์ฐ๊ฒฐ์ ์๋ SSH ๋ฅผ ํด๋ฆญํ๋ฉด ์น์์ Shell์ ์ ์์ ํ ์ ์์ต๋๋ค.
(๋ณดํต PuTTY ๋ฑ์ผ๋ก ์ ์์ ํฉ๋๋ค.)
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
SSH๋ฅผ ํด๋ฆญํ๋ฉด ์์ ๊ฐ์ด ์ ๊ทผ์ ํ ์ ์๋๋ฐ์,
$ ifconfig ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ฉด ๋ด๋ถ IP๋ฅผ ํ์ธํ ์ ์์ต๋๋ค.
SSH๋ ?
SSH๋?
SSH ์๋ ํ์ธ์. ์ค๋์ ์ ๊ฐ ํ์์ ๋ง์ด ์ฌ์ฉ์ ํ์ง๋ง ์ ํํ ๊ทธ๊ฒ์ด ์ด๋ป๊ฒ ๋์ํ๋์ง์ ๋ํด์ ์๊ณ ์ถ์ด์ ๊ณต๋ถ๋ฅผ ํด๋ณด๊ณ ๊ฐ๋จํ๊ฒ ์ ๋ฆฌ๋ฅผ ํด๋ณด๋ ์๊ฐ์ ๊ฐ์ง๋ ค๊ณ ํฉ๋๋ค. ๋์๋ฆฌ์์
baked-corn.tistory.com
โข Docker Destkop(Docker + GUI) ์ค์น
www.docker.com/products/docker-desktop
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
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
Docker Desktop ์ค์น ํ Quick Start Guide๋ฅผ ํตํด ํ ์คํธ๋ฅผ ์งํํฉ๋๋ค.
Clone > Build > Run ์ ํตํด ๋์ปค๋ฅผ ์คํํ๊ณ , ์ธํฐ๋ท์ localhost ๋ฅผ ์ ๋ ฅํ๋ฉด ๋ค์๊ณผ ๊ฐ์ ์ฌ์ดํธ๊ฐ ๋์ต๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
์์์ ์ค์ ํ GCP ์ธ์คํด์ค์์ Docker์ ๋์ฐ๊ธฐ ์ํด GCP๋ก ๋ค์ด๊ฐ ํ SSH๋ฅผ ํตํด Shell์ ์คํํฉ๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
$ sudo yum install docker ๋ช ๋ น์ด๋ฅผ ํตํด docker์ ์ค์นํฉ๋๋ค.
(์ค์น ๋์ค y๋ฅผ ์ ๋ ฅํด์ผ ํฉ๋๋ค.)
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
docker ์ค์น๊ฐ ๋๋๋ฉด docker๋ฅผ ์คํํฉ๋๋ค.
$ sudo systemctl start docker
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
๊ทธ ํ ๋ค์ ๋ช ๋ น์ด๋ฅผ Shell์์ ์คํํฉ๋๋ค
$ docker run -d -p 80:80 docker/getting-started
๊ทธ๋ผ ์๋ฌ๊ฐ ๋ฐ์ํ๋๋ฐ์. permission(๊ถํ) ๊ด๋ จ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
1024 ์ดํ์ ํฌํธ(Well-Known) ๋ฅผ ์คํํ ๋๋ ๊ถํ์ด ํ์ํ๊ธฐ์ sudo ๋ช ๋ น์ด๋ฅผ ํตํด ์คํํฉ๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
์ด์ GCP์ ์ธ๋ถ IP(๊ณต์ธ IP)๋ฅผ ํตํด Docker์ ์ ์์ ํด๋ด ๋๋ค.
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
GCP์ ์ธ๋ถ IP๋ก๋ ์ ์์ด ์ ๋๋๊ฑธ ๋ณผ ์ ์์ต๋๋ค. ๐
'๊ฐ์ ์ ๋ฆฌ > CLASS101 ๋ฐฑ์๋ ์์คํ ์ค๋ฌด' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Chapter3 - CPU Bound ์ ํ๋ฆฌ์ผ์ด์ ๋ฌด์ค๋จ ๋ฐฐํฌ(Nginx ๋ก๋๋ฐธ๋ฐ์ฑ) (0) | 2021.02.27 |
---|---|
Chapter2 - CPU Bound ์ ํ๋ฆฌ์ผ์ด์ (Jenkins ๋ฐฐํฌ) (0) | 2021.02.26 |
Chapter2 - CPU Bound ์ ํ๋ฆฌ์ผ์ด์ Dockerized ์ ํ๋ฆฌ์ผ์ด์ GCP ๋ฐฐํฌ (0) | 2021.02.26 |
Chapter2 - CPU Bound ์ ํ๋ฆฌ์ผ์ด์ (0) | 2021.02.22 |
Chapter0 - ๊ฐ์ ์๊ฐ (0) | 2021.02.20 |
๋๊ธ