Building a KVM host on Debian

As a continuing project I always love playing with virtulisation. This is some notes for installing and configuring KVM on Debian. Its mainly for my own reference, but if you find it useful please leave a comment!

1. Create a Debian ‘base system’ and fully update it. I use Debian stable, and a minimal install.

Hardware Requirements for KVM

KVM works best if your processor supports virtulisation extensions. It WILL still work if you dont, but dont expect any decent performance! Installations of virtual hosts are sometimes painfully slow without this!

I like my virtualmachines to get their own proper IP address from my LAN or be configured with a static. For this to work and get past the default NAT setup, you will need to setup a network bridge. Follow the link here: on how to set that up.

2. Now you should have a fully patched and updated Debian system, we’re now going to install KVM:
apt-get install qemu-kvm libvirt-bin

About Louis

Louis is a Developer and all round geek from the UK with a keen interest in web technologies and mobile applications. When not playing with code, he is probably rebuilding a Linux server or watching a Netflix marathon!
This entry was posted in Computing, Debian, Linux and tagged , , . Bookmark the permalink.

Leave a Reply