top

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

yum

yum - DVD/Network์—์„œ ์„ค์น˜ํ•˜๊ธฐ ์ด ์ „์— ๋งํ–ˆ๋˜ ๊ฒƒ์ฒ˜๋Ÿผ yum์€ ์ธํ„ฐ๋„ท์„ ํ†ตํ•ด์„œ rpmํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œ/์„ค์น˜ํ•˜๋Š”๋ฐ, DVD๋ฅผ ํ†ตํ•ด์„œ๋„ ๋‹ค์šด๋กœ๋“œ/์„ค์น˜๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค.yum๊ฒŒ์‹œ๊ธ€ ์ฐธ๊ณ  -> 2018/08/08 - [๋ฆฌ๋ˆ…์Šค(CentOS)] - [์ด๊ฒƒ์ด ๋ฆฌ๋ˆ…์Šค๋‹ค] RPM๊ณผ YUM 1. DVD๋ฅผ ํ†ตํ•ด ์„ค์น˜ํ•  ๊ฒฝ์šฐ ์ธํ„ฐ๋„ท์„ ํ†ตํ•ด ์„ค์น˜ํ•˜๋Š” ๊ฒƒ๋ณด๋‹ค ๋‹น์—ฐํžˆ ๋” ๋น ๋ฅด๋‹ค. CentOS ์ด๋ฏธ์ง€ ํŒŒ์ผ(DVD)๋ฅผ ๋งˆ์šดํŠธ์‹œ์ผœ ์—ฌ๊ธฐ์— ์žˆ๋Š” ํŒจํ‚ค์ง€๋ฅผ yum์œผ๋กœ ์„ค์น˜ํ•ด๋ณด์ž. ์šฐ์„  DVD๋ฅผ ๋งˆ์šดํŠธ ํ•ด์•ผํ•œ๋‹ค. ๋งˆ์šดํŠธํ•  ๋•Œ์˜ ๊ธฐ๋ณธ๊ฒฝ๋กœ๋Š” ๋ณต์žกํ•˜๋ฏ€๋กœ ๊ฐ„๋‹จํ•˜๊ฒŒ /media/cdrom์— ๋งˆ์šดํŠธ ์‹œํ‚ค์ž.mkdir /media/cdrom -- ๋””๋ ‰ํ† ๋ฆฌ ์ƒ์„ฑumount /dev/cdrom -- ๊ธฐ์กด ๋งˆ์šดํŠธ ํ•ด์ œmount /dev/cdrom/ /media/cdrom -- DVD๋ฅผ /media..
RPM๊ณผ YUM CentOS์—์„œ ํŒจํ‚ค์ง€๋ฅผ ์„ค์น˜ํ•˜๋Š”๋ฐ ๊ฐ€์žฅ ๋งŽ์ด ์‚ฌ์šฉ๋˜๋Š” ๊ฒƒ์€ RPM(Redhat Package Manager)๊ณผ YUM์ด๋‹ค. ์ตœ์‹  ๋ฒ„์ „์˜ CentOS์—์„œ๋Š” RPM์„ ํฌํ•จํ•œ ํ™•์žฅ ๊ฐœ๋…์ธ YUM์„ ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค. โ—†RPM rpm์— ๋Œ€ํ•ด์„œ ์•Œ์•„๋ณด์ž. ๋ ˆ๋“œํ–‡์—์„œ Windows์˜ setup.exe์™€ ๋น„์Šทํ•˜๊ฒŒ ํ”„๋กœ๊ทธ๋žจ์„ ์„ค์น˜ํ•ด์„œ ๋ฐ”๋กœ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋งŒ๋“  ์„ค์น˜ํŒŒ์ผ์ด ์žˆ๋‹ค. ์ด ์„ค์น˜ํŒŒ์ผ์˜ ํ™•์žฅ๋ช…์€ *.rpm์ด๊ณ  ํŒจํ‚ค์ง€๋ผ๊ณ  ๋ถ€๋ฅธ๋‹ค! ํŒจํ‚ค์ง€๋ฅผ ์„ค์น˜ํ•˜๊ธฐ ์œ„ํ•ด rpm๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๋ฐ, rpm๋ช…๋ น์–ด๋Š” ์˜์กด์„ฑ ๋ฌธ์ œ๋ฅผ ๊ฐ–๊ณ  ์žˆ์–ด ๋” ํŽธ๋ฆฌํ•œ yum๋ช…๋ น์–ด๋ฅผ ์ฃผ๋กœ ์‚ฌ์šฉํ•œ๋‹ค. ์ด๋Š” ์ด๋”ฐ๊ฐ€ ์„ค๋ช…ํ•˜๊ฒ ๋‹ค! ๋จผ์ € rpm๋ช…๋ น์–ด๋ฅผ ์•Œ์•„๋ณด์ž. - ์•„์ง ์„ค์น˜๋˜์ง€ ์•Š์€ rpm ์กฐํšŒ : rpm ์„ค์น˜ ์ „์— ๋ฏธ๋ฆฌ ์–ด๋–ค ๊ธฐ๋Šฅ์ด ์žˆ๋Š”์ง€ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. ๋ช…๋ น..