Changes between Version 6 and Version 7 of KVM/install


Ignore:
Timestamp:
Sep 30, 2010, 2:12:40 PM (14 years ago)
Author:
rider
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • KVM/install

    v6 v7  
    2626 * 只需一行指令即可安裝KVM及其所需相關工具
    2727{{{
    28 sudo apt-get install kvm qemu-kvm bridge-utils libvirt-bin virtinst vtun
     28$ sudo apt-get install kvm qemu-kvm bridge-utils libvirt-bin virtinst vtun
    2929}}}
    3030 * 載入 KVM module for Intel Chip
    3131{{{
    32 sudo modprobe kvm-intel
     32$ sudo modprobe kvm-intel
    3333}}}
    3434 * 載入 KVM module for AMD Chip
    3535{{{
    36 sudo modprobe kvm-amd
     36$ sudo modprobe kvm-amd
    3737}}}
    3838----
     
    4141 * 產生一個 10GB 的 QEMU disk image format 的檔案
    4242{{{
    43 qemu-img create -f qcow2 xp.img 10G
     43$ sudo qemu-img create -f qcow2 xp.img 10G
    4444}}}
    4545 * 讀取光碟檔並開啟虛擬機器來安裝XP
    4646{{{
    47 sudo qemu-system-x86_64 -cdrom /home/user/xp.iso -hda xp.img -boot d -m 1024 -localtime -net nic -net tap
     47$ sudo qemu-system-x86_64 -cdrom /home/user/xp.iso -hda xp.img -boot d -m 1024 -localtime -net nic -net tap
    4848}}}
    4949 * 開啟虛擬機器
    5050{{{
    51 sudo qemu-system-x86_64 -hda xp.img -m 1024 -net nic -net tap
     51$ sudo qemu-system-x86_64 -hda xp.img -m 1024 -net nic -net tap
    5252}}}
    5353----