2024/12 23

[CentOS] ํŒŒ์ผ๋ถ™์—ฌ๋„ฃ๊ธฐํ• ๋•Œ ์ค‘๋ณตํŒŒ์ผ ์กด์žฌ์‹œ ๋ฌป์ง€์•Š๊ณ  ๋ฎ์–ด์“ฐ๊ธฐ

ํŒŒ์ผ ๋ณต์‚ฌํ•˜๊ธฐ ๋ช…๋ น์–ด๋กœ ๋ณต์‚ฌํ›„ ๋ถ™์—ฌ๋„ฃ๊ธฐ ํ–ˆ์„๋•Œ์ด๋ฆ„์ด ์ค‘๋ณต๋œ ํŒŒ์ผ์ด ์กด์žฌํ•˜๋ฉด overwriteํ• ๊ฒƒ์ธ์ง€ y/n์œผ๋กœ ์ž…๋ ฅ์„ ํ•ด์ค˜์•ผํ•˜๋Š”๋ฐ[ ๋ฌป์ง€์•Š๊ณ  ๋ฌด์กฐ๊ฑด ๋ฎ์–ด์“ฐ๊ธฐ ํ•˜๋Š” ๋ช…๋ น์–ด ]# yes | cp -rf ์›๋ณธํŒŒ์ผํด๋”๊ฒฝ๋กœ ๋Œ€์ƒํŒŒ์ผํด๋”๊ฒฝ๋กœ์˜ˆ์‹œ) yes | cp -rf /home/webapp/index.html /usr/share/nginx/htmlโ€‹

Dev_Study/CentOS 2024.12.27

[Dead Island Definitive Edition] ํ•œ๊ธ€ํŒจ์น˜

[ํ•œ๊ธ€ํŒจ์น˜ ํ•˜๋Š”๋ฒ•]1. Dead Island Riptide Definitive Edition.rar์˜ ์••์ถ•์„ ํ’€์–ด์ฃผ๋ฉด 2๊ฐœ์˜ ํŒŒ์ผ์ด ์žˆ๋‹ค    -DataEn.pak    -common_textures_1_pc.rpack2. ๊ฒŒ์ž„์ด ์„ค์น˜๋œ ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•œ๋‹ค    -์ŠคํŒ€๊ธฐ์ค€์˜ˆ์‹œ(C:\Program Files (x86)\Steam\steamapps\common\DIDE)3. ๊ฒŒ์ž„๊ฒฝ๋กœ์— ๊ฐ€๋ณด๋ฉด DIํด๋”๊ฐ€ ์žˆ๋Š”๋ฐ DIํด๋”๋ฅผ ๋ณต์‚ฌํ›„ ๋ฐ”ํƒ•ํ™”๋ฉด ๋˜๋Š” ๋‹ค๋ฅธ๊ณณ์— ๋ฐฑ์—…ํ•ด๋‘”๋‹ค4. ๋ฐฑ์—…์„ ์™„๋ฃŒํ•œ๋’ค DIํด๋”์— DataEN.pakํŒŒ์ผ์„ ๋ฎ์–ด์”Œ์›Œ์ค€๋‹ค    ex)C:\Program Files (x86)\Steam\steamapps\common\DIDE\DIํด๋”์— ๊ธฐ์กด์˜ํŒŒ์ผ์— ๋ฎ์–ด์”Œ์›Œ์ค€๋‹ค5. DIํด๋”์— ์žˆ๋Š” Dataํด๋”์— common_t..

Hobby/Game 2024.12.25

[Docker] com.mysql.cj.jdbc.exceptions.CommunicationsException

[ Error ] Docker ์ปจํ…Œ์ด๋„ˆ๋ฅผ 2๊ฐœ๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ๊ณผ์ •์—์„œ ๋ฐœ์ƒ๋œ Error๋กœA์ปจํ…Œ์ด๋„ˆ์—๋Š” ์Šคํ”„๋ง๋ถ€ํŠธ ํ”„๋กœ์ ํŠธ๋ฅผ jar๋กœ ๊ตฌ๋™B์ปจํ…Œ์ด๋„ˆ์—๋Š” mysql์„ ๊ตฌ๋™ํ•ด์„œA์ปจํ…Œ์ด๋„ˆ์˜ ์Šคํ”„๋งํ”„๋กœ์ ํŠธ๊ฐ€ B์ปจํ…Œ์ด๋„ˆ์˜ mysql๊ณผ ์—ฐ๊ฒฐ๋˜๋„๋ก ํ•˜๋Š” ๊ณผ์ •์—์„œB์ปจํ…Œ์ด๋„ˆ์˜ mysql์€ ๋จผ์ € ๊ตฌ๋™์‹œํ‚จ๋’คA์ปจํ…Œ์ด๋„ˆ๋Š” DockerFile์„ ํ†ตํ•ด ๋นŒ๋“œ์‹œ ๋งˆ์ง€๋ง‰์—CMD๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด java -jar๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ์‹คํ–‰ํ•˜๋„๋ก ํ–ˆ๋Š”๋ฐ์•„๋ž˜ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๊ณ mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver h..

Dev_Log 2024.12.20

[JS] ์ฆ‰์‹œ ์‹คํ–‰ ํ•จ์ˆ˜(Immediately Invoked Function Expression, IIFE)

[ ์ฆ‰์‹œ ์‹คํ–‰ ํ•จ์ˆ˜(Immediately Invoked Function Expression, IIFE) ]์ฆ‰์‹œ ํ˜ธ์ถœ๋˜๋Š” ํ•จ์ˆ˜ ๋˜๋Š”์ฆ‰์‹œ ํ˜ธ์ถœ๋˜๋Š” ํ•จ์ˆ˜ ํ‘œํ˜„์‹(Immediately Invoked Function Expression ๋˜๋Š” IIFE)์€์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ(Javascript)์˜ ํ•จ์ˆ˜ ๋ฒ”์œ„๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ์‹คํ–‰๋ฒ”์œ„๋ฅผ ์ƒ์„ฑํ•˜๋Š” ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๊ตฌ๋ฌธ์ด๋‹ค.์ž๋™์‹คํ–‰ํ•จ์ˆ˜๋กœ๋„ ๋ถˆ๋ฆฐ๋‹ค.์ฆ‰์‹œ ํ˜ธ์ถœ๋œ ํ•จ์ˆ˜ ํ‘œํ˜„์‹์„ ์‚ฌ์šฉํ•˜์—ฌ๋กœ์ปฌ ๋ธ”๋ก ๋‚ด์—์„œ ์ง€์—ญ ๋ณ€์ˆ˜ ํ˜ธ์ด์ŠคํŒ…์„ ๋ฐฉ์ง€ํ•˜๊ณ ,๊ธ€๋กœ๋ฒŒ ํ™˜๊ฒฝ์—์„œ ์ „์—ญ๋ณ€์ˆ˜๋ฅผ ์˜ค์—ผ์‹œํ‚ค๋Š” ๊ฒƒ์„ ๋ฐฉ์ง€ํ•˜๋ฉฐํ•จ์ˆ˜ ๋‚ด์— ์ •์˜๋œ ๋ณ€์ˆ˜์— ๋Œ€ํ•œ ํ”„๋ผ์ด๋ฒ„์‹œ๋ฅผ ์œ ์ง€ํ•˜๋ฉด์„œ๋™์‹œ์— ๋ฉ”์„œ๋“œ(method)์— ๋Œ€ํ•œ ๊ณต๊ฐœ ์—‘์„ธ์Šค๋ฅผ ํ—ˆ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค.[ ์˜ˆ์‹œ ] ์ด ๊ธ€์€ ํฌ๋ฆฌ์—์ดํ‹ฐ๋ธŒ ์ปค๋จผ์ฆˆ ์ €์ž‘์žํ‘œ์‹œ-..

[VS Code] java.home์„ค์ •ํ•˜๊ธฐ

[ ์—๋Ÿฌ ] VS Code๋กœ SpringBootํ”„๋กœ์ ํŠธ๋ฅผjava๋Š” JDK21, ๋นŒ๋“œ๋Š” Gradle๋กœ ๋งŒ๋“ค์—ˆ๋Š”๋ฐ๋นŒ๋“œ์‹œ Gradle์ด๊ณ„์†ํ•ด์„œ  ์˜ˆ์ „๋ฒ„์ „์˜ jdk๊ฒฝ๋กœ๋ฅผ ์ฐธ์กฐํ•ด์„œ ๋นŒ๋“œ๊ฐ€ ์‹คํŒจํ•˜๋Š” ๋ฌธ์ œ ๋ฐœ์ƒvscode์—์„œ java.home์„ ๋ณ€๊ฒฝํ•˜๋Š”๋ฒ•์„ ๊ฒ€์ƒ‰ํ•ด์„œ ํ•ด๋ดค์ง€๋งŒ ์‹คํŒจ  [ Solution ]Ctrl + Shift + P(๋ช…๋ นํŒ”๋ ˆํŠธ)๋ฅผ ์—ด๊ณ Preferences: Open Workspace Settings (JSON)์œผ๋กœ ๋“ค์–ด๊ฐ€์„œ{ "java.home": "์„ค์ •์„ ์›ํ•˜๋Š” JDK์˜ ๊ฒฝ๋กœ"}๋ฅผ ์ž‘์„ฑํ›„ ์ €์žฅํ•˜๋ฉด์šฐ์ธกํ•˜๋‹จ์— ๋‹ค์Œ๊ณผ๊ฐ™์ด ๋œฐํ…๋ฐJava(TM) by Red Hat์„ Reloadํ•˜๊ณ  ์ž ์‹œ ๊ธฐ๋‹ค๋ฆฌ๋ฉด ์ ์šฉ์™„๋ฃŒ๋œ๋‹ค

Dev_Log 2024.12.16

[DB] ์ €์žฅ ํ”„๋กœ์‹œ์ €(Stored Procedure)

[ ์ €์žฅ ํ”„๋กœ์‹œ์ €(Stored Procedure) ]์ €์žฅ ํ”„๋กœ์‹œ์ € ๋˜๋Š” ์Šคํ† ์–ด๋“œ ํ”„๋กœ์‹œ์ €(stored procedure)๋Š”์ผ๋ จ์˜ ์ฟผ๋ฆฌ๋ฅผ ๋งˆ์น˜ ํ•˜๋‚˜์˜ ํ•จ์ˆ˜์ฒ˜๋Ÿผ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•œ์ฟผ๋ฆฌ์˜ ์ง‘ํ•ฉ์ด๋‹ค.๋ฐ์ดํ„ฐ ๋ฒ ์ด์Šค์— ๋Œ€ํ•œ ์ผ๋ จ์˜ ์ž‘์—…์„ ์ •๋ฆฌํ•œ ์ ˆ์ฐจ๋ฅผ๊ด€๊ณ„ํ˜• ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ด€๋ฆฌ ์‹œ์Šคํ…œ์— ์ €์žฅํ•œ(์ง€์†์„ฑ) ๊ฒƒ์œผ๋กœ์˜๊ตฌ์ €์žฅ๋ชจ๋“ˆ(Persistent Storage Module)์ด๋ผ๊ณ ๋„ ๋ถˆ๋ฆฐ๋‹ค.[ ๊ฐœ์š” ]๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์–ธ์–ด ํ‘œ์ค€ SQL์—์„œ๋Š” SQL / PSM๊ธฐ์ค€์œผ๋กœ ์ฑ…์ •๋˜์–ด ์žˆ๋‹ค.๋ฒค๋”(์ œ์กฐ์‚ฌ) ๊ฐ์‚ฌ ๋ชจ๋‘ ์ •์ , ๋™์  SQL์— ์ปค์„œ ์ฒ˜๋ฆฌ ๋ฐ์ฒด์–ด ๊ตฌ๋ฌธ, ์˜ˆ์™ธ ์ฒ˜๋ฆฌ ๋“ฑ์„ ํฌํ•จํ•œ ์‚ฌ์–‘์˜ ํ™•์žฅ ์–ธ์–ด๋กœ์ ˆ์ฐจ๋ฅผ ์„ค๋ช…ํ•  ์ˆ˜ ์žˆ๋Š” DBMS๋ฅผ ์ œ๊ณตํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ๋‹ค.๋˜ํ•œ C์–ธ์–ด๋กœ ์ž‘์„ฑ๋œ ์ปดํŒŒ์ผํ•œ ์™ธ๋ถ€ ๋ชจ๋“ˆ(๊ณต์œ  ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ) ๋ฐJavaํด๋ž˜์Šค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์—์„œ ํ•จ์ˆ˜..

DB_Study/Procedure 2024.12.11

์ „์‚ฐ ์œ ์ฒด ์—ญํ•™(CFD, Computational fluid dynamics)

[ ์ „์‚ฐ ์œ ์ฒด ์—ญํ•™(CFD, Computational fluid dynamics) ]์ „์‚ฐ ์œ ์ฒด ์—ญํ•™(CFD, Computational fluid dynamics)์€์œ ์ฒด ํ˜„์ƒ์„ ๊ธฐ์ˆ ํ•œ ๋น„์„ ํ˜•๊ณ„ ํŽธ๋ฏธ๋ถ„๋ฐฉ์ •์‹์ธ๋‚˜๋น„์—-์Šคํ† ํฌ์Šค ๋ฐฉ์ •์‹(Navier-Stokes Equations)์„ ์œ ํ•œ์ฐจ๋ถ„๋ฒ• (Finite Difference Method), ์œ ํ•œ์š”์†Œ๋ฒ• (Finite Element Method),์œ ํ•œ์ฒด์ ๋ฒ•(Finite Volume Method) ๋“ฑ์˜ ๋ฐฉ๋ฒ•๋“ค์„ ์‚ฌ์šฉํ•˜์—ฌ์ด์‚ฐํ™”ํ•˜์—ฌ ๋Œ€์ˆ˜ ๋ฐฉ์ •์‹์œผ๋กœ ๋ณ€ํ™˜ํ•˜๊ณ ,์ด๋ฅผ ์ˆ˜์น˜ ๊ธฐ๋ฒ•(numerical methods)์˜ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์‚ฌ์šฉํ•˜์—ฌ์œ ์ฒด ์œ ๋™ ๋ฌธ์ œ๋ฅผ ํ’€๊ณ  ํ•ด์„ํ•˜๋Š” ๊ฒƒ์ด๋‹ค. ์ปดํ“จํ„ฐ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ณตํ•™ ๋ฌธ์ œ์—์„œ ์œ ์ฒด์™€ ๊ธฐ์ฒด์˜ ์ƒํ˜ธ์ž‘์šฉ์„ ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ํ•œ๋‹ค.๊ทธ๋Ÿฌ๋‚˜, ์‹์„ ์—ฌ๋Ÿฌ๊ฐ€์ •์„ ํ†ตํ•ด ๊ฐ„..

Life_Log 2024.12.11
728x90
๋ฐ˜์‘ํ˜•