KVM Setup on Debian Jessie

From Wiki

(Difference between revisions)
Jump to: navigation, search
Line 23: Line 23:
  df -h
  df -h
  cat /proc/cpuinfo
  cat /proc/cpuinfo
-
 
-
= Install KVM =
 
-
aptitude install qemu-kvm libvirt-bin
 
-
#source: https://wiki.debian.org/KVM
 
-
 
Some strange reason apt didn't work with ipv6 after the initial update. So to force apt to use ipv4
Some strange reason apt didn't work with ipv6 after the initial update. So to force apt to use ipv4
Line 33: Line 28:
  #add in the line
  #add in the line
  Acquire::ForceIPv4 "true";
  Acquire::ForceIPv4 "true";
 +
 +
= Install KVM =
 +
aptitude install qemu-kvm libvirt-bin
 +
#source: https://wiki.debian.org/KVM

Revision as of 00:12, 31 December 2016

Setup Base OS

I used hetzner's "installimage" to create RAID + LVM.

installimage
-> Debian
-> Debian-86-jessie-64-minimal
-> Hostname enterservername
-> PART /boot  ext3     512M
-> PART lvm    vg0       all
-> LV vg0   root   /        ext4         10G
-> LV vg0   swap   swap     swap          4G

reboot

Sanity checks

free
lvscan
cat /proc/mdstat
cat /etc/apt/sources.list
apt-get update
apt-get upgrade
mdadm --examine --scan
df -h
cat /proc/cpuinfo

Some strange reason apt didn't work with ipv6 after the initial update. So to force apt to use ipv4

vi /etc/apt/apt.conf.d/99hetzner
#add in the line
Acquire::ForceIPv4 "true";

Install KVM

aptitude install qemu-kvm libvirt-bin
#source: https://wiki.debian.org/KVM
Personal tools