libvirt_qemu_kvm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
libvirt_qemu_kvm [2011/10/22 14:52] brotlibvirt_qemu_kvm [2012/04/02 08:09] – [auf der Shell] brot
Line 8: Line 8:
  
    sudo virt-install -n user-vmname -r 512 --os-type=linux --os-variant=virtio26 --disk /var/lib/libvirt/images/user-vmname.img,device=disk,bus=virtio,size=1,sparse=true,format=raw -w network=default,model=virtio --graphics vnc,listen=127.0.0.1,port=9999999 --video cirrus --noautoconsole --location http://ftp.debian.de/debian/dists/testing/main/installer-amd64/    sudo virt-install -n user-vmname -r 512 --os-type=linux --os-variant=virtio26 --disk /var/lib/libvirt/images/user-vmname.img,device=disk,bus=virtio,size=1,sparse=true,format=raw -w network=default,model=virtio --graphics vnc,listen=127.0.0.1,port=9999999 --video cirrus --noautoconsole --location http://ftp.debian.de/debian/dists/testing/main/installer-amd64/
-    + 
-  * -n -> Name der VM +* -n -> Name der VM 
-  * -disk -> Image wird angelegt beim erstellen der VM, die größe ist mit size=1 angegeben, in Gigabyte +* -disk -> Image wird angelegt beim erstellen der VM, die größe ist mit size=1 angegeben, in Gigabyte 
-  * --graphics vnc,listen=127.0.0.1,port=9999999 -> port immerwieder neu setzen, am besten im hohen 60000er bereich +* --graphics vnc,listen=127.0.0.1,port=9999999 -> port immerwieder neu setzen, am besten im hohen 60000er bereich 
-  * --location -> statt nem iso wird über netz gebootet. Im Beispiel wird Debian testing genommen, andere URLs siehe: +* --location -> statt nem iso wird über netz gebootet. Im Beispiel wird Debian testing genommen, andere URLs siehe:
-      +
          Fedora/Red Hat Based          Fedora/Red Hat Based
-             http://download.fedoraproject.org/pub/fedora/linux/releases/10/Fedora/i386/os/+             http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/16/Fedora/x86_64/os/
  
          Debian/Ubuntu          Debian/Ubuntu
-             http://ftp.us.debian.org/debian/dists/etch/main/installer-amd64/+             http://ftp.us.debian.org/debian/dists/testing/main/installer-amd64/
  
          Suse          Suse
-             http://download.opensuse.org/distribution/11.0/repo/oss/+             http://download.opensuse.org/distribution/openSUSE-current/repo/oss/
  
  
Line 51: Line 50:
 Das Gastsystem hat in dem Fall die IP 192.168.100.78, Dienst ist in dem Fall ssh :) Die erste Zeile ist für das Forwarding von Paketen auf die virbr0 (hat die IP 192.168.100.1, siehe "ip addr show") Das Gastsystem hat in dem Fall die IP 192.168.100.78, Dienst ist in dem Fall ssh :) Die erste Zeile ist für das Forwarding von Paketen auf die virbr0 (hat die IP 192.168.100.1, siehe "ip addr show")
  
 +==== Bisherige Forwards ====
 +
 +
 +
 +^ VM-hostname (IP)  ^ Anwendung ^ Port               ^
 +| brot-vgentoo (192.168.100.183)|rtorrent|10797-10799 + udp:10797|
 +| brot-vgentoo (192.168.100.183)|ssh|10722|
 +| brot-torvm (192.168.100.190)|ssh|59022(->22)|
 +| brot-torvm (192.168.100.190)|tor|59030,59001|
 +| brot-pyhole-ircbot (192.168.100.231)|ssh|60022(->22)|
 +| brot-owncloud (192.168.100.161)|ssh|61022(->22)|
 +| brot-owncloud (192.168.100.161)|ssh|61080(->61080)|
 +| brot-webpy-dev (192.168.100.217)|ssh|62022(->22)|
 +| brot-webpy-dev (192.168.100.217)|http|62080(->80)|
 +| brot-webpy-dev (192.168.100.217)|https|62443(->443)|
 ===== verwendete Software ===== ===== verwendete Software =====
  
  • libvirt_qemu_kvm.txt
  • Last modified: 2012/04/02 10:04
  • by brot