๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

All

(175)
VSCODE * Template02. Ayu ์˜ˆ์˜๋‹ค..!! ๋ญ”๊ฐ€ ์•„๊ธฐ์ž๊ธฐํ•œ ๊ฒƒ ๊ฐ™์œผ๋ฉด์„œ๋„... ๊น”๋”ํ•œ! ๊ธ€์”จ๊ฐ€ ๊ฐ€๋กœ๋กœ ์ข€ ๋” ๋‚˜์™”์œผ๋ฉด ํ•˜๋Š” ๋ฐ”๋žŒ์ด ์žˆ๊ธด ํ•˜์ง€๋งŒ.. ํฌ๊ฒŒ Light ๋ฒ„์ „๊ณผ Mirage, Dark 3๊ฐ€์ง€ ๋ฒ„์ „์ด ์žˆ๊ณ , ์ฝ”๋”ฉ์ฐฝ ๋ฉ”๋‰ด์ฐฝ์˜ ์ƒ‰์„ ๊ตฌ๋ถ„ํ•˜๋Š” ๋ฒ„์ „์ด ํฌํ•จ๋˜์–ด ์žˆ๋‹ค. Light ๋ฒ„์ „์ด ์ œ์ผ ์˜ˆ๋ป๋ณด์ธ๋‹ค.
VSCODE * Template01. Noctis ์˜ˆ์˜๊ณ  ์•„๊ธฐ์ž๊ธฐํ•ด ๋ณด์ด๋Š” ํ…œํ”Œ๋ฆฟ์ด๋‹ค. ์–ด๋‘์šด ์ƒ‰๋“ค ๋ณด๋‹ค๋Š” ๋ฐ์€ ์ƒ‰์— ์ ์šฉํ–ˆ์„ ๋•Œ ๋” ์˜ˆ๋ป๋ณด์ธ๋‹ค. ์•„๋ž˜ ์ ์šฉ ์ด๋ฏธ์ง€๋ฅผ ์ฒจ๋ถ€ํ•ด๋†“์•˜๋‹ค. ์ด๋ฏธ์ง€๋งŒ ๋ณด๊ณ  ์ƒ๊ฐํ–ˆ์„ ๋•Œ ์ฃผ์„๊ณผ ์ž๋ฃŒํ˜• ๊ทธ๋ฆฌ๊ณ  ๋ช‡๋ช‡ ์˜ˆ์•ฝ์–ด๋“ค์— ์‚ฌ์šฉ๋˜์ง€ ์•Š์•˜๋‚˜์‹ถ๋‹ค. ์˜ˆ์˜๊ธดํ•œ๋ฐ ์ฝ”๋“œ๋ฆฌ๋ทฐ๋ฅผ ํ•  ๋•Œ๋Š” ๋‹ค๋ฅธ ํ…Œ๋งˆ๋กœ ๋ฐ”๊ฟ”์ฃผ์–ด์•ผ ํ•  ๊ฒƒ ๊ฐ™๋‹ค๐Ÿคฃ..
Notion * ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•œ๊ฐ€? ๊ธฐ๋ณธ์ ์œผ๋กœ Free ๋ฒ„์ „์€ ๋‹น์—ฐํžˆ ๋ชจ๋‘๊ฐ€ ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๋‹ค. ๋‹จ, 1000 Block์˜ ์ œํ•œ์ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ์‚ฌ์‹ค ์ƒ ๊ธฐ๋กํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒƒ์ด ๋งŽ์ง€๋Š” ์•Š๋‹ค๊ณ  ์ƒ๊ฐํ•œ๋‹ค. ๊ทธ๋ž˜์„œ ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ฐฉ๋ฒ•์ด ์žˆ๋Š”๊ฐ€??? ํ˜„์žฌ(2020/03/10)๋กœ์จ๋Š” ํ•˜๋‚˜์˜ ๋ฐฉ๋ฒ•์ด ์žˆ๋‹ค. ๋ฐ”๋กœ, Notion for Education ๊ต์œก ๊ณ„์ •(๋Œ€ํ•™๊ต, ๋Œ€ํ•™์›)์„ ์ด์šฉํ•˜๋Š” ๊ฒƒ์ด๋‹ค. ๊ต์œก ๊ณ„์ •? .ac ๋˜๋Š” .edu ๋“ฑ ๊ต์œก ๊ด€๋ จ ๋„๋ฉ”์ธ์ด ํฌํ•จ๋œ ์ด๋ฉ”์ผ ๊ณ„์ •์„ ์ด์•ผ๊ธฐ ํ•œ๋‹ค! ๊ต์œก ๊ณ„์ •์„ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฉ”์ผ ์ธ์ฆ์„ ํ•˜๋ฉด Personal ์š”๊ธˆ์ œ๋ฅผ 0์›์— ๋ฌด์ œํ•œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค! ๊ตญ๋‚ด์—์„œ ํ•™์ƒ์ด ์‚ฌ์šฉํ•˜๋Š” ์ด๋ฉ”์ผ ๋„๋ฉ”์ธ์€ ๊ต์œก ๊ธฐ๊ด€์ด ์‚ฌ์šฉํ•˜๋Š” ๋„๋ฉ”์ธ์ธ .ac.kr ์ด ์•„๋‹Œ ๊ฒฝ์šฐ๊ฐ€ ๋‹ค์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ, ๊ต์œก ๊ธฐ๊ด€์—์„œ ๋ฐœ๊ธ‰๋ฐ›์€ ์›น ๋ฉ”์ผ์ด๋ผ๋ฉด ์‹œ๋„ํ•ด..
๐Ÿณ Docker * sudo ๊ท€์ฐฎ์•„.. ๋„ˆ๋ฌด ๊ท€์ฐฎ์•„... ์•ˆ ์น˜๊ณ  ์‹ถ์–ด... ๋ฆฌ๋ˆ…์Šค์—์„œ ๋„์ปค๋ฅผ ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด root ๊ถŒํ•œ์ด ์•„๋‹ˆ๋ฉด ๊ณ„์† root ๊ถŒํ•œ์„ ๋ถ€์—ฌํ•˜์—ฌ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•ด sudo ํ‚ค์›Œ๋“œ๋ฅผ ๋ถ™์—ฌ์•ผ ํ•œ๋‹ค. Why? docker ๋ช…๋ น์„ ์‚ฌ์šฉํ•  ๋•Œ docker ๋ฐ๋ชฌ์ด root ๊ถŒํ•œ์œผ๋กœ ์‹คํ–‰๋˜๊ธฐ ๋•Œ๋ฌธ์— ํ•ญ์ƒ sudo๋ฅผ ๋ถ™์ธ ํ›„ docker ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜๋Š” ๊ฒƒ ์ด๋‹ค. ์†”์งํžˆ ๋ช‡๊ธ€์ž ๋˜์ง€๋Š” ์•Š์ง€๋งŒ ์ €๊ฒƒ๋„ ๊ณ„์† ์น˜๋‹ค ๋ณด๋ฉด ๊ท€์ฐฎ๋‹ค.. (์ •๋ง์ž„) ๊ทธ๋ž˜์„œ ์˜ค๋Š˜์€ sudo ํ‚ค์›Œ๋“œ๋ฅผ ์น˜์ง€ ์•Š๊ฒŒ ํ•˜๊ธฐ ์œ„ํ•ด์„œ docker ๊ทธ๋ฃน์— ๊ณ„์ •์„ ์ถ”๊ฐ€ ํ•ด ๋ณด๋„๋ก ํ•˜๊ฒ ๋‹ค! ๊ทธ๋ฃน์— ๊ณ„์ •์„ ์ถ”๊ฐ€ํ•˜๊ธฐ ์‚ฌ์‹ค ํŠน๋ณ„ํ•œ ๋ฐฉ๋ฒ•์ด ์žˆ๋Š”๊ฒŒ ์•„๋‹ˆ๋‹ค. ๊ทธ๋ƒฅ ๋‹ค๋ฅธ ํ”„๋กœ๊ทธ๋žจ? ๋“ค์„ ์‹คํ–‰ํ•  ๋•Œ๋„ sudo๋ฅผ ๋ถ™์ด๋Š”๊ฒŒ ๊ท€์ฐฎ๋‹ค๋ฉด ํ•ด๋‹น ๊ทธ๋ฃน์— ๊ณ„์ •์„ ์ถ”๊ฐ€ํ•ด ์ฃผ๋ฉด ๋œ๋‹ค. $ sudo docker -aG docker $USER -a: ad..
๐Ÿ Python * PCM(raw data) ๋น…/๋ฆฌํ‹€ ์—”๋””์•ˆ ๋ณ€ํ™˜ํ•˜๊ธฐ " PCM(raw binary) ๋ฐ์ดํ„ฐ์˜ ์ €์žฅ ๋ฐฉ์‹์„ ๋ณ€๊ฒฝํ•˜๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค! " ์กฐ๊ธˆ ๋” ์ƒ์„ธํžˆ ๋งํ•˜์ž๋ฉด, Big endian ํ˜•์‹์œผ๋กœ ์ €์žฅ๋œ PCM ๋ฐ์ดํ„ฐ๋ฅผ Little endian ์ €์žฅ ํ˜•์‹์œผ๋กœ ๋ฐ”๊พธ๊ณ  ์‹ถ์—ˆ๋‹ค. ๋Œ€๋ถ€๋ถ„ ๊ธฐ๋ณธ์ ์œผ๋กœ( ์•„๋‹์ˆ˜๋„ ์žˆ์Œ ๐Ÿคฃ ) Little endian ํ˜•์‹์œผ๋กœ ๋ฐ์ดํ„ฐ๋“ค์„ ์ €์žฅํ•˜๋Š”๋ฐ, ์ผ๋ณธํšŒ์‚ฌ์—์„œ ์ œ๊ณตํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์‚ฌ์šฉํ•˜๋ ค๊ณ  ํ–ˆ๋”๋‹ˆ ๊ธฐ๋ณธ ํ˜•์‹์ด Big endian์ด์—ฌ์•ผ ํ•œ๋‹จ๋‹ค... ๐Ÿ˜ฑ ์ธํ„ฐ๋„ท ๊ฒ€์ƒ‰์„ ํ–ˆ์„ ๋•Œ Int ํ˜• ๋ฐ์ดํ„ฐ๋ฅผ Binery ํ˜•์œผ๋กœ ๋ฐ”๊พธ๋ฉด์„œ Big ๋˜๋Š” Little endian ํ˜•์‹์„ ์„ ํƒํ•˜๋Š” ์˜ˆ์‹œ๋Š” ๋งŽ์ด ๋‚˜์™”์œผ๋‚˜, ๋‚ด ๊ฒ€์ƒ‰ ์‹ค๋ ฅ์ด ๋ถ€์กฑํ•œ ํƒ“์ธ์ง€ Raw data๋ฅผ ์ฝ์–ด์™€ ์ด๋ฅผ ๋ฐ”๊พธ๋Š” ์˜ˆ์‹œ๋Š” ์ฐพ์ง€ ๋ชปํ–ˆ๋‹ค. ํ˜น์‹œ ๋‹ค๋ฅธ ๋ฐฉ๋ฒ• ์•„์‹œ๋ฉด ์ฝ”๋ฉ˜๋“œ ๋‚จ๊ฒจ์ฃผ์„ธ์š” ๐Ÿง ํ•ด์„œ ํšŒ์‚ฌ ์ƒ์‚ฌ๋ถ„..
๐Ÿง Ubuntu * ์‹œ์Šคํ…œ ์ •๋ณด ํ™•์ธ ( OS ์ด๋ฆ„, ๋ฒ„์ „, ์ปค๋„ ) ๋ฐฉ๋ฒ•์—๋Š” ์—ฌ๋Ÿฌ๊ฐ€์ง€๊ฐ€ ์žˆ๋‹ค. ๊ทธ์น˜๋งŒ ๋‹ค ์ ๋Š” ๊ฑด ๋„ˆ๋ฌด ๊ท€์ฐฎ์œผ๋‹ˆ๊นŒ, ๋ช‡ ๊ฐ€์ง€ ๋ฐฉ๋ฒ•๋“ค์„ ์†Œ๊ฐœํ•˜๋ ค๊ณ  ํ•œ๋‹ค. cat ์ปค๋งจ๋“œ๋ฅผ ์ด์šฉํ•˜๋Š” ๋ฐฉ๋ฒ• /etc/os-release ํŒŒ์ผ์— ์‹œ์Šคํ…œ ์ •๋ณด๊ฐ€ ๋“ค์–ด์žˆ๋‹ค. ์ด๊ฒƒ์„ ๊ทธ๋ƒฅ cat์œผ๋กœ ํ„ฐ๋ฏธ๋„์ฐฝ์— ๋ฟŒ๋ ค์ฃผ๊ธฐ๋งŒํ•˜๋ฉด ๋! ๋‹ค์Œ์˜ ์ •๋ณด๋ฅผ ํฌํ•จํ•˜๊ณ  ์žˆ๋‹ค. $ cat /etc/os-release NAME / VERSION / ID / ID_LIKE / PRETTY_NAME / VERSION_ID / HOME_URL / SUPPORT_URL / BUG_REPORT_URL PRIVACY_POLICY_URL / VERSION_CODENAME / UBUNTU_CODENAME hostnamectl ์ปค๋งจ๋“œ๋ฅผ ์ด์šฉํ•˜๋Š” ๋ฐฉ๋ฒ• ๋ง๊ทธ๋Œ€๋กœ hostnamectl ์ปค๋งจ๋“œ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค. ์•ž์˜ cat๊ณผ๋Š” ๋‹ค๋ฅด..
๐Ÿค– AWS * Create Account, Information ๊ณ„์ • ์ƒ์„ฑ Create an account ํด๋ผ์šฐ๋“œ ์„œ๋น„์Šค | ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ… ์†”๋ฃจ์…˜| Amazon Web Services ๋ฏธ๋””์–ด ๋ฐ ์—”ํ„ฐํ…Œ์ธ๋จผํŠธ Live Nation Entertainment, AWS๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ˜์‹  ์†๋„๋ฅผ ๋†’์ด๊ณ  ๋น„์šฉ์„ ์ ˆ๊ฐํ•˜๋ฉฐ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ฐ€์šฉ์„ฑ์„ ๊ฐœ์„  ์„ธ๊ณ„ ์ตœ๊ณ ์˜ ๋ผ์ด๋ธŒ ์—”ํ„ฐํ…Œ์ธ๋จผํŠธ ๊ธฐ์—…์ด ์–ด๋–ป๊ฒŒ AWS ํด๋ผ์šฐ๋“œ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ณ ๊ฐ์—๊ฒŒ ๊ฐœ์„ ๋œ ๊ฒฝํ—˜์„ ๋”์šฑ ๋น ๋ฅด๊ฒŒ ์ œ๊ณตํ•˜๋Š”์ง€ ์•Œ์•„๋ณด์‹ญ์‹œ์˜ค. ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ ๋ณด๋‹ค ๋‚˜์€ ๊ณ ๊ฐ ๊ฒฝํ—˜ ์ถ”๊ตฌ Live Nation์€ ์ฝ˜์„œํŠธ๋ฅผ ์ œ์ž‘ํ•˜๊ณ , ํ‹ฐ์ผ“์„ ํŒ๋งคํ•˜๊ณ , ๋ฐด๋“œ๋ฅผ ์Œ์•…๊ณผ ์—ฐ๊ฒฐํ•ด์ฃผ๋Š” ์„ธ๊ณ„ ์ตœ๊ณ ์˜ ๋ผ์ด๋ธŒ ์—”ํ„ฐํ…Œ์ธ๋จผํŠธ ๊ธฐ์—…์ž…๋‹ˆ๋‹ค aws.amazon.com ์•„๋งˆ์กด(AWS) ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ์•„๋งˆ์กด ์›น ์„œ๋น„์Šค ๊ณ„์ •์ด ํ•„์š”ํ•˜๋‹ค. ์œ„ ์‚ฌ์ดํŠธ๋กœ ์ด๋™ํ•˜์—ฌ ๊ณ„์ •์„ ์ƒ์„ฑํ•˜์ž..
๐Ÿค– AWS * Command Lind Interface Install & Setting ์•„๋งˆ์กด ๊ณ„์ •์„ ์ƒ์„ฑํ•œ ํ›„์— ์‚ฌ์šฉ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค! ๋งŒ์•ฝ ์ƒ์„ฑ์„ ํ•˜์ง€ ์•Š์•˜๋‹ค๋ฉด ๋‹ค์Œ ํฌ์ŠคํŒ…์„ ๋จผ์ € ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”! โ—‡ 2020/03/09 - [Platform/Amazon Web Services] - ๐Ÿค– AWS * Create Account, Information ๊ณ„์ • ์ƒ์„ฑ AWS Commend Lind Interface ์•„๋งˆ์กด ๋ช…๋ น์ค„ ์ธํ„ฐํŽ˜์ด์Šค(AWS CLI)๋Š” ์•„๋งˆ์กด ์„œ๋น„์Šค๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ํ†ตํ•ฉ ๋„๊ตฌ๋กœ AWS ์„œ๋น„์Šค๋ฅผ ๋ช…๋ น์ค„์—์„œ ์ œ์–ดํ•˜๊ณ  ์Šคํฌ๋ฆฝํŠธ๋ฅผ ํ†ตํ•ด ์ž๋™ํ™” ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฐœ์ธ์  ๊ฒฝํ—˜์œผ๋กœ๋Š” API๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด ๊ณ„์ • ์…‹ํŒ…์ด ํ•„์š”ํ•œ๋ฐ ์ด๋•Œ AWS CLI๋กœ ๊ณ„์ •์„ ์…‹ํŒ…ํ•ด์ฃผ์—ˆ๋‹ค. Install Windows์™€ Mac/Linux์—์„œ์˜ ์„ค์น˜๋ฐฉ๋ฒ•์ด ์กฐ๊ธˆ ๋‹ค๋ฅธ๋ฐ Window๋Š” ๊ทธ๋ƒฅ ์„ค์น˜ํ”„๋กœ๊ทธ๋žจ์„ ๋‹ค์šด๋กœ๋“œํ•ด์„œ ์‹คํ–‰ํ•˜..
โœ… Solved * [Ubuntu] no such "ping" command Docker๋ฅผ ์‚ฌ์šฉํ•˜๋‹ค๊ฐ€ ping์„ ๋ณด๋‚ผ ์ผ์ด ์žˆ์—ˆ๋‹ค.. ๊ทผ๋ฐ ๋˜.. ์—๋Ÿฌ๊ฐ€ ๋–ณ๋‹ค.. ๋งจ๋‚  ์—๋Ÿฌ๋œธ.. There's no such command ping ๋ช…๋ น์–ด๊ฐ€ ์—†๋Š” ๋ช…๋ น์–ด๋ผ๋‹ˆ!! ๐Ÿคช ์ด์ œ๋Š” ์ฒ˜์Œ ๊ฒฉ๋Š” ๋ฌธ์ œ๊ฐ€ ์•„๋‹ˆ๋ผ์„œ ์•„ ์„ค์น˜ํ•˜๋ฉด ๋˜๊ฒ ๊ตฌ๋‚˜ ์ƒ๊ฐํ–ˆ์ง€๋งŒ ๋Œ€์ฒด ์–ด๋Š ํŒจํ‚ค์ง€์— ์žˆ๋Š” ๊ฒƒ์ธ๊ฐ€!! ๋‚˜ ์ฒ˜๋Ÿผ ๋ฉ˜๋ถ•์˜จ ์‚ฌ๋žŒ๋“ค์—๊ฒŒ ๋„์›€์ด ๋˜๊ธธ ๋ฐ”๋ผ๋ฉฐ ์•„๋ž˜ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ์ฐธ๊ณ ํ•˜์ž. Solved ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์€ ๊ฐ„๋‹จํ•˜๋‹ค iputils-ping ๋ฅผ ์„ค์น˜ ํ•ด ์ฃผ๋ฉด ๋œ๋‹ค. $ sudo apt-get update $ sudo apt-get install iputils-ping ํ˜น์‹œ๋‚˜ ์‹ถ์–ด ๋ง๋ถ™์ด์ž๋ฉด, docker์•ˆ์—์„œ์˜ ๊ฒฝ์šฐ root ๊ณ„์ •์œผ๋กœ ๋กœ๊ทธ์ธ ๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ๊ธฐ ๋•Œ๋ฌธ์— sudo ๋ช…๋ น์–ด๋ฅผ ์“ฐ์ง€ ์•Š๊ณ  apt-get ์ดํ•˜์˜ ๋ฌธ์žฅ๋งŒ ..
โœ… Solved * [Ubuntu] add-apt-repository command not found ๋ ˆํฌ์ง€ํ† ๋ฆฌ ์ถ”๊ฐ€๊ฐ€ ๋˜์ง€ ์•Š๋Š”๋‹ค... ๐Ÿ˜ญ Ubuntu์— ์†Œํ”„ํŠธ์›จ์–ด๋ฅผ ์„ค์น˜ํ•˜๋Š” ๋ฐฉ๋ฒ• ์ค‘์— ํ•˜๋‚˜๋กœ PPA(Personal Package Archive)๋ฅผ ์ด์šฉํ•˜๋Š” ๊ฒƒ์ด ์žˆ๋Š”๋ฐ ๋ณดํ†ต ์„ค์น˜ ์ „ ์•„๋ž˜์™€ ๊ฐ™์€ ๋ช…๋ น์–ด๋กœ PPA ์ €์žฅ์†Œ๋ฅผ ์ถ”๊ฐ€ํ•ด ์ค€๋‹ค. $ sudo add-apt-repository ppa:some/ppa ์ €์žฅ์†Œ๋ฅผ ์ถ”๊ฐ€ํ•ด ์ฃผ๋ ค๊ณ  ํ•˜๋” ๊ทธ ๋•Œ "sudo: add-apt-repository command not found" ์—๋Ÿฌ๋ฅผ ๋งŒ๋‚ฌ๋‹ค. ๋‚ด๊ฐ€ ์‚ฌ์šฉํ•˜๋Š” Ubuntu docker image์— ์•„๋งˆ ์ €์žฅ์†Œ(repository)๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ํŒจํ‚ค์ง€๊ฐ€ ์„ค์น˜๋˜์ง€ ์•Š์•„์„œ ๋ฐœ์ƒํ•˜๋Š” ๊ฒƒ์ด๋ผ๊ณ  ์ง์ž‘์€ ํ–ˆ์ง€๋งŒ ์–ด๋–ป๊ฒŒ ์ˆ˜์ •ํ•˜๋Š”์ง€ ๋ง‰๋ง‰ํ•˜๋˜ ๊ทธ ๋•Œ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์„ ์ฐพ์•˜๋‹ค. ํ•ด๋‹น ๋ฐฉ๋ฒ•์€ Ubuntu, Devian ๋˜๋Š” Devin-based ..
โœ… Solved * [Ubuntu] bash: netstat/ifconfig: command not found netstat ์ปค๋งจ๋“œ๋ฅผ ์‚ฌ์šฉํ•ด์„œ ์—ด๋ ค์žˆ๋Š” ์†Œ์ผ“ ํ™•์ธ ์ข€ ํ•˜๋ ค๊ณ  ํ–ˆ๋”๋‹ˆ... "bash: netstat: command not found" ๐Ÿ’€๐Ÿ’€๐Ÿ’€ ์˜ˆ์ „ ๊ฐ™์œผ๋ฉด ๋‹นํ™ฉํ•ด์„œ ์šฐ์™•์ขŒ์™•ํ–ˆ๊ฒ ์ง€๋งŒ, ์ด์ œ๋Š” '์‘ ๊ทธ๋ƒฅ ์ฐพ์œผ๋ฉด ๋จ~' ํ•˜๊ณ  ์›ƒ์–ด๋„˜๊ธธ ์ˆ˜ ์žˆ๊ฒŒ ๋๋‹ค. + ์ถ”๊ฐ€์ ์œผ๋กœ ํ•จ๊ป˜ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋Š” ์—๋Ÿฌ ifconfig: There's no such command There's no package named "ifconfig" ํ•ด๊ฒฐํ•ด๋ณด์ž ๊ฐ„๋‹จํ•˜๋‹ค. netstat๊ฐ€ ๋“ค์–ด๊ฐ„ ํŒจํ‚ค์ง€๋ฅผ ์„ค์น˜ํ•ด์ฃผ๋ฉด ํ•ด๊ฒฐ๋œ๋‹ค. $ sudo apt-get update $ sudo apt-get install net-tools ์ง€๊ธˆ ์„ค์น˜ํ•˜๋Š” net-tools ํŒจํ‚ค์ง€์—๋Š” netstat๋ฟ๋งŒ ์•„๋‹ˆ๋ผ arp, ifconfig, nrarp, nameif, ro..
โœ… Solved * [Docker] Unable to open log file /mqtt/logs/mosquitto.log for writing mosquitto ๋กœ๊ทธ๋ฅผ ์ €์žฅํ•˜๋Š” ์œ„์น˜๋ฅผ ๋ฐ”๊พธ์—ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณค ๋™์ž‘์‹œํ‚ค๋ ค๋Š”๋ฐ.. Unable to open log file /mqtt/logs/mosquitto.log for writing ๐Ÿ˜๐Ÿ˜‘ ์•„ ์™œ! ๋˜! ์—๋Ÿฌ! ์™œ ๋ชป์จ!! ์˜ˆ์ƒ์€ ํ–ˆ์ง€๋งŒ ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ ๊ถŒํ•œ ๋ฌธ์ œ ๋•Œ๋ฌธ์— ์‚ฌ์šฉ์ด ์•ˆ๋˜๋Š” ๊ฒƒ์ด์˜€๋Š”๋ฐ... ๊ถŒํ•œ์ด ์—†์œผ๋‹ˆ ๋‹น์—ฐํžˆ ๊ถŒํ•œ์„ ์ฃผ๋ฉด ๋œ๋‹ค. $ cd ๋กœ๊ทธ๊ฐ€_์ €์žฅ_๋ _๋””๋ ‰ํ† ๋ฆฌ $ sudo touch mosquitto.log $ sudo chmod o+w ./mosquitto.log $ sudo chown MQTT_ํฌํŠธ๋ฒˆํ˜ธ:MQTT_ํฌํŠธ๋ฒˆํ˜ธ /srv/mosquitto/log -R ํ .. ์œ„ ๋ถ€๋ถ„์ค‘์—์„œ /srv/mosquitto/log ์ด ๋ถ€๋ถ„์„ ๋กœ๊ทธ๊ฐ€_์ €์žฅ_๋ _๋””๋ ‰ํ† ๋ฆฌ๋กœ ๋Œ€์ฒด ํ•ด์•ผํ•˜๋Š”์ง€ ์•„๋‹Œ์ง€ ๊นŒ๋ฌต.. ๊ทธ๊ฑด....