- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
linux:kvm [2015/12/07 15:31] vondra [Debian 8] |
linux:kvm [2015/12/14 11:16] vondra [Instalace KVM] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Instalace KVM ====== | ====== Instalace KVM ====== | ||
TODO: udelat tutorial :) | TODO: udelat tutorial :) | ||
+ | <code bash>aptitude -y install qemu-kvm libvirt-bin virtinst bridge-utils </code> | ||
====== Vytvoreni guesta ====== | ====== Vytvoreni guesta ====== | ||
===== Debian 8 ===== | ===== Debian 8 ===== | ||
- Install gues:<code bash>virt-install -n vps1 --ram=2048 --vcpus=2 --location='http://ftp.cz.debian.org/debian/dists/jessie/main/installer-amd64/' --disk path=/dev/shared_vg/vps1 --network bridge=br0 --os-type linux --console pty,target_type=serial --graphics none --os-variant generic --extra-args 'console=ttyS0,115200n8 serial'</code> | - Install gues:<code bash>virt-install -n vps1 --ram=2048 --vcpus=2 --location='http://ftp.cz.debian.org/debian/dists/jessie/main/installer-amd64/' --disk path=/dev/shared_vg/vps1 --network bridge=br0 --os-type linux --console pty,target_type=serial --graphics none --os-variant generic --extra-args 'console=ttyS0,115200n8 serial'</code> | ||
- put following line into grubu in line starting with linux <code>console=tty0 console=ttyS0,115200</code> | - put following line into grubu in line starting with linux <code>console=tty0 console=ttyS0,115200</code> | ||
- | - do /etc/default/grub pridat do GRUB_CMDLINE_LINUX_DEFAULT "console=tty0 console=ttyS0,115200"<code>GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200"</code> | + | - put "console=tty0 console=ttyS0,115200" into /etc/default/grub in GRUB_CMDLINE_LINUX_DEFAULT <code>GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200"</code> |
+ | - update grub (this one i always forget and wondering why it doesn't work :))<code bash>update-grub</code> | ||
====== Vzdaleny pristup ====== | ====== Vzdaleny pristup ====== |
linux/kvm.txt · Last modified: 2019/01/11 13:14 by admin