Windows vm

์ฐธ๊ณ  ํŽ˜์ด์ง€ :

์ด๋ฏธ์ง€ ์ƒ์„ฑ ์ค€๋น„ ํŒŒ์ผ

  1. Windows 10 ISO ํŒŒ์ผ

  2. Virtio ISO ํŒŒ์ผ

  3. One context ISO ํŒŒ์ผ

Windows 10 iso ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ

ms site์—์„œ ๋‹ค์šด๋กœ๋“œํ›„ /var/tmp์— ์ €์žฅํ›„ import

virtio iso ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ

https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md

์œˆ๋„์šฐ ์šฉ์„ ๋‹ค์šดํ•œํ›„ importํ•œ๋‹ค.

wget --no-check-certificate https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.240-1/virtio-win-0.1.240.iso

one context iso ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ

VM์ƒ์„ฑ์‹œ ๋„คํŠธ์›Œํฌ ์ž๋™ ์„ค์ • ๋ฐ ํ™˜๊ฒฝ์„ค์ • ํ•ด์ฃผ๋Š” ํŒŒ์ผ

๋‹ค์šด๋กœ๋“œํ›„ import

cd /var/tmp
wget https://github.com/OpenNebula/addon-context-windows/releases/download/v5.12.0/one-context-5.12.0.iso

์ด๋ฏธ์ง€ ์ƒ์„ฑํ•˜๊ธฐ

  1. ์œˆ๋„์šฐ ์ด๋ฏธ์ง€ ํŒŒ์ผ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ

  • TYPE์—์„œ CD-ROM ์„ ํƒ ํ›„ ์ด๋ฏธ์ง€ ๋กœ์ผ€์ด์…˜์—์„œ UPLOAD ์ฒดํฌํ›„ ISO ํŒŒ์ผ์„ ์—…๋กœ๋“œ ํ•œ๋‹ค

๋˜๋Š” ์„œ๋ฒ„์— ์—…๋กœ๋“œํ›„ import๋ฅผ ํ•œ๋‹ค.

  1. One context ์ด๋ฏธ์ง€ ํŒŒ์ผ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ

  • ์œˆ๋„์šฐ ISO์™€ ๋™์ผ ํ•˜๊ฒŒ TYPE์—์„œ CD-ROM ์„ ํƒ ํ›„ ์ด๋ฏธ์ง€ ๋กœ์ผ€์ด์…˜์—์„œ UPLOAD ์ฒดํฌํ›„ ISO ํŒŒ์ผ์„ ์—…๋กœ๋“œ ํ•œ๋‹ค.

๋˜๋Š” ์„œ๋ฒ„์— ์—…๋กœ๋“œํ›„ import๋ฅผ ํ•œ๋‹ค.

3.Virtio ์ด๋ฏธ์ง€ ํŒŒ์ผ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ

https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md

์˜ˆ์ „๋ฒ„์ „ ํ™•์ธ :

https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/

wget --no-check-certificate https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.173-9/virtio-win.iso

์ตœ์‹ ๋ฒ„์ „์œผ๋กœ ํ•˜๋ฉด ๋“œ๋ผ์ด๋ฒ„๊ฐ€ ์‚ฌ์ธ์ด ์•ˆ๋ซ๋‹ค๊ณ  ์—๋Ÿฌ๊ฐ€ ๋‚œ๋‹ค. ์˜ค๋ž˜๋œ ๋ฒ„์ „์œผ๋กœ ํ•ด๋ณด์ž.

  1. ์œˆ๋„์šฐ 10 ์„ค์น˜ํ•˜๊ธฐ ์œ„ํ•ด ํ•˜๋“œ ๋””์Šคํฌ ํƒ€์ž…์„ ์ƒ์„ฑํ•œ๋‹ค.

  • TYPE์—์„œ Generic storage datablock๋ฅผ ์„ ํƒํ•œ๋‹ค

  • This image is persistent ์˜ต์…˜์—์„œ YES๋ฅผ ์„ ํƒํ•œ๋‹ค (์ด๊ฑด ์•„๋งˆ no์—ฌ๋„ ์ƒ๊ด€์—†์„๋“ฏ)

  • Image location ์˜ต์…˜์—์„œ Empty Disk Image๋ฅผ ์„ ํƒํ›„ ํ•˜๋“œ ๋””์Šคํฌ ์šฉ๋Ÿ‰ ์„ค์ •ํ›„ ์ƒ์„ฑํ•œ๋‹ค

์œˆ๋„์šฐ ํ…œํ”Œ๋ฆฟ ์ƒ์„ฑํ›„ ์„ค์น˜ ํ•˜๊ธฐ

ํ…œํ”Œ๋ฆฟ ์ƒ์„ฑํ•˜๊ธฐ

  1. Templates > VMs ์—์„œ ์ƒ์„ฑํ•˜๊ธฐ

  2. Storage ํƒญ์—์„œ ์œ„์—์„œ ์ƒ์„ฑํ•œ ISO CD-Rom ํƒ€์ž… ์ „์ฒด์™€ ํ•˜๋“œํƒ€์ž…์œผ๋กœ ์ƒ์„ฑํ•œ ์ด๋ฏธ์ง€ ํŒŒ์ผ์„ ๋ถˆ๋Ÿฌ์˜จ๋‹ค

  3. Input/Output ํƒญ์—์„œ ์ธํ’‹ ํƒ€์ž…์„ ์„ค์ •ํ•œ๋‹ค

  4. NUMA ํƒญ์—์„œ ์œˆ๋„์šฐ ๊ฒŒ์ŠคํŠธ ํ™˜๊ฒฝ์—์„œ CPU ๊ด€๋ฆฌํ™”๋ฉด์„ ์›ํ™œํ•˜๊ฒŒ ๋ณด์ด๊ธฐ ์œ„ํ•ด ์•„๋ž˜์™€ ๊ฐ™์ด ์„ค์ •ํ•œ๋‹ค

  5. ๋ชจ๋“  ํ™˜๊ฒฝ ์„ค์ • ์™„๋ฃŒ ํ›„ Create๋ฅผ ํด๋ฆญํ•œ๋‹ค

์ธ์Šคํ„ด์Šค ์ƒ์„ฑํ•˜๊ธฐ

  1. Instances > VMs ์—์„œ ์ƒ์„ฑํ•˜๊ธฐ

  2. ์œ„์—์„œ ์ƒ์„ฑํ•œ ์œˆ๋„์šฐ ํ…œํ”Œ๋ฆฟ์„ ์„ ํƒ ํ›„ ์•„๋ž˜ ์ •๋ณด๋ฅผ ๋‹ค์‹œ ํ•œ๋ฒˆํ™•์ธํ›„ ์ƒ์„ฑํ•œ๋‹ค

์ธ์Šคํ„ด์Šค ์ ‘์†ํ›„ ์œˆ๋„์šฐ ์„ค์น˜ ํ•˜๊ธฐ

  1. ํ•ด๋‹นํ•˜๋Š” ์ธ์Šคํ„ด์Šค VNC ์ ‘์†ํ•œ๋‹ค

  2. ์œˆ๋„์šฐ ์„ค์น˜ ํ™”๋ฉด์—์„œ ์„ค์น˜ ํ•˜๊ธฐ ํด๋ฆญํ•œ๋‹ค

  3. ์„ค์น˜์‹œ ํ•˜๋“œ๋””์Šคํฌ ๋ฅผ ์ฐพ์•„ ์˜ฌ์ˆ˜ ์—†์–ด ๋ถˆ๋Ÿฌ์˜ค๊ธฐ ํ•ด์•ผ ํ•œ๋‹ค

    • Load Driver ํด๋ฆญํ•œ๋‹ค

    • ํŒ์—…์ด ๋œจ๋ฉด OK ํด๋ฆญํ•œ๋‹ค

    • ์ „์ฒด ํ•ญ๋ชฉ์„ ์„ ํƒ ํ›„ Next๋ฅผ ํด๋ฆญํ•œ๋‹ค

  4. ํ•˜๋“œ๋””์Šคํฌ๋ฅผ ๋ถˆ๋Ÿฌ์˜จ๊ฒƒ์„ ํ™•์ธ์ด ๊ฐ€๋Šฅํ•ด์ง„๋‹ค

  5. ์œˆ๋„์šฐ ์„ค์น˜๋ฅผ ์ด์–ด์„œ ๊ณ„์† ์ง„ํ–‰ ํ•˜๋ฉด ๋œ๋‹ค

  6. ์œˆ๋„์šฐ ์„ค์น˜์™„๋ฃŒ ํ›„ ๋‚ด์ปดํ“จํ„ฐ์—์„œ One-context๋ฅผ ์„ค์น˜ ํ•œ๋‹ค

  7. ์œˆ๋„์šฐ device manager์— ๋“ค์–ด๊ฐ„๋‹ค

  8. ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜ ์•ˆ๋œ ํŒŒ์ผ์„ ์„ ํƒํ•˜์—ฌ ์—…๋ฐ์ดํŠธ๋ฅผ ํ•ด์ค€๋‹ค

    • ์—…๋ฐ์ดํŠธ ํŒŒ์ผ์€ Virtio CD๋“œ๋ผ์ด๋ธŒ ํด๋”๋ฅผ ์„ ํƒํ›„ ์—…๋ฐ์ดํŠธ ๋ฐ ์„ค์น˜๋ฅผ ํ•˜๋ฉด ๋œ๋‹ค

  9. ์œˆ๋„์šฐ ์„ค์น˜ ๋ชจ๋“  ๊ณผ์ •์€ ๋๋‚˜ Persistent ์œˆ๋„์šฐ ์ด๋ฏธ์ง€ ํŒŒ์ผ์„ ๋ชจ๋“  ์ธ์Šคํ„ด์Šค์— ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๊ฒŒ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•ด ์œˆ๋„์šฐ๋ฅผ ์ข…๋ฃŒ ํ•œ๋‹ค

  10. Instances ๋ฉ”๋‰ด์—์„œ ์œˆ๋„์šฐ ์„ค์น˜ํ•œ ์ธ์Šคํ„ด์Šค๋ฅผ ์‚ญ์ œํ•œ๋‹ค.

  11. Templates > VMs ๋ฉ”๋‰ด์—์„œ ํ•ด๋‹นํ•˜๋Š” ์œˆ๋„์šฐ ํ…œํ”Œ๋ฆฟ์— ๋“ค์–ด๊ฐ€ CD-ROM ๋ฐ์ดํ„ฐ๋ฅผ ์ „์ฒด ์‚ญ์ œํ•œ๋‹ค

    • DISK 0 ~ 2 ๋ฒˆ ์‚ญ์ œ ํ•˜๋ฉด ๋œ๋‹ค HDD๋Š” ์‚ญ์ œ ํ•˜๋ฉด ์•ˆ๋œ๋‹ค

  12. Storage > Images ๋ฉ”๋‰ด์— ๋“ค์–ด๊ฐ„๋‹ค

  13. ์œˆ๋„์šฐ๋ฅผ ์„ค์น˜ํ•œ ์ด๋ฏธ์ง€ ํŒŒ์ผ์ธ Windows 10 HDD ์„ ํƒํ›„ ์˜ต์…˜์„ ์กฐ์ •ํ•œ๋‹ค

    • TYPE์„ OS๋กœ ๋ณ€๊ฒฝํ•œ๋‹ค

    • Persistent๋ฅผ NO๋กœ ๋ณ€๊ฒฝํ•œ๋‹ค

  14. ๋ชจ๋“  ์„ค์ • ๋

์ถ”๊ฐ€

์ตœ์‹ ๋ฒ„์ „์œผ๋กœ ๋‹ค์‹œ ์„ค์น˜ํ•ด๋ณด๋ฉด windows 10์ด ์„ค์น˜๊ฐ€ ์•ˆ๋œ๋‹ค.

virtio driver๊ฐ€ ์œˆ๋„์šฐ sign์ด ์•ˆ๋ฌ๊ธฐ ๋•Œ๋ฌธ์ธ๋ฐ ์–ด๋–ป๊ฒŒ ํ•ด๊ฒฐํ• ์ง€ ์•„์ง ๋ชจ๋ฅด๊ฒŸ๋‹ค.

ํ˜„์žฌ๋Š” ๋กœ์ปฌ์—์„œ ์„ค์น˜ํ•ด์„œ vm image๋ฅผ raw๋กœ ๋งŒ๋“ค์–ด์„œ ์˜คํ”ˆ๋„ค๋ทธ๋ผ์— ์—…๋กœ๋“œํ•ด์„œ ์ฒ˜๋ฆฌํ•ด๋ณด๋Š”์ค‘

Last updated