Logo Atlas
  • Home
  • About Me
  • Skills
  • Education
  • Recent Posts
  • Certifications
  • Posts
  • English
    Español English
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • ACLs
  • Administration
  • ANDORID
  • APACHE
  • ARP
  • ASIR
  • ASO
  • AW
  • BIND9
  • Bridge
  • CENTOS
  • CI/CD
  • CISCO
  • Cloning
  • CMS
  • Comands
  • Containers
  • Contenedores
  • Controladores NVIDIA
  • DEBIAN
  • Debian 12
  • Debian13
  • DHCP
  • DNAT
  • DNS
  • DNSMASQ
  • Docker
  • Enrutamiento
  • FIREWALL
  • FORENSE
  • FORTINET
  • FORWARDING
  • FTP
  • GNS3
  • HTTPS
  • Hypervisor
  • IPTABLES
  • IPv4
  • IPv6
  • ISO
  • IWEB
  • Jenkins
  • Jenkis
  • Kubernetes
  • KVM
  • LAMP
  • LEMP
  • Libvirt
  • LINUX
  • MariaDB
  • Metrics
  • Mysql
  • NAT
  • Network
  • Networking
  • NFTABLES
  • NVIDIA Drivers
  • Observability
  • OPENVPN
  • Oracle
  • Pools
  • PostgreSQL
  • Prometheus
  • Redes
  • REDHAT
  • Resize
  • Resources
  • ROCKY
  • Routing
  • Services
  • Servicios
  • Sistemas
  • SMR
  • Snapshots
  • SNAT
  • SSH
  • Storage
  • STRONGSWAN
  • Switches
  • Templates
  • Ubuntu
  • Virtualization
  • VM
  • Volumes
  • VPN
  • Windows
  • WIREGUARD
  • Wireshark
  • WordPress
Hero Image
How to create a virtual machine with virt-install

After installing KVM on your Ubuntu or Debian system, the next step is to create a virtual machine using the virt-install command-line tool. Check existing virtual machines Before creating a new VM, check if there are any existing ones: sudo virsh list --all If no machines exist, the list will be empty. Create a virtual machine with virt-install The virt-install command allows you to specify all the VM’s properties. For example:

  • Virtualization
  • Linux
  • KVM
  • VM
  • Hypervisor
  • Ubuntu
  • Debian
Monday, October 13, 2025 | 2 minutes Read
Hero Image
How to install KVM, QEMU and libvirt on Linux

To install KVM on Ubuntu or Debian, you need to prepare the system with the required packages, verify hardware virtualization support, and authorize users to run virtual machines. Below are the steps to install KVM on Ubuntu 24.04 (Noble Numbat) or recent Debian releases. Step 1: Update the system Before installing KVM, update your package repository information: sudo apt update Step 2: Check virtualization support 2.1 Verify CPU compatibility Check if your CPU supports hardware virtualization:

  • Virtualization
  • Linux
  • KVM
  • VM
  • Hypervisor
  • Ubuntu
  • Debian
Monday, October 13, 2025 | 2 minutes Read
Hero Image
How to validate the KVM host installation

Before creating and running virtual machines with KVM, it’s essential to validate that the host meets the required hardware and software capabilities to ensure optimal performance. This guide describes how to verify system capabilities using tools such as virt-host-validate and virsh. 1. Validating CPU virtualization support KVM requires processors with hardware virtualization extensions: Intel: VT-x AMD: AMD-V To check if your CPU is compatible, run: grep --color -Ew 'svm|vmx|lm' /proc/cpuinfo vmx → Intel CPU with VT-x svm → AMD CPU with AMD-V lm → 64-bit support If your CPU lacks these extensions, only CPU emulation will be available and performance will be significantly reduced.

  • Virtualization
  • Linux
  • KVM
  • VM
  • Hypervisor
  • Ubuntu
  • Debian
Monday, October 13, 2025 | 2 minutes Read
Hero Image
Key components of a virtual machine in KVM

In KVM (Kernel-based Virtual Machine), a virtual machine is composed of several elements that interact to emulate a complete hardware environment. Understanding each component helps you manage, troubleshoot, and optimize your VMs more efficiently. 1. Main components Component Description Virtual CPU (vCPU) Cores assigned from the physical host to the guest. Defined with --vcpus when creating the VM. Memory (RAM) Amount of memory assigned. Configured with --ram or can be hot-adjusted with virsh setmem. Virtual disk Storage file (.qcow2, .raw, etc.) used as the guest disk. Managed with virsh vol-* or virt-manager. Network interface Virtual connection (usually virtio or e1000) attached to a libvirt network (default, br0, etc.). Graphics device / console VNC, SPICE, or text mode (no graphical console). Controllable with --graphics or virsh vncdisplay. Firmware / BIOS / UEFI Defines the boot mode (traditional BIOS or UEFI with OVMF). Additional devices CD-ROM, USB controllers, serial channels, sound interfaces, etc. 2. Essential commands to retrieve VM information Once the VM is created, you can use virsh to inspect and manage all its details.

  • Virtualization
  • Linux
  • KVM
  • VM
  • Hypervisor
  • Ubuntu
  • Debian
Monday, October 13, 2025 | 3 minutes Read
Hero Image
Types of hypervisors in Linux

What is a hypervisor? A hypervisor, also known as a Virtual Machine Monitor (VMM), is a software virtualization layer that allows you to create and run multiple virtual machines (VMs) on a single server, as well as run different operating systems in isolation. The physical server running the hypervisor is called the host machine, while each individual VM is called a guest machine. The term “hypervisor” was coined in the 1970s based on the concept of a supervisor in an operating system kernel. By adding the prefix “hyper-”, it is considered the supervisor of the supervisors.

  • Virtualization
  • Linux
  • KVM
  • VM
  • Hypervisor
Monday, October 13, 2025 | 3 minutes Read
Hero Image
KVM architecture and operation

What is KVM? KVM, or Kernel-based Virtual Machine, is a software feature that can be installed on Linux systems to create virtual machines (VMs). A virtual machine acts as an independent computer within another physical machine, sharing resources such as CPU, memory, and network bandwidth with the host system. KVM is a component of the Linux kernel that has provided native virtualization support since 2007, turning any Linux machine into a bare-metal hypervisor.

  • Virtualization
  • Linux
  • KVM
  • VM
  • Hypervisor
Monday, October 13, 2025 | 2 minutes Read
Navigation
  • About Me
  • Skills
  • Education
  • Recent Posts
  • Certifications
Contact me:
  • contacto@javiercd.es
  • javierasping
  • Francisco Javier Cruces Doval

Liability Notice: This theme is under MIT license. So, you can use it for non-commercial, commercial, or private uses. You can modify or distribute the theme without requiring any permission from the theme author. However, the theme author does not provide any warranty or takes any liability for any issue with the theme.


Toha Theme Logo Toha
© 2023 Copyright.
Powered by Hugo Logo