Skip to content
TURNKEYGNU / LINUX
AppsDocumentationForumBlogScreenshotsGitHubTurnKey Hub
文English
EnglishDeutschEspañol日本語Portuguêsहिंदी中文
Home/Documentation/Installing TurnKey on KVM

Documentation

Installing TurnKey on KVM

TurnKey installs on KVM from the generic ISO image. Download the ISO from the page of the app you want to run, then use one of the methods below. The examples use TurnKey WordPress; substitute the file name of the ISO you downloaded.

Quick test with QEMU

Create a virtual disk and boot the ISO from the command line:

qemu-img create -f qcow2 wordpress.qcow2 20G
qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 \
    -drive file=wordpress.qcow2,if=virtio \
    -cdrom turnkey-wordpress-19.0-trixie-amd64.iso -boot d

Choose "Install to hard disk" in the boot menu. After installation, remove the -cdrom and -boot d options and start the VM again to complete the first boot configuration. See also the QEMU documentation.

More permanent deployment using libvirt

Libvirt is a virtualization API. The libvirt daemon manages your virtual machines, for example starting them when the host boots. On Debian and Ubuntu, install the libvirt-daemon-system and virtinst packages.

You can connect to the libvirt daemon with one of the many libvirt clients. Popular options are:

  • virt-manager: graphical user interface (GUI)
  • virt-install and virsh: command line tools

Using virt-manager

  1. Create a new virtual machine and choose "Local install media".
  2. Select the TurnKey ISO. If the operating system is not detected automatically, choose Debian 13 (or the newest Debian version listed).
  3. Allocate at least 1GB of RAM and a disk of at least 20GB. Using VirtIO for the disk and network usually gives the best performance.
  4. Start the VM, choose "Install to hard disk" and follow the installer.

Using virt-install

virt-install --name wordpress --memory 2048 --vcpus 2 \
    --disk size=20 --network network=default \
    --cdrom turnkey-wordpress-19.0-trixie-amd64.iso \
    --os-variant debian12

Use --os-variant debian13 if osinfo-query os lists it on your system.

TURNKEYGNU / LINUX

Secure self-hosting without starting from scratch

Explore TurnKey
AboutDocumentationForumFAQBlogGitHub
Free and open sourceSecure by defaultReady to deploy