๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ

GitHub์— "์ ˆ์ฐจ์ ์‚ฌ๊ณ ์™€ ํ”„๋กœ๊ทธ๋ž˜๋ฐ" ์ˆ˜๊ฐ•์‹ ์ฒญ ํ”„๋กœ๊ทธ๋žจ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ํŒŒ์ผ์„ GitHub์— ์—ฐ๋™ํ•˜๋ ค๊ณ ํ•˜๋Š”๋ฐ ์ด์™€ ๊ฐ™์€ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€๋‹ค. 1. git@github.com: permission denied (publickey). fatal: could not read from remote repository 2. //git remote add origin https://github.com/**/**.git ๋ช…๋ น์–ด ์‚ฌ์šฉ์‹œ fatal: remote origin already exists. ์ด์™€ ๊ฐ™์€ ๋ฌธ์ œ์— ๋Œ€ํ•œ ํ•ด๊ฒฐ์ฑ…์„ ์ ๊ณ ์žํ•œ๋‹ค. 1. git@github.com: permission denied (publickey). fatal: could not read from remote repository CMD ..
๋ฐ‘ ํŒŒ์ผ์„ ๋ฐ”ํƒ•์œผ๋กœ ๋‹ค์šด๋กœ๋“œ https://github.com/axios/axios ๊ธฐ์กด์— ๊ฐ€์ง€๊ณ  ์žˆ๋˜ NPM ํŒŒ์ผ ์„ค์น˜ ํ›„, ๊ทธ ๋‚ด๋ถ€์— Axios ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ๋‹ค์šด๋กœ๋“œ ํ•˜๊ณ ์ž ํ•œ๋‹ค. ์ด๊ฒƒ์ด ์žˆ์œผ๋ฉด, ๊ธฐ์กด์— Spring boot๋กœ ๋งŒ๋“ค์—ˆ๋˜ ์„œ๋ฒ„์™€ ์—ฐ๊ฒฐ์ด ๊ฐ€๋Šฅํ•˜์—ฌ ์„œ๋ฒ„๊ฐ€ ๊บผ์ง€์ง€ ์•Š๋Š”๋™์•ˆ์€ ์ƒˆ๋กœ๊ณ ์นจ์„ ํ•˜์—ฌ๋„ ๋ฐ์ดํ„ฐ๊ฐ€ ์‚ฌ๋ผ์ง€์ง€ ์•Š๋Š”๋‹ค๊ณ  ํ•œ๋‹ค,, VueJS ํ”„๋ ˆ์ž„์›ŒํŠธ(HTML) "frontend" ํŒŒ์ผ์„ VS Code๋กœ ์—ด์–ด ๋‚ด๋ถ€ Terminal๋กœ ๋‹ค์šด๋กœ๋“œ๋ฅผ ์‹คํ–‰ํ•œ๋‹ค. ๋‹ค์šด๋กœ๋“œ๊ฐ€ ์™„๋ฃŒ๋œ ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.
2์ฃผ์ฐจ์—์„œ ์ง„ํ–‰ํ–ˆ๋˜ ํ™œ๋™์€ ์ฃผ๋กœ ์‹ค์Šต๋ณด๋‹ค๋Š” ๊ฐœ๋…์„ ์œ„์ฃผ๋กœ ์ง„ํ–‰ํ–ˆ๊ธฐ์— ์กฐ๊ธˆ ์ˆ˜์›”(?)ํ•˜๊ฒŒ ์‹ค์Šต์„ ์ง„ํ–‰ํ–ˆ์—ˆ๋‹ค. 1์ฃผ์ฐจ๋ถ€ํ„ฐ ํ˜„์žฌ๊นŒ์ง€ ์ง„ํ–‰ํ•œ ์ˆ˜์—…์˜ ๊ฐœ๋…๋“ค์€ ์‹œ๊ฐ„๋‚  ๋•Œ ํ•œ๋ฒˆ์— ์ž‘์„ฑํ•˜๊ณ ์ž ํ•œ๋‹ค,, (์ƒ๊ฐ๋ณด๋‹ค ์–‘์ด ๋งŽ์Œ,,) 2์ฃผ์ฐจ์— ์ง„ํ–‰ํ–ˆ๋˜ ์‹ค์Šต์€ ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค ํฌํŠธํฌ์›Œ๋”ฉ ์™ธ๋ถ€์˜ pc๊ฐ€ ๋‚ด๋ถ€ pc์— ์ ‘๊ทผํ•˜๊ธฐ ์œ„ํ•ด ํŠน์ • ํฌํŠธ๋ฅผ ์—ด์–ด ์ ‘์†ํ•˜๋Š” ์š”์ฒญ๋งŒ ๋ฐ›์•„ ์ ‘๊ทผ ํ—ˆ์šฉํ•ด์ฃผ๋Š” ๊ฒƒ ๋‚ด๊ฐ€ ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ๊ณต์œ ๊ธฐ๋Š” iptime์œผ๋กœ iptime ๊ณต์œ ๊ธฐ๋กœ ํฌํŠธํฌ์›Œ๋”ฉ์„ ์ง„ํ–‰ํ•ด๋ณด์ž 1. http://192.168.0.1/ ๋กœ ์ด๋™ ๋กœ๊ทธ์ธ์„ ์ง„ํ–‰ํ•œ๋‹ค. 2. ์›๊ฒฉ์ ‘์† ๋‚ด๋ถ€ IP ํ™•์ธ cmd ์ ‘์†ํ•˜์—ฌ ipconfig๋ฅผ ํ†ตํ•ด ip ์ฃผ์†Œ๋ฅผ ์•Œ์•„๋ณด์ž //cmd ์ฐฝ ๋‚ด๋ถ€์— ์ž…๋ ฅ ipconfig 3. ๊ด€๋ฆฌ๋„๊ตฌ ๋‚ด๋ถ€ ๊ณ ๊ธ‰ ์„ค์ • -> NAT/๋ผ์šฐํ„ฐ ๊ด€๋ฆฌ -..
์—ฌํƒœ๊นŒ์ง€ local์—์„œ ์ง„ํ–‰ํ•œ ๋ฐฐ๋‹ฌ์˜ ๋ฏผ์กฑ spring boot ํŒŒ์ผ์„ ์•„๋งˆ์กด EC2 ์„œ๋ฒ„์— ์˜ฌ๋ฆฌ๋ ค๊ณ ํ•  ๋•Œ ์œ„์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€๋‹ค. /* * /var/www/UMC_Server ํŒŒ์ผ ๋‚ด๋ถ€๋กœ ์ด๋™ */ cd /var/www/UMC_Server /var/www/UMC_Server$ git pull //์—๋Ÿฌ๋ฌธ ๋ฐœ์ƒ error: cannot open .git/FETCH_HEAD: Permission denied ๋งŽ์€ ๊ตฌ๊ธ€๋ง์„ ํ•ด๋ด๋„ ํ•ด๊ฒฐ์ด ์•ˆ๋˜์—ˆ์ง€๋งŒ ํ™€๋กœ ๋‹ค์‹œ ์ง„ํ–‰ํ•ด๋ณด๋‹ˆ ํ•ด๊ฒฐ์ด ์™„๋ฃŒ sudo ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜์ง€ ์•Š์€ ๊ฒƒ์ด๋‹ค. ~$ sudo su /home/ubuntu# cd /var/www /var/www# ls UMC_Server html /var/www# cd /var/www/UMC_Server //gi..
1์ฃผ์ฐจ UMC ํ™œ๋™ํ•˜๋ฉด์„œ ๋‘๊ฐ€์ง€ ๐Ÿ”ฅํŠธ๋Ÿฌ๋ธ” ์ŠˆํŒ…๐Ÿ”ฅ์ด ๋ฐœ์ƒํ•˜์˜€๋‹ค. virtual box application์•ˆ์— ubuntu os๋กœ php ํŒŒ์ผ์„ ์ƒ์„ฑํ–ˆํ•˜๋ฉด์„œ ํŠธ๋Ÿฌ๋ธ” ์ŠˆํŒ…์ด ๋ฐœ์ƒํ–ˆ๋‹ค. ์ด๋ฅผ ํ•ด๊ฒฐํ•œ ๋ฐฉ๋ฒ•์„ ์ž‘์„ฑํ•˜์—ฌ ๋‹ค์‹œ ๋˜๋Œ์•„ ๋ณด๊ณ ์ž ํ•œ๋‹ค. 1. php ํŒŒ์ผ์„ ์ƒ์„ฑํ•˜๊ณ  ์•ˆ์— insert ๋ถˆ๊ฐ€ //์œ„ ๊ฒฝ๋กœ๋กœ ์ด๋™ cd var/www/html //๊ฒฝ๋กœ ๋‚ด๋ถ€์— phpinfo.php ํŒŒ์ผ ์ƒ์„ฑ vim phpifo.php [ ๋ฌธ์ œ ์›์ธ ] ์ด์ฒ˜๋Ÿผ ํŒŒ์ผ์„ ์ƒ์„ฑํ–ˆ์ง€๋งŒ, insert ๋ถˆ๊ฐ€ ๋˜ํ•œ visual ์ด๋ผ๋Š” ๊ฒฝ๊ณ ๋ฌธ์ด ์ƒ์„ฑ ๋จ [ ํ•ด๊ฒฐ ๋ฐฉ์•ˆ ] insert๋ฅผ ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” i ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๊ธฐ insert๋ฅผ ๋๋‚ด๊ณ  php ํŒŒ์ผ์—์„œ ๋‚˜๊ฐ€๋ ค๋ฉด esc ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅธ ํ›„, :wq! [์ฐธ๊ณ ์ž๋ฃŒ] http://igoto.x-y.net/..
NPM์„ ์„ค์น˜ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” https://nodejs.org/en/download/ Download | Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org ์ด ์‚ฌ์ดํŠธ์— ๋“ค์–ด๊ฐ€์„œ ์œ„ ํŒŒ์ผ์„ ๋‹ค์šด๋ฐ›์•„ ์„ค์น˜ํ•˜๋ฉด NPM ์„ค์น˜ ์™„๋ฃŒ ์„ค์น˜ ๋จ์„ ํ™•์ธํ•˜๊ธฐ ์œ„ํ•ด CMD ์ฐฝ์—์„œ ์ž…๋ ฅ์„ ํ•ด๋ณด๋ฉด ์„ค์น˜ ๋œ ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. ์ด์ œ ํ•™๊ต ์ˆ˜์—…์‹œ๊ฐ„ [๊ฐ์ฒด ์ง€ํ–ฅ์ ์‚ฌ๊ณ ์™€ ํ”„๋กœ๊ทธ๋ž˜๋ฐ]์—์„œ ํ•„์š”๋กœํ•˜๋Š” NPM ํ”„๋กœ๊ทธ๋žจ์„ ์ œ๋Œ€๋กœ ์„ค์น˜ํ•ด๋ณด์ž. - ํ”„๋กœ์ ํŠธ ํŒŒ์ผ ์„ค์น˜ CMD ์ฐฝ์—์„œ frontend ํŒŒ์ผ์„ ์ƒ์„ฑํ•ด๋ณด์ž //frontend ํŒŒ์ผ ์ƒ์„ฑ mkdir frontend //frontend ํŒŒ์ผ๋กœ ๋“ค์–ด๊ฐ cd frontend/ ..
ํ•™๊ต์—์„œ DB ์„ค๊ณ„ ๋ฐ ๊ตฌํ˜„2 ์ˆ˜์—…์„ ๋“ค์œผ๋ฉด์„œ Oracle DBMS๋กœ ์‹ค์Šต์„ ์ง„ํ–‰ํ•˜๊ณ ์ž ํ•˜์˜€๋‹ค. Oracle DBMS๋ฅผ ์„ค์น˜ํ•˜๋Š” ๊ณผ์ • ์†์—์„œ ํ•˜๋‚˜์˜ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€๋‹ค. 'ํŒŒ์ผ์„ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.' ๋ผ๋Š” ๋ฌธ๊ตฌ์™€ ํ•จ๊ป˜ ์„ค์น˜ ์˜ค๋ฅ˜๊ฐ€ ๋‚œ ๊ฒƒ์ด๋‹ค. ์ด๋ฅผ ๋Œ€์ˆ˜๋กญ๊ฒŒ ์ƒ๊ฐํ•˜์ง€ ์•Š๊ณ  ๊ฑด๋„ˆ๋›ฐ๊ธฐ๋ฅผ ํ•˜๋ฉด์„œ ์„ค์น˜๋ฅผ ์ง„ํ–‰ํ•˜๋ ค๊ณ  ํ–ˆ๋Š”๋ฐ, ๊ตฌ๊ธ€๋ง์„ ํ•˜๋‹ˆ ์ด ๊ฒƒ์„ ๊ฑด๋„ˆ ๋›ฐ๊ณ  ํ•˜๋ฉด ์‹ค์Šต์„ ํ•  ๋•Œ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹ค๊ณ  ๋˜์–ด ์žˆ์—ˆ๋‹ค. ๋˜ํ•œ 44%์—์„œ ์„ค์น˜ ์ง„ํ–‰์ด ๋ฉˆ์ถฐ์„œ ์„ค์น˜๊ฐ€ ๋˜์ง€ ์•Š์•˜๋‹ค. ์ƒ๊ฐ์„ ํ•ด๋ณด๋‹ˆ, ๋‘ ํŒŒ์ผ์„ ์••์ถ• ํ•ด์ œํ•  ๋•Œ ๊ต์ˆ˜๋‹˜๊ป˜์„œ 'ํ•˜๋‚˜์˜ ๊ฒฝ๋กœ๋กœ ๋งŒ๋“œ์„ธ์š”'๋ผ๋Š” ๋ง์„ ์ƒ๊ฐํ•˜์ง€ ์•Š๊ณ  ๊ฐ์ž ๋”ฐ๋กœ๋”ฐ๋กœ ๋„ฃ์–ด๋†จ์—ˆ๋‹ค.. ์ด ๋‘ ์••์ถ• ํŒŒ์ผ์„ ํ•ด์ œํ•˜๋ฉด ํŒŒ์ผ ์•ˆ์— 'database' ํŒŒ์ผ์ด ์žˆ์„ ๊ฒƒ์ด๋‹ค. V77408-01_2of2์˜ dat..
ํ•™๊ต ์ „๊ณต ์ˆ˜์—… ์‹œ๊ฐ„์— Sping boot๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด์„œ, Httpie๋ฅผ ์„ค์น˜๋ฅผ ํ•ด์•ผ๋งŒ ํ–ˆ๋‹ค. Mac OS์—์„œ๋Š” ๋‹ค์šด๋กœ๋“œ๊ฐ€ ์‰ฝ์ง€๋งŒ, Winodw OS์—์„œ๋Š” Python์ด ์„ค์น˜๋˜์–ด ์žˆ์ง€ ์•Š์•„ ์„ค์น˜๊ฐ€ ์šฉ์ดํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์— Winodw OS์—์„œ Httpie๋ฅผ ์„ค์น˜ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์ž‘์„ฑํ•˜๊ณ ์ž ํ•œ๋‹ค. https://luji.tistory.com/99 httpie Windows์—์„œ ์„ค์น˜ํ•˜๊ธฐ httpie๋ž€? ํŒŒ์ด์„ ์—์„œ ๊ฐœ๋ฐœ๋œ ์œ ํ‹ธ๋ฆฌํ‹ฐ๋กœ http ๊ฐœ๋ฐœ์ด๋‚˜ ๋””๋ฒ„๊น… ์šฉ๋„๋กœ ์‚ฌ์šฉ๋œ๋‹ค. ์‚ฌ์šฉ์„ฑ์ด ์‰ฌ์šฐ๋ฉด์„œ json์ด ๋‚ด์žฅ๋˜์–ด์žˆ๋‹ค. ๊ฐ€๋…์„ฑ์ด ๋›ฐ์–ด๋‚˜๋ฉฐ ๊ธฐํƒ€ ์žฅ์ ๋“ค์ด ์žˆ์Œ. ๋ณดํ†ต ๋ฆฌ๋ˆ…์Šค๋‚˜ ๋งฅ์—์„  yum, apt, bre luji.tistory.com ์ด ๋ธ”๋กœ๊ทธ๋ฅผ ํ†ตํ•ด์„œ Httpie ์„ค์น˜๋ฅผ ์ง„ํ–‰ํ–ˆ๋‹ค. 1. ๋ฐ‘ ๋งํฌ์— ๋“ค์–ด๊ฐ€์„œ Python์„ ..
Spring boot๋กœ ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด, ์ด๋ฏธ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š” ํฌํŠธ์ด๋ฏ€๋กœ ํ˜„์žฌ ์—ฐ๊ฒฐํ•  ์ˆ˜ ์—†๋‹ค๋Š” error ๋ฌธ์ด ๋œฐ ๋•Œ๊ฐ€ ์žˆ๋‹ค. ์ด๋•Œ, ์‚ฌ์šฉ์ค‘์ธ ํฌํŠธ๋ฅผ ์ฃฝ์ผ ์ˆ˜ ์žˆ๋Š” ๋ช…๋ น์–ด๋ฅผ ์„ค๋ช…ํ•˜๊ณ ์ž ํ•œ๋‹ค. ๊ฒ€์ƒ‰์— cmd๋ฅผ ์ž…๋ ฅํ•œ๋‹ค. ๋ช…๋ น ํ”„๋กฌํ”„ํŠธ์— ๋“ค์–ด๊ฐ€ ์ด์™€ ๊ฐ™์€ ์ฝ”๋“œ๋ฅผ ์ž…๋ ฅํ•œ๋‹ค. netstat -ano 22024 pid ๋ฒˆํ˜ธ๋ฅผ ์•Œ๊ฒŒ ๋˜๊ณ  ๋‚œ ํ›„, ์ด๋ฅผ ๊ฐ•์ œ ์ข…๋ฃŒํ•œ๋‹ค. taskkill /f /pid 22024 ์„ฑ๊ณต์ ์œผ๋กœ ์ข…๋ฃŒ๋œ ๊ฒƒ์„ ์•Œ ์ˆ˜ ์žˆ๋‹ค. ์š”์•ฝํ•˜์ž๋ฉด 1. netstat -ano 2. taskkill /f /pid [ํฌํŠธ๋ฒˆํ˜ธ] ์ธ ๊ฒƒ์ด๋‹ค
โ€ปํ•ด๊ฒฐ ๋ฐฉ๋ฒ•๋ถ€ํ„ฐ ๋ณด๊ณ  ์‹ถ์€ ์‚ฌ๋žŒ๋“ค์€ ๋ฐ”๋กœ ๋งˆ์ง€๋ง‰์œผ๋กœ ๋‚ด๋ ค๊ฐ€์„ธ์š”!!โ€ป ํ•™๊ต ์ˆ˜์—…์—์„œ ์ง„ํ–‰ํ•˜๋Š” Spring boot ๊ณผ์ œ ์‹œํ–‰ ์‹œ, ์ด์™€ ๊ฐ™์€ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€๋‹ค. 2021-11-08 16:02:17.715 ERROR 9912 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Field cart in com.example.PetAppMidterm.Application required a bean of type 'com.example.PetAppMidterm.PetRepository' that c..
chaerlo127
'๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก (14 Page)