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

์ „์ฒด ๊ธ€159

์šฐ๋ถ„ํˆฌUbuntu ํŒจํ‚ค์ง€ ์„ค์น˜์‹œ ์ž์ฃผ ๋œจ๋Š” ํ™”๋ฉด? ์™œ? ์šฐ๋ถ„ํˆฌ ํŒจํ‚ค์ง€ ์„ค์น˜์‹œ(apt-get) ์ž์ฃผ ๋œจ๋Š” ํ™”๋ฉด์ธ๋ฐ ์ด๋Ÿฐ ํ™”๋ฉด์€ ์™œ ๋œจ๋Š” ๊ฒƒ์ผ๊นŒ์š”?Package configuration - Daemons using outdated libraries - Which services should be restarted?์ด ํ™”๋ฉด์€ Ubuntu๋‚˜ Debian ๊ธฐ๋ฐ˜ ์‹œ์Šคํ…œ์—์„œ ํŒจํ‚ค์ง€๋ฅผ ์—…๋ฐ์ดํŠธํ•˜๊ฑฐ๋‚˜ ์„ค์น˜ํ•  ๋•Œ, ์„œ๋น„์Šค ์žฌ์‹œ์ž‘๊ณผ ๊ด€๋ จ๋œ ์„ค์ •์„ ๋ฌป๋Š” ๋ฉ”์‹œ์ง€์ž…๋‹ˆ๋‹ค. ํŠน์ • ํŒจํ‚ค์ง€๋‚˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๊ฐ€ ์—…๋ฐ์ดํŠธ๋˜๋ฉด, ๊ทธ ํŒจํ‚ค์ง€๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์„œ๋น„์Šค(๋ฐ๋ชฌ)๋“ค์ด ๊ตฌ๋ฒ„์ „์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ๊ณ„์† ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ, ํ•ด๋‹น ์„œ๋น„์Šค๋“ค์„ ์žฌ์‹œ์ž‘ํ•ด์•ผ ์ƒˆ๋กœ์šด ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.๊ฐ ํ•ญ๋ชฉ์˜ ์˜๋ฏธ:dbus.service: ์‹œ์Šคํ…œ ์ „๋ฐ˜์—์„œ ๋ฉ”์‹œ์ง€๋ฅผ ์ฃผ๊ณ ๋ฐ›๋Š” ์„œ๋น„์Šค๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” DBus ๋ฐ๋ชฌ์ž…๋‹ˆ๋‹ค. ์‹œ์Šคํ…œ์—์„œ .. 2024. 10. 18.
Jupyter Lab ๊ธฐ๋ณธ ์ปค๋„ base์—์„œ ๋‹ค๋ฅธ ์ปค๋„๋กœ ๋ฐ”๊พธ๊ธฐ Jupyter Lab์€ base ํ™˜๊ฒฝ์—์„œ ๋Œ์•„๊ฐ€๋Š”๋ฐ, ๋กœ์ปฌ ํ™˜๊ฒฝ์—์„œ ๋™์ž‘ํ•˜๋„๋ก ํ•˜๋ ค๋ฉด?conda activate ai๋ฅผ ํ•œ ํ›„์— jupyter lab์„ ์‹คํ–‰์‹œํ‚ค๋”๋ผ๋„, Jupyter Lab ์ž์ฒด๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ base ํ™˜๊ฒฝ์„ ๋”ฐ๋ฅด๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ์Šต๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ, ์›ํ•˜์‹œ๋Š” ๊ฒƒ์ฒ˜๋Ÿผ conda ํ™˜๊ฒฝ์„ ํ™œ์„ฑํ™”ํ•œ ํ›„, Jupyter Lab์„ ๊ทธ ํ™˜๊ฒฝ์—์„œ ์‹คํ–‰ํ•˜๋ ค๋ฉด ์ถ”๊ฐ€ ์„ค์ •์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.conda ํ™˜๊ฒฝ์—์„œ Jupyter Lab์„ ์‹คํ–‰ํ•  ๋•Œ ์ž๋™์œผ๋กœ ํ•ด๋‹น ํ™˜๊ฒฝ์—์„œ ๋Œ๋„๋ก ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์„ค๋ช…ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.*์ฐธ๊ณ ๋กœ ์ž„์˜๋กœ ์ €ํฌ ํ™˜๊ฒฝ ์ด๋ฆ„์€ ai ๋กœ ํ•˜์˜€์Šต๋‹ˆ๋‹ค. (์‹ค์ œ ์ œ๊ฐ€ ์“ฐ๊ณ  ์žˆ๋Š” conda ํ™˜๊ฒฝ ์ด๋ฆ„)1. ipykernel ์„ค์น˜ ๋ฐ ๋“ฑ๋กJupyter๋Š” ๊ฐ conda ํ™˜๊ฒฝ์„ '์ปค๋„'๋กœ ์ธ์‹ํ•ด์„œ ๊ทธ ํ™˜๊ฒฝ์—์„œ ์ฝ”๋“œ๊ฐ€ ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค.. 2024. 9. 29.
VSCode์—์„œ ๋งˆํฌ๋‹ค์šด ๋ฏธ๋ฆฌ๋ณด๊ธฐ ํ•˜๋Š” ๋ฐฉ๋ฒ• Visual Studio Code(VSCode)์—์„œ ๋งˆํฌ๋‹ค์šด(Markdown, .md) ๋ฏธ๋ฆฌ๋ณด๊ธฐ๋ฅผ ๊ฐ€์žฅ ์‰ฝ๊ฒŒ ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๊ณต์œ ํ•œ๋‹ค. ๋‹จ์ถ•ํ‚ค ์„ค์ • ๋“ฑ์˜ ๋ฐฉ๋ฒ•๋„ ์žˆ๊ฒ ์ง€๋งŒ, ์•„๋ฌด๊ฒƒ๋„ ๊ฑด๋“œ๋ฆฌ์ง€ ์•Š์€ ์ƒํƒœ์—์„œ ์‰ฝ๊ฒŒ ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๊ณต์œ ํ•œ๋‹ค.์œ„์˜ ํ‘œ์‹œํ•ด๋‘” ์•„์ด์ฝ˜์„ ํด๋ฆญํ•˜๋ฉด ์•„๋ž˜๊ทธ๋ฆผ์ฒ˜๋Ÿผ ๋ฐ”๋กœ ์šฐ์ธก์— ํŒจ๋„์ด ์—ด๋ ค์„œ ๋ฏธ๋ฆฌ๋ณด๊ธฐ๊ฐ€ ๋œ๋‹ค! ์ด์ œ ํŽธํ•˜๊ฒŒ ๋งˆํฌ๋‹ค์šด ํŽธ์ง‘์„ ํ•˜๊ณ  ๋ฐ”๋กœ๋ฐ”๋กœ ๋ฏธ๋ฆฌ๋ณด๊ธฐ๋ฅผ ํ•˜๋ฉด์„œ ์‚ฌ์šฉํ•ด๋ณด์ž! 2024. 9. 28.
Ubuntu์—์„œ ssh์ ‘์†์‹œ Google Authenticator ์—ฐ๋™ Ubuntu22๋ฅผ ์›น์„œ๋ฒ„๋กœ ์“ฐ๊ณ  ์žˆ๋Š”๋ฐ, ํ•ด๋‹น ์„œ๋ฒ„ ๊ด€๋ฆฌ์ž๊ฐ€ ๋ณดํ†ต ssh๋กœ ์ž‘์—…ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ํ˜„์žฌ๋Š” ssh key ํ™•์ธ๋„ ์•ˆํ•˜๊ณ  ๋น„๋ฐ€๋ฒˆํ˜ธ ์ž…๋ ฅ๋งŒ์œผ๋กœ ๋˜์–ด ์žˆ๊ธฐ์— ๋ณด์•ˆ์—์„œ ์ด ์ •๋„ ์ˆ˜์ค€์œผ๋กœ๋Š” ์•ˆ๋˜๊ฒ ๋‹ค ์‹ถ์–ด์„œ OTP ๋„์ž…์„ ๊ฒ€ํ† ํ–ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ ๊ฒฐ๊ณผ Google Authenticator๋ฅผ ์จ์„œ ํ™œ์šฉํ•˜๊ธฐ๋กœ ํ–ˆ์ง€์š”.๋‹ค์Œ์€ ๊ทธ ๋ฐฉ๋ฒ•๊ณผ ์ ˆ์ฐจ์— ๋Œ€ํ•ด์„œ ์†Œ๊ฐœํ•ฉ๋‹ˆ๋‹ค.SSH ๋ณด์•ˆ 2๋‹จ๊ณ„ OTP ์„ค์ •SSH์— ๋‘ ๋‹จ๊ณ„ ์ธ์ฆ (2FA)์„ ์„ค์ •ํ•˜๋Š” ๊ฒƒ์€ ๊ณ ๊ธ‰ ๋ณด์•ˆ ์กฐ์น˜ ์ค‘ ํ•˜๋‚˜๋กœ, ๋น„๋ฐ€๋ฒˆํ˜ธ ๋˜๋Š” SSH ํ‚ค ์ธ์ฆ ์™ธ์— ์ถ”๊ฐ€์ ์ธ ์ธ์ฆ ์ˆ˜๋‹จ์„ ์š”๊ตฌํ•ฉ๋‹ˆ๋‹ค. ์ผ๋ฐ˜์ ์œผ๋กœ, Google Authenticator์™€ ๊ฐ™์€ ์‹œ๊ฐ„ ๊ธฐ๋ฐ˜ ์ผํšŒ์šฉ ํŒจ์Šค์›Œ๋“œ (TOTP) ์•ฑ์„ ์‚ฌ์šฉํ•˜์—ฌ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์— SSH์— 2FA๋ฅผ ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹จ.. 2024. 5. 23.
openfoam11-macos No directory exists ์—๋Ÿฌ ํ•ด๊ฒฐ macOS์—์„œ OpenFOAM ์„ค์น˜๋ฅผ ํ•˜๋Š” ๋ฐ 10๋ฒ„์ „์€ ์ž˜ ๋˜์—ˆ๋˜ ๊ฒƒ์ด ์„ค์น˜๋ถ€ํ„ฐ ๋ง‰ํžˆ๋Š” ๊ฒƒ ์•„๋‹Œ๊ฐ€?์ฐพ์•„๋ด๋„ ํ•ด๊ฒฐ์ฑ…์„ ๋ชป์ฐพ์•„์„œ shell script๋ฅผ ํ•œ๋•€ ํ•œ๋•€ ๋’ค์ ธ๊ฐ€๋ฉฐ ํ•ด๊ฒฐํ–ˆ๋‹ค. ๋ช‡๊ฐ€์ง€ ํ‹€๋ฆฐ ๋ถ€๋ถ„์ด ์žˆ์–ด์„œ ์ˆ˜์ •ํ–ˆ๋‹ค. 'ver' ๋ณ€์ˆ˜๊ฐ€ ๋ฐ˜์˜๋˜๊ณ  ์žˆ์ง€ ์•Š๋˜ ๋ฌธ์ œ MOUNT_DIR์ด ๋Œ€์†Œ๋ฌธ์ž๊ฐ€ ์„ž์—ฌ์„œ ๋ณ€์ˆ˜๊ฐ€ ํ˜ผ๋™๋œ ํ˜„์ƒ ๋“ฑ์ด ๋ฐœ๊ฒฌ๋๋‹ค.์•„๋ž˜ ์ˆ˜์ •๋ณธ์„ ํ™œ์šฉํ•˜๋ฉด ์‹คํ–‰์ด ์ •์ƒ์ ์œผ๋กœ ๋  ๊ฒƒ์ด๋‹ค.https://github.com/skyiwalker/openfoam/blob/master/openfoam11-macos#!/bin/sh#------------------------------------------------------------------------------# ========= .. 2024. 5. 14.
Chocolatey vs Scoop : ์œˆ๋„์šฐ ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ € ๋น„๊ต ์œˆ๋„์šฐ์—์„œ๋„ apt-get install ํ•˜๋“ฏ์ด ์‰˜(shell)์—์„œ ๋†€๊ณ  ์‹ถ์€ ๊ฐœ๋ฐœ์ž๋“ค์ด ์ œ๋ฒ• ์žˆ์œผ๋ฆฌ๋ผ ๋ด…๋‹ˆ๋‹ค. ์ด์—,์œˆ๋„์šฐ์—์„œ ์†Œํ”„ํŠธ์›จ์–ด ์„ค์น˜์™€ ๊ด€๋ฆฌ๋ฅผ ์šฉ์ดํ•˜๊ฒŒ ํ•˜๋Š” ๋‘ ๊ฐ€์ง€ ์ธ๊ธฐ ์žˆ๋Š” ๋„๊ตฌ, Chocolatey์™€ Scoop์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ์ด ๋‘ ๋„๊ตฌ๋Š” ๊ฐ๊ฐ์˜ ๊ณ ์œ ํ•œ ํŠน์„ฑ๊ณผ ์žฅ๋‹จ์ ์„ ๊ฐ€์ง€๊ณ  ์žˆ์œผ๋ฉฐ, ๊ฐ์ž์˜ ํ•„์š”์— ๋”ฐ๋ผ ์ ํ•ฉํ•œ ๋„๊ตฌ๋ฅผ ์„ ํƒํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.์—ฌ๊ธฐ์—์„œ๋Š” Git์„ Ubuntu์™€ ๊ฐ™์€ Linuxํ™˜๊ฒฝ์—์„œ ์„ค์น˜ํ•˜๋“ฏ์ด ๋‘ ์œˆ๋„์šฐ์˜ ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ €(Windows Package Manager)๋ฅผ ํ™œ์šฉํ•˜๋Š” ์˜ˆ๋ฅผ ๋ณด์ด๊ฒ ์Šต๋‹ˆ๋‹ค.Chocolatey: ํฌ๊ด„์ ์ธ ์‹œ์Šคํ…œ ๊ด€๋ฆฌ์žฅ์ :๊ฐ•๋ ฅํ•œ ์ปค๋ฎค๋‹ˆํ‹ฐ ์ง€์›: Chocolatey๋Š” ๋„“์€ ๋ฒ”์œ„์˜ ํŒจํ‚ค์ง€๋ฅผ ์ง€์›ํ•˜๋ฉฐ, ์ˆ˜์ฒœ ๊ฐœ์˜ ํŒจํ‚ค์ง€๊ฐ€ ํ™œ๋ฐœํžˆ ์œ ์ง€ ๊ด€๋ฆฌ๋˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. .. 2024. 5. 7.
ํŒจ๋Ÿฌ๋ ์ฆˆ(Parallels) 18 ๋ฒ„์ „์—์„œ Windows 11 ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ(21H2->23H2) '๋‹ค๋ฅธ PC์—์„œ ์œˆ๋„์šฐ11 23H2๋ฅผ ์ผ๋Š”๋ฐ, ๋ฌด์—‡๋ณด๋‹ค 21H2์—์„œ๋Š” ์ง€์›๋˜์ง€ ์•Š์•˜๋˜ ํƒ์ƒ‰๊ธฐ์˜ ํƒญ ๊ธฐ๋Šฅ์ด ๋„ˆ๋ฌด ํŽธํ–ˆ๋‹ค. ์œˆ๋„์šฐ ์ด์ „๋ฒ„์ „๋ถ€ํ„ฐ ํƒญ์ด ์•ˆ๋ผ์„œ Q-Dir๋ถ€ํ„ฐ ํƒ์ƒ‰๊ธฐ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ(QtTabBar)๊นŒ์ง€ ๊ฐ์ข… ํ”„๋กœ๊ทธ๋žจ๋“ค์„ ์‚ฌ์šฉํ–ˆ์—ˆ๋Š”๋ฐ, ์ˆœ์ •์— ๋‹ฌ๋ ค์žˆ๋Š” ํƒญ์€ ๋””์ž์ธ๊ณผ ๊ธฐ๋Šฅ ๋ชจ๋‘ ์ทจํ–ฅ ์ €๊ฒฉ์ด์—ˆ๋‹ค. (์™œ ์ง„์ž‘ ์•ˆํ•œ ๊ฒƒ์ผ๊นŒ...?) ๊ทธ๋Ÿฐ๋ฐ ์•„๋ฌด๋ฆฌ Windows ์—…๋ฐ์ดํŠธ์—์„œ ์—…๋ฐ์ดํŠธ ํ™•์ธ์„ ํ•ด๋„ 21H2๋ฅผ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•  ๋ฐฉ๋ฒ•์„ ์ฐพ์ง€ ๋ชปํ•˜์˜€๋‹ค. '์—…๋ฐ์ดํŠธ ํ™•์ธ'์„ ๋ˆŒ๋Ÿฌ๋„ 22H๋ฒ„์ „ ์กฐ์ฐจ ๋œจ์ง€ ์•Š์•˜๋‹ค. ๊ทธ๋Ÿฌ๋‹ค ์šฐ์—ฐํžˆ ๊ตฌ๊ธ€๋ง ์ค‘์— ์•„๋ž˜์™€ ๊ฐ™์€ ๊ธ€์„ ๋ฐœ๊ฒฌํ•˜๊ณ  ํžŒํŠธ๋ฅผ ์–ป์–ด 23H2๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ์— ์„ฑ๊ณตํ–ˆ๋‹ค. ๊ธฐ์œ ๋งˆ์Œ์— ๋‚ด์šฉ์„ ๊ณต์œ ํ•˜๊ณ ์ž ํฌ์ŠคํŒ…์„ ํ•œ๋‹ค. https://www.stephenwagner.com/2022/1.. 2024. 4. 18.
Something went wrong running `pod install` in the `ios` directory ๋ฌธ์ œ ํ•ด๊ฒฐ ๊ณผ์ • ๊ธฐ๋ก(feat. React Native) ์ž‘์—… ์ค‘์— ๋‹ค์Œ์˜ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ios ์—…๋ฐ์ดํŠธ ์ดํ›„ ์ด์ƒํ•˜๊ฒŒ ์—๋Ÿฌ๋“ค์ด ๋งŽ์ด ๋ฐœ์ƒํ•˜๋Š” ๋“ฏํ•˜๋‹ค. Something went wrong running `pod install` in the `ios` directory ์ข€ ๋” ๊ธธ๊ฒŒ๋Š” npx ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜๋˜ ์ƒํ™ฉ์ด์—ˆ๋‹ค. npx create-react-native-app โœ” What is your app named? … my-react-app โœ” How would you like to start › Default new app โœ” Downloaded and extracted project files. Using Yarn to install packages. You can pass --use-npm to use npm instead. โœ” Installed Ja.. 2024. 4. 7.
๊ฐ‘๋ถ„ mac terminal(iTerm) ์—๋Ÿฌ ๋ฐœ์ƒ : xcrun error invalid active developer path ๊ฐ‘์ž๊ธฐ git ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜๋Š”๋ฐ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ํ˜น์‹œ๋‚˜ ๊ฐ‘์ž๊ธฐ ์ž˜ ๋˜๋˜ ํ„ฐ๋ฏธ๋„ ๋ช…๋ น์–ด๊ฐ€ ๋งฅ(mac)์—์„œ ์ž‘๋™ํ•˜์ง€ ์•Š๋Š” ๋ถ„๋“ค๊ป˜ ๋„์›€์ด ๋ ๊นŒํ•˜์—ฌ ๊ธ€์„ ์ ์–ด๋ณธ๋‹ค. % git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ์ด์œ ๋ฅผ ์•Œ์•„๋ณด๋‹ˆ Xcode Command Line Tools๊ฐ€ ์ œ๋Œ€๋กœ ์„ค์น˜๋˜์ง€ ์•Š์•˜๊ฑฐ๋‚˜ ์—…๋ฐ์ดํŠธ ํ›„ ๊ฒฝ๋กœ๊ฐ€ ๋ณ€๊ฒฝ๋˜์–ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹จ๋‹ค. macOS๋ฅผ ์ตœ๊ทผ์— ์—…๋ฐ์ดํŠธ ํ•˜๊ณ  ๋‚˜์„œ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•œ ๋“ฏ์‹ถ๋‹ค. ํ•ด๊ฒฐ์ฑ…์€ ์•„๋ž˜์™€ ๊ฐ™๋‹ค. xcode-select --insta.. 2024. 3. 20.