install kvm on ubuntu

페이지 정보

작성자 조희승 댓글 0건 조회 8,347회 작성일 12-08-17 15:02

본문

http://www.linux-kvm.org/page/HOWTO1
 
http://www.linux-kvm.org/page/Networking

http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM
 

https://help.ubuntu.com/community/KVM/Installation

 

 


apt-get install kvm qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils

 


설치
 
qemu-img create -f qcow2 vdisk.img 4G
 
qemu-system-x86_64 -hda vdisk.img -cdrom ./ubuntu-10.04.1-desktop-amd64.iso -boot d -m 512
 

동작
#qemu-system-x86_64 -hda vdisk.img -m 512 -no-acpi -boot c -net nic,macaddr=00:00:10:52:37:48 -net tap

#qemu-system-x86_64 -hda vdisk.img -m 512 -no-acpi -boot c -net nic,macaddr=00:00:10:52:37:48

#qemu-system-x86_64 -hda vdisk.img -m 512 -no-acpi -boot c -net nic,macaddr=00:00:10:52:37:48 -pcidevice host=06:00.0

#qemu-system-x86_64 -hda vdisk.img -m 512 -no-acpi -boot c -net nic,macaddr=00:00:10:52:37:48 -vnc 0.0.0.0:1 -pcidevice host=01:00.0

#qemu-system-x86_64 -hda vdisk.img -m 512 -no-acpi -boot c -net nic,macaddr=00:00:10:52:37:48 -net tap -vnc 0.0.0.0:1
 


network은 아래같이 bridge를 사용 -> 특별히 설정할 필요없음. dnsmasq가 알아서...
/etc/network/interfaces
auto lo
iface lo inet loopback


auto eth0

iface eth0 inet manual

 

auto br0
iface br0 inet static
address 210.117.181.000
netmask 255.255.255.0
network 210.117.181.0
boardcast 210.117.181.255
gateway 210.117.181.1
bridge_ports eth0
bridge_stp off
bridge_maxwait 0
bridge_fd 0

댓글목록

등록된 댓글이 없습니다.