๋ฐ˜์‘ํ˜•

๐Ÿ‘ฉ‍๐Ÿ’ป Learn programming 70

[Trouble Shooting] Window์—์„œ docker ์‚ฌ์šฉํ•˜๊ธฐ

Window์—์„œ docker๋ฅผ ์„ค์น˜ํ–ˆ๋Š”๋ฐ, ์ด๋Ÿฐ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒ docker An error Occured Hardware assisted virtualization and data execution protection must be enabled in the BIOS... ๊ฐ€์ƒํ™” ์„ค์ •์ด ์•ˆ๋˜์–ด ์žˆ์–ด์„œ, Bios์—์„œ ์„ค์ •์„ ๋‹ค์‹œ ํ•ด์•ผํ–ˆ์Œ! BIOS ์ ‘์† ๋ฐฉ๋ฒ•๊ณผ ํ™”๋ฉด์€ ์ œ์กฐ์‚ฌ ๋งˆ๋‹ค ๋‹ค๋ฆ„! ๋‚˜๋Š” 'MSI'๋ผ์„œ ์•„๋ž˜ ๋ธ”๋กœ๊ทธ๋ฅผ ์ฐธ๊ณ ! MSI VT ํ™œ์„ฑํ™” SVM ์„ค์ • ๋ฐฉ๋ฒ• ์ด์ •๋ฆฌ MSI VT ํ™œ์„ฑํ™” SVM ์„ค์ • ๋ฐฉ๋ฒ• ์ด์ •๋ฆฌ ์•ˆ๋…•ํ•˜์„ธ์š”? ๊ฒŒ์ž„ ์ธํ”Œ๋ฃจ์–ธ์„œ ์ดˆ๋ก๊ดด๋ฌผ์ž…๋‹ˆ๋‹ค. ์•ฑ ํ”Œ๋ ˆ์ด์–ด๋ฅผ ์„ค์น˜ํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ ์„ค์น˜๊ฐ€ ์•ˆ๋˜๊ฑฐ๋‚˜ ์‹คํ–‰์ด ์•ˆ๋˜์„œ ๋‹นํ™ฉํ–ˆ๋Š”๋ฐ VT๋ฅผ ํ™œ์„ฑํ™”ํ•ด์•ผ ๊ฐ€๋Šฅํ•˜๋‹ค๊ณ  ํ•˜ monstergreen.tistory.com ..

[Trouble Shooting] add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling

โœ”๏ธ ์„œ์‚ฌ Spring ์›๊ฒฉ ๊ฐ•์˜ ์ค‘์— ์Šคํ”„๋ง์˜ 3๊ณ„์ธต(Controller, Sevice, Repository) ์—†์ด AllInOneServelet ํด๋ž˜์Šค๋ฅผ ์ƒ์„ฑํ•˜์—ฌ ๊ตฌํ˜„ํ•˜๊ณ , API์˜ ๋™์ž‘์„ ๊ฒ€์ฆํ•˜๊ธฐ ์œ„ํ•œ ์ž‘์—… ์ค‘ ํŠธ๋Ÿฌ๋ธ”์„ ๋งŒ๋‚จ! ARC์—์„œ POST API๋ฅผ ๋ณด๋ƒˆ์„ ๋•Œ, "Internal Server Error" ์—๋Ÿฌ ํ™•์ธ์„ ์œ„ํ•ด์„œ intellij ์—๋Ÿฌ ์ฝ”๋“œ ํ™•์ธ Servlet.service() for servlet [com.sparta.springcore.AllInOneServlet] in context with path [] threw exception ์—๋Ÿฌ ์ฝ”๋“œ ์˜†์— ์žˆ๋Š” ์š” ๋ฌธ์žฅ๋งŒ ์‹ ๊ฒฝ ์“ฐ๋Š๋ผ ๊ฒฝ๋กœ๊ฐ€ ์ž˜๋ชป๋œ ์ค„ ์•Œ๊ณ  PC ์–ธ์–ด ์„ค์ • ๋ณ€๊ฒฝํ•ด๋ณด๊ณ  ๋‚œ๋ฆฌ ... ๊ฒฐ๊ตญ, ํŒ€์›๋ถ„๊ป˜ ๋„์›€์„ ์ฒญํ–ˆ๋Š”๋ฐ ..! ..

[IT ์ง€์‹] ํ˜ผ์ž ๊ณต๋ถ€ํ•˜๋Š” ์–„ํŒํ•œ ์ฝ”๋”ฉ ์ง€์‹ (1)

โœ”๏ธ ํฌ๋ž˜์ปค - cracker - ์ปดํ“จํ„ฐ ์‹œ์Šคํ…œ์„ ๋šซ๊ณ  ํŒŒ๊ดดํ•˜๋Š” ํ–‰์œ„๋ฅผ ํ•˜๋Š” ์‚ฌ๋žŒ - ๋ธ”๋ž™ ํ•ด์ปค - ๋ธ”๋ž™ ํ—ค์ปค๊ฐ€ ์‹œ์Šคํ…œ์„ ์กฐ๊ฐ๋‚ด๋Š” ๋ชจ์–‘์ด ํฌ๋ž˜์ปค ๊ณผ์ž๊ฐ€ ๋ถ€์ˆด์ง€๋Š” ๊ฒƒ๊ณผ ๋น„์Šทํ•ด์„œ ํฌ๋ž˜์ปค! โœ”๏ธ ํ•ด์ปค - security hacker - ์ปดํ“จํ„ฐ์™€ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์— ๋Œ€ํ•œ ์ „๋ฌธ ์ง€์‹์„ ๊ฐ€์ง„ ์‚ฌ๋žŒ์„ ๋œปํ•˜๋Š” ๋‹จ์–ด - ํ™”์ดํŠธ ํ•ด์ปค โœ”๏ธ ์†Œํ”„ํŠธ์›จ์–ด - software - ํ”„๋กœ๊ทธ๋žจ๊ณผ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ, ๋ฐ์ดํ„ฐ ๋“ฑ์œผ๋กœ ์ด๋ค„์ง„ ์‹œ์Šคํ…œ โœ”๏ธ ์‹œ์Šคํ…œ ํ”„๋กœ๊ทธ๋žจ - system program - ์šด์˜์ฒด์ œ์˜ ์ผ๋ถ€๋กœ์„œ ์ปดํ“จํ„ฐ ์ด์šฉ ํ™˜๊ฒฝ์„ ์กฐ์„ฑํ•˜๋Š” ์†Œํ”„ํŠธ์›จ์–ด โœ”๏ธ ํ”„๋กœ๊ทธ๋žจ - program - ์‚ฌ์šฉ์ž์˜ ๋ช…๋ น์— ๋”ฐ๋ผ ๊ทธ ๋ชฉ์ ์— ๋งž๋Š” ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๋Š” ์ผ๋ จ์˜ ๋ช…๋ น์–ด ๋ชจ์Œ โœ”๏ธ ๊ณ ์ˆ˜์ค€ ์–ธ์–ด - high-level language - ์‚ฌ๋žŒ์˜ ์–ธ์–ด์— ๊ฐ€๊นŒ์šด ์–ธ์–ด..

[Spring] Spring ๊ตฌ์กฐ์™€ API ํ๋ฆ„ ์ดํ•ดํ•˜๊ธฐ2 (์ŠคํŒŒ๋ฅดํƒ€์ฝ”๋”ฉํด๋Ÿฝ - ์›น๊ฐœ๋ฐœ์˜ ๋ด„, Spring 3์ฃผ์ฐจ)

{ โญ ๋” ์ •๋ฆฌ๋œ ๋…ธ์…˜ ๋ฒ„์ „ โญ} ํƒ€์ž„๋ผ์ธ ์„œ๋น„์Šค๋กœ Spring ๊ตฌ์กฐ ์ดํ•ด API ์„ค๊ณ„ํ•˜๊ธฐ (CRUD) fair-cheetah-80d.notion.site โ—API ์„ค๊ณ„ํ•˜๊ธฐ (CRUD) โœ”๏ธ Repository ๋งŒ๋“ค๊ธฐ domain ํŒจํ‚ค์ง€ (Repo ์˜์—ญ) ๋งŒ๋“ค๊ธฐ domain - Memo.java ํด๋ž˜์Šค ์ƒ์„ฑ package com.sparta.week03.domain; import lombok.Getter; import lombok.NoArgsConstructor; import javax.persistence.*; @NoArgsConstructor // ๊ธฐ๋ณธ์ƒ์„ฑ์ž๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค. @Getter @Entity // ํ…Œ์ด๋ธ”๊ณผ ์—ฐ๊ณ„๋จ์„ ์Šคํ”„๋ง์—๊ฒŒ ์•Œ๋ ค์ค๋‹ˆ๋‹ค. public class Memo extends Times..

[Spring] Spring ๊ตฌ์กฐ์™€ API ํ๋ฆ„ ์ดํ•ดํ•˜๊ธฐ1 (์ŠคํŒŒ๋ฅดํƒ€์ฝ”๋”ฉํด๋Ÿฝ - ์›น๊ฐœ๋ฐœ์˜ ๋ด„, Spring 2์ฃผ์ฐจ)

{ โญ ๋” ์ •๋ฆฌ๋œ ๋…ธ์…˜ ๋ฒ„์ „ โญ} week 2 ์ˆ™์ œ ์ฝ”๋“œ ํ๋ฆ„ ์ดํ•ดํ•˜๊ธฐ ์ˆ™์ œ ์„ค๋ช… fair-cheetah-80d.notion.site โ—Spring์˜ ๊ตฌ์กฐ 1.Controller : ๊ฐ€์žฅ ๋ฐ”๊นฅ ๋ถ€๋ถ„, ์š”์ฒญ/์‘๋‹ต์„ ์ฒ˜๋ฆฌํ•จ. 2. Service : ์ค‘๊ฐ„ ๋ถ€๋ถ„, ์‹ค์ œ ์ค‘์š”ํ•œ ์ž‘๋™์ด ๋งŽ์ด ์ผ์–ด๋‚˜๋Š” ๋ถ€๋ถ„ 3. Repo : ๊ฐ€์žฅ ์•ˆ์ชฝ ๋ถ€๋ถ„, DB์™€ ๋งž๋‹ฟ์•„ ์žˆ์Œ. (Repository, Entity) - ๊ฐ•์˜์—์„œ๋Š” models models - person.java lombok (import๋„ ํ•ด์ฃผ๊ธฐ) person ํด๋ž˜์Šค์— @Getter ์ ์šฉ (๊ธฐ์กด getName, getJob…์„ ๋Œ€์ฒดํ•จ) ์ƒ์„ฑ์ž ๋งŒ๋“ค๊ธฐ public Person(PersonRequestDto requestDto) { this.name = request..

[Spring] Client, Server, DB์˜ ํ๋ฆ„ ์ตํžˆ๊ธฐ ์œ„ํ•œ ๊ฐœ๋… ์ •๋ฆฌ

โ— Spring์˜ ๊ตฌ์กฐ 1. Controller : ๊ฐ€์žฅ ๋ฐ”๊นฅ ๋ถ€๋ถ„, ์š”์ฒญ/์‘๋‹ต์„ ์ฒ˜๋ฆฌํ•จ. 2. Service : ์ค‘๊ฐ„ ๋ถ€๋ถ„, ์‹ค์ œ ์ค‘์š”ํ•œ ์ž‘๋™์ด ๋งŽ์ด ์ผ์–ด๋‚˜๋Š” ๋ถ€๋ถ„ 3. Repo : ๊ฐ€์žฅ ์•ˆ์ชฝ ๋ถ€๋ถ„, DB์™€ ๋งž๋‹ฟ์•„ ์žˆ์Œ. (Repository, Entity) โœ”๏ธ RDBMS - RDBMS(Relational DataBase Management System), ์ค„์—ฌ์„œ RDB - ์ปดํ“จํ„ฐ์— ์ •๋ณด๋ฅผ ์ €์žฅํ•˜๊ณ  ๊ด€๋ฆฌํ•˜๋Š” ๊ธฐ์ˆ  - ๊ด€๊ณ„ํ˜• ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค - RDBMS์˜ ์ข…๋ฅ˜ : MySQL, PostgreSQL, Oracle Database(์œ ๋ฃŒ) โœ”๏ธ H2 - RDBMS์˜ ํ•œ ์ข…๋ฅ˜ - In-memory DB๋กœ, ์„œ๋ฒ„๊ฐ€ ์ž‘๋™ํ•˜๋Š” ๋™์•ˆ์—๋งŒ ๋‚ด์šฉ์„ ์ €์žฅํ•˜๊ณ , ์„œ๋ฒ„๊ฐ€ ์ž‘๋™์„ ๋ฉˆ์ถ”๋ฉด ๋ฐ์ดํ„ฐ๊ฐ€ ๋ชจ๋‘ ์‚ญ์ œ๋จ. = ์„œ๋ฒ„๊ฐ€ ์ผœ์ ธ์žˆ๋Š” ..

[DB/SQL] SQL ๋ฌธ๋ฒ• ์ด์ •๋ฆฌ

โ— ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค - ์—ฌ๋Ÿฌ ์‚ฌ๋žŒ์ด ๊ฐ™์ด ์‚ฌ์šฉํ•  ๋ชฉ์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ด๋Š” ํ†ต! - ๋ชจ๋“  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋Š” CRUD ๊ธฐ๋Šฅ์„ ์ง€์›! ( C - Create ์ƒ์„ฑ, R - Read ์ฝ๊ธฐ, U - Update ๋ณ€๊ฒฝ, D - Delete ์‚ญ์ œ) โ— SQL - Structured Query Language์˜ ์•ฝ์ž! - ๋ฐ์ดํ„ฐ๋ฅผ ์ฝ์–ด์˜ค๋Š” ๊ณผ์ •์ธ 'R'์„ ํŽธ๋ฆฌํ•˜๊ธฐ ์œ„ํ•ด SQL์„ ์‚ฌ์šฉ. - ๋ฐ์ดํ„ฐ๋ฅผ ์†์‰ฝ๊ณ  ๊น”๋”ํ•˜๊ฒŒ ์ •๋ฆฌ/๋ถ„์„ํ•˜๋Š” ๊ธฐ๋Šฅ๋„ ์ง€์›ํ•จ. - ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ค๋Š” ๋ช…๋ ฅ์–ด๋ฅผ ์ž‘์„ฑํ•˜๋Š” ๊ฒƒ์„ 'SQL ์ฟผ๋ฆฌ๋ฅผ ์ž‘์„ฑํ•œ๋‹ค'๋ผ๊ณ  ํ•จ. โœ”๏ธ Select - ๋ฐ์ดํ„ฐ๋ฅผ ์„ ํƒํ•ด์„œ ๊ฐ€์ ธ์˜จ๋‹ค. - 1) ์–ด๋–ค ํ…Œ์ด๋ธ”์—์„œ 2) ์–ด๋–ค ํ•„๋“œ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ฌ์ง€๋กœ ๊ตฌ์„ฑ๋จ. - ์•„๋ž˜์˜ ํ‘œ๊ฐ€ ํ…Œ์ด๋ธ”์ด๊ณ , ๋…ธ๋ž€ ํ˜•๊ด‘์ƒ‰์ด ํ•„๋“œ๋ฅผ ๋‚˜ํƒ€๋ƒ„. select * from u..

[GCP] GCP ๊ตฌ๊ธ€ ํด๋ผ์šฐ๋“œ ํ”Œ๋žซํผ ์•Œ์•„๋ณด๊ธฐ, ๊ฐ€์ƒ๋จธ์‹ (VM)

๊ตฌ๊ธ€ ํด๋ผ์šฐ๋“œ GCP. Azure, AWS ๋น„๊ต GCP Azure AWS ํด๋ผ์ด์–ธํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ Cloud SDK Azure SDK AWS SDK ํด๋ผ์šฐ๋“œ ์‰˜ Cloud Shell Azure Cloud Shell AWS Cloud Shell ์˜ค๋ฅ˜์ฒ˜๋ฆฌ Error reporting CDN Cloud CDN Content Delivert Network CloudFront ๋„๋ฉ”์ธ ๋ฐ DNS Cloud DNS DNS Amazon Route 53 ์ปดํ“จํŒ… Compute Engine Virtual Machines0 EC2 ๊ตฌ๊ธ€ VM ์ธ์Šคํ„ด์Šค ๋ผ์ด๋ธŒ์ด์ „ ๊ธฐ๋Šฅ ๋น„๊ณต๊ฐœ ์ปค์Šคํ…€ ์ด๋ฏธ์ง€ ์ปจํ…Œ์ด๋„ˆ ์‚ฌ์šฉ ๋จธ์‹  ์œ ํ˜• ์„ค์ • ์ธ์Šคํ„ด์Šค ํ…œํ”Œ๋ฆฟ ๋™์ผํ•œ ์ธ์Šคํ„ด์Šค ์‚ฌ์šฉ์‹œ ํ•„์š” ๊ธ€๋กœ๋ฒŒ ๋ฆฌ์†Œ์Šค ์ธ์Šคํ„ด์Šค ํ๋ฆ„ ์ด๋ฏธ์ง€ ๊ธฐ๋ฐ˜ ์ธ์Šคํ„ด์Šค ์ƒ์„ฑ

[Azure] Azure ๊ณ„์ • ๋ณด์•ˆ

Azure ๊ณ„์ • ๋ณด์•ˆ ์ธ์ฆ๊ณผ ๊ถŒํ•œ์˜ ์ฐจ์ด ์ธ์ฆ (Authentication) User ๋˜๋Š” Service ๊ณ„์ • ์‹๋ณ„ ์ •์ƒ์ ์ธ ์š”์ฒญ์œผ๋กœ ์•ก์„ธ์Šค ์ž๊ฒฉ ์ฆ๋ช… ํš๋“ ์•ก์„ธ์Šค ์ œ์–ด ๊ทœ์น™์„ ๋งŒ๋“ค๊ธฐ์œ„ํ•œ ๊ธฐ์ดˆ ๊ถŒํ•œ (Authorization) ์ธ์ฆ๋œ user ๋˜๋Š” service์˜ ์•ก์„ธ์Šค ์ˆ˜์ค€ ์ •์˜ ์•ก์„ธ์Šค ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฆฌ์†Œ์Šค์™€ ํ•จ๊ป˜ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ์ž‘์—…์„ ์ •์˜ Azure Active Directory (AzureAD) Microsoft Azure ์˜ ํด๋ผ์šฐ๋“œ ๊ธฐ๋ฐ˜ ID ๊ด€๋ฆฌ ๋ฐ ์ ‘๊ทผ ์ œ์–ด ์„œ๋น„์Šค ์ธ์ฆ ์ง€์› Single Signed on Application ๊ด€๋ฆฌ B2B (Business to Business) B2C (Business to Customer) ID ์„œ๋น„์Šค ์žฅ๋น„ ๊ด€๋ฆฌ AzureAD vs Windows Serv..

[Azure] Azure Network ๋ณด์•ˆ

Azure Network ๋ณด์•ˆ Azure์˜ ๋ณด์•ˆ ๊ณ„์ธต ๋ฐ์ดํ„ฐ๊ฐ€ VM์— ์ ‘๊ทผํ•  ๋•Œ ๊นŒ์ง€ ๊ฑฐ์น˜๋Š” ๋‹จ๊ณ„ ๊ณต๋™ ์ฑ…์ž„์ œ Azure Ddos Protection ๋ถ„์‚ฐ ์„œ๋น„์Šค ๊ฑฐ๋ถ€ ๊ณต๊ฒฉ์€ ๋„คํŠธ์›Œํฌ ๋ฆฌ์†Œ์Šค์— ๊ณผ๋ถ€ํ•˜๋ฅผ ๊ฑธ์–ด ์‘์šฉ ํ”„๋กœ๊ทธ๋žจ์˜ ์†๋„ ์ €ํ•˜ ๋˜๋Š” ์‘๋‹ต์„ ํ•˜์ง€ ๋ชปํ•˜๋„๋ก ํ•จ. ๋„คํŠธ์›Œํฌ ๊ฐ€์šฉ์„ฑ ์˜ํ–ฅ Basic ๊ณ„์ธต์€ Azure์—์„œ ๊ธฐ๋ณธ ์‚ฌ์šฉ Standard ๊ณ„์ธต์€ Azure ๊ฐ€์ƒ ๋„คํŠธ์›Œํฌ ๋ฆฌ์†Œ์Šค๋ฅผ ๋ณดํ˜ธํ•˜๋„๋ก Microsoft์—์„œ ๊ด€๋ฆฌ ๊ธฐ๋Šฅ ์ถ”๊ฐ€ Azure Firewall ๋„คํŠธ์›Œํฌ ๋ฆฌ์†Œ์Šค๋ฅผ ๋ณดํ˜ธํ•˜๊ธฐ ์œ„ํ•ด IP ๋˜๋Š” Domain ์ฃผ์†Œ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์ ‘๊ทผ ํ—ˆ์šฉ/๊ฑฐ๋ถ€๋ฅผ ํ•  ์ˆ˜ ์žˆ๋Š” ๊ด€๋ฆฌํ˜• ์„œ๋น„์Šค Inbound/Outbound NAT ํ•„ํ„ฐ๋ง ๊ทœ์น™ ์ ์šฉ ๊ณ ๊ฐ€์šฉ์„ฑ ๋‚ด์žฅ ๋ฌด์ œํ•œ ํ™•์žฅ์„ฑ Azure Monitor ์ง€์› Applicatio..

๋ฐ˜์‘ํ˜•