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
libvirt_qemu_kvm [2011/11/23 11:25] – [Bisherige Forwards] added brot-owncloud brotlibvirt_qemu_kvm [2012/04/02 10:04] (current) – [auf der Shell] brot
Line 7: Line 7:
 === Erstellen einer VM === === Erstellen einer VM ===
  
-   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 500 --cpu host --vcpus=1,maxvcpus=2 --os-type=linux --os-variant=virtio26 --disk /var/lib/libvirt/images/user-vmname.img,device=disk,bus=virtio,size=2,sparse=false,format=raw -w network=default,model=virtio --graphics spice,listen=127.0.0.1,port=61234 --video qxl --channel spicevmc --noautoconsole --location http://ftp.de.debian.org/debian/dists/unstable/main/installer-amd64/ 
  
 * -n -> Name der VM * -n -> Name der VM
Line 14: Line 15:
 * --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.de.debian.org/debian/dists/unstable/main/installer-amd64/
  
          Suse          Suse
-             http://download.opensuse.org/distribution/11.0/repo/oss/+             http://download.opensuse.org/distribution/openSUSE-current/repo/oss/
  
  
Line 56: Line 57:
 ^ VM-hostname (IP)  ^ Anwendung ^ Port               ^ ^ VM-hostname (IP)  ^ Anwendung ^ Port               ^
 | brot-vgentoo (192.168.100.183)|rtorrent|10797-10799 + udp:10797| | brot-vgentoo (192.168.100.183)|rtorrent|10797-10799 + udp:10797|
-| brot-vgentoo (192.168.100.183)|webentwicklung (webpy)|10780(->80)| 
 | brot-vgentoo (192.168.100.183)|ssh|10722| | brot-vgentoo (192.168.100.183)|ssh|10722|
 | brot-torvm (192.168.100.190)|ssh|59022(->22)| | brot-torvm (192.168.100.190)|ssh|59022(->22)|
Line 63: Line 63:
 | brot-owncloud (192.168.100.161)|ssh|61022(->22)| | brot-owncloud (192.168.100.161)|ssh|61022(->22)|
 | brot-owncloud (192.168.100.161)|ssh|61080(->61080)| | 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.1322047519.txt.gz
  • Last modified: 2011/11/23 11:25
  • by brot