Difference between revisions of "KVM"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 5: | Line 5: | ||
Here is an example how to use KVM [[virtualization]] on SUSE Linux 11.1. | Here is an example how to use KVM [[virtualization]] on SUSE Linux 11.1. | ||
− | = Install kvm = | + | == Install kvm == |
[[open a console]] and enter: | [[open a console]] and enter: | ||
yast -i kvm | yast -i kvm | ||
Line 14: | Line 14: | ||
Now comes the first pitfall: You have to select localhost, then new. Otherwise you will not be able to create new virtual machines. | Now comes the first pitfall: You have to select localhost, then new. Otherwise you will not be able to create new virtual machines. | ||
− | = Install virtinst = | + | == Install virtinst == |
Suddenly you will find out you need to install virtinst. | Suddenly you will find out you need to install virtinst. | ||
tweedleburg:~/virtinst-0.500.2 # python setup.py install | tweedleburg:~/virtinst-0.500.2 # python setup.py install | ||
Line 20: | Line 20: | ||
uninstall vm and libvirt | uninstall vm and libvirt | ||
− | = Install libdevmapper = | + | == Install libdevmapper == |
From ftp://sources.redhat.com/pub/dm/ | From ftp://sources.redhat.com/pub/dm/ | ||
− | = Install libvirt = | + | == Install libvirt == |
− | = Start it = | + | == Start it == |
Start virt-manager: | Start virt-manager: | ||
/usr/local/bin/virt-manager | /usr/local/bin/virt-manager |
Revision as of 09:08, 10 March 2010
Contents
SUSE 11.2
# yast -i kvm virt-manager
SUSE 11.1
Here is an example how to use KVM virtualization on SUSE Linux 11.1.
Install kvm
open a console and enter:
yast -i kvm yast -i virt-manager /etc/init.d/libvirtd start chkconfig libvirtd on virt-manager
Now comes the first pitfall: You have to select localhost, then new. Otherwise you will not be able to create new virtual machines.
Install virtinst
Suddenly you will find out you need to install virtinst.
tweedleburg:~/virtinst-0.500.2 # python setup.py install
uninstall vm and libvirt
Install libdevmapper
From ftp://sources.redhat.com/pub/dm/
Install libvirt
Start it
Start virt-manager:
/usr/local/bin/virt-manager