Mainos / Advertisement:
Ero sivun ”Qemu-kvm/en” versioiden välillä
Siirry navigaatioon
Siirry hakuun
(Ak: Uusi sivu: == Installation ==) |
(Ak: Uusi sivu: 120G defines the size of the virtual hard drive. G stands for Gigabyte.) |
||
(13 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
Rivi 6: | Rivi 6: | ||
aptitude install qemu-kvm | aptitude install qemu-kvm | ||
− | + | You have now installed qemu-kvm. | |
− | == | + | == Examples == |
− | + | All commands are written in the terminal. | |
− | qemu( | + | qemu(or "kvm")-img create -f qcow2 image_name.img 120G |
− | kvm --name 2012r2 -m 2048 -hda | + | kvm --name 2012r2 -m 2048 -hda some.img -cdrom /home/riku/Desktop/2012r3.iso -boot d -device e1000 |
− | + | parameters: | |
− | --name = | + | --name = name of virtual machine |
− | -m = | + | -m = memory for virtual machine (megabytes) |
− | -balloon = | + | -balloon = dynamic memory usage |
− | -hda = | + | -hda = virtual hard drive in the form some.img |
− | -cdrom = | + | -cdrom = bootable .iso file location |
− | -boot d = | + | -boot d = starts CD first, then hard drive (if you uncomment the -cdrom line, the hard drive starts first) |
− | |||
− | -device = | + | -device = your selected system components to be emulated (e1000 is Intel's gigabit NIC) |
− | 120G | + | 120G defines the size of the virtual hard drive. G stands for Gigabyte. |
Nykyinen versio 11. elokuuta 2015 kello 08.57
qemu-kvm is one of the best virtual machine hosts for Linux.
Installation
aptitude install qemu-kvm
You have now installed qemu-kvm.
Examples
All commands are written in the terminal.
qemu(or "kvm")-img create -f qcow2 image_name.img 120G
kvm --name 2012r2 -m 2048 -hda some.img -cdrom /home/riku/Desktop/2012r3.iso -boot d -device e1000
parameters:
--name = name of virtual machine
-m = memory for virtual machine (megabytes)
-balloon = dynamic memory usage
-hda = virtual hard drive in the form some.img
-cdrom = bootable .iso file location
-boot d = starts CD first, then hard drive (if you uncomment the -cdrom line, the hard drive starts first)
-device = your selected system components to be emulated (e1000 is Intel's gigabit NIC)
120G defines the size of the virtual hard drive. G stands for Gigabyte.
Mainos / Advertisement: