Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

Tag: 20.04

Preparing custom Ubuntu 20.04 cloud image

Posted on December 12, 2021February 16, 2022 by sandeep

Install Ubuntu 20.04 as detailed here. (Guest VM on KVM infra) Hard disk size:  Based on trial and error identified that it would be better to have the base disk size as 3.5G Set default password for ‘root; account. sudo passwd Disable consistent device naming – Network interface names are same always (legacy – eth0,…

Read more

Ubuntu Server 20.04 on a KVM guest VM (Remove snapd, netplan, motd, and enable legacy networking)

Posted on December 12, 2021December 13, 2021 by sandeep

Download and copy the Ubuntu server ISO image to /var/lib/libvirt/images/ folder. Start virt-manager Create a new VM (File -> New Virtual Machine) and choose local install media Click on browse, select the downloaded image Allocate/assign CPU and memory resources Allocate/assign storage as much as required. Provide a name and select a network interface. In my…

Read more

OS Installation: Ubuntu 20.04 on a server (Remove snapd, netplan, motd, and enable legacy networking)

Posted on December 12, 2021April 24, 2022 by sandeep

Download the ISO image and burn the same onto a USB stick. Insert the USB stick in the server and power on (My server is Dell R430) Press F11 and enter Boot Manager Select Oneshot UEFI Boot option Select boot from the USB stick Select Install Server Select English Language (or whatever your choice is)…

Read more

Orchestrating Guest VM(s) using simple scripts on KVM host.

Posted on October 10, 2021March 7, 2022 by sandeep

As a developer, I had a need to spin up VMs as and when required.  The more I started working on Kubernetes, the need to automate the spinning up of multiple VMs to bring up a setup for configuring a cluster.  There were several options, solutions already available to automate the same on KVM.  However,…

Read more

Installing KVM

Posted on September 27, 2021March 1, 2022 by sandeep

Pre-requisite Install Debian 11 or Ubuntu 20.04 server as required. Optional I had upgraded the kernel version by compiling the kernel as explained in this how-to. Installing KVM on Debian Simple and easy – First, install the required packages apt install -y qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon virt-manager Additionally, I had installed  libguestfs-tools,  for…

Read more
  • Previous
  • 1
  • 2

Recent Posts

  • Ceph + KVM: 4. Orchestrating Ceph RBD backed VMs on KVM Hosts
  • Rabbit MQ Cluster + HAProxy + Keepalived
  • Install and configure MariaDB / Galera cluster
  • Ceph + KVM : 3. Installing KVM, cutsomized monitoring scripts
  • Ceph + KVM : 5. Service checks and CLI commands
  • Ceph + KVM : 2. Installation – Ceph Storage
  • Ceph + KVM : 1. Planning and preparing for Ceph Storage
  • Openstack Xena on Ubuntu 20.04 – Cinder
  • Preparing custom Debian 11 MATE image
  • Setup Ubuntu 20.04 repository mirror server

Archives

  • April 2025
  • March 2025
  • October 2024
  • September 2024
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • October 2020
  • February 2020
  • January 2020
  • December 2019
© 2025 Home Lab | Powered by Minimalist Blog WordPress Theme