Perfect Proxmox Template with Cloud Image and Cloud Init Rumi, January 28, 2023January 30, 2023 Instructions Choose your Ubuntu Cloud Image. Here in this example will use ubuntu cloud-init image. Download Ubuntu (replace with the url of the one you chose from above) wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img Create a new virtual machine qm create 8000 –memory 2048 –core 2 –name ubuntu-cloud –net0 virtio,bridge=vmbr0 Import the downloaded Ubuntu… Continue Reading
Install VirtualBox legacy version 5.x on CentOS 7 Rumi, June 11, 2022 Install Dependencies Install Extra Packages for Enterprise Linux (EPEL) # sudo yum install epel-release wget -y Install Dynamic Kernel Module Support (DKMS) # sudo yum –enablerepo=epel install dkms -y This will install quite a few packages: Install Development Tools # sudo yum groupinstall “Development Tools” -y Continue Reading
Install Docker on Debain 10 Rumi, December 21, 2021 Installing Docker The Docker installation package available in the official Debian repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure… Continue Reading
Proxmox VM auto start VM after found in shutdown state Rumi, July 30, 2021July 30, 2021 I was having this strange issue, where a running busy VM stopeed all of a sudden due to high CPU or Memory overload issue. So manually had to start everythime. In order to avoid this, created a small script to start the VM in case if it’s down. #!/bin/bash #… Continue Reading
Cloning KVM virtual machine using CLI Rumi, July 21, 2021 To clone your VM and spawn new instances in KVML # virt-clone –original {Domain-Vm-Name-Here} –auto-clone OR # virt-clone –original {Domain-Vm-Name-Here} –name {New-Domain-Vm-Name-Here} –auto-clone OR # virt-clone –original {Domain-Vm-Name-Here} \ –name {New-Domain-Vm-Name-Here} –file {/var/lib/libvirt/images/File.Name.here} Continue Reading
How to remove Virtualbox extpack Rumi, May 19, 2021 The following commands show examples how to list extension packs and remove one: $ VBoxManage list extpacks Extension Packs: 1 Pack no. 0: Oracle Virtual Machine VirtualBox Extension Pack Version: 4.1.12 Revision: 77218 Edition: Description: USB 2.0 Host Controller, VirtualBox RDP, PXE ROM with E1000 support. VRDE Module: VBoxVRDP Usable:… Continue Reading
Export/ Import VM to/from a backup file using command line on XenServer Rumi, April 18, 2021 Identify VM’s UUID We start by identifying a virtual machine we would lake to export to as a regular backup file. Run xe vm-list to list all available virtual machines and take a note of the virtual machine in question: # xe vm-list uuid ( RO) : 7371124f-7d4d-66b7-cbc7-a98b1457543e name-label (… Continue Reading
enable SNMP on Xen (XCP-NG) hypervisors Rumi, March 5, 2021 There are six steps to correctly configuring SNMP on your Citrix Xen hypervisor. These steps don’t require a system restart and are non-service affecting. To start, we assume you’re running Xen v6.x or v7.x, and are logged into the Xen CLI as root. 1. Enable the SNMP daemon Enable the… Continue Reading
Force Shutdown Xen VM Rumi, February 27, 2021 Instructions Disable High Availability (HA) so you don’t run into issues Log into the Xenserver host that is running your VM with issues via ssh or console via XenCenter Run the following command to list VMs and their UUIDs xe vm-list resident-on=<uuid_of_host> First you can try just the normal shutdown command with force xe… Continue Reading
Force Stop Proxmox LXC Rumi, November 21, 2020 First try to unlock the pct (assuming your troubled container is 101): pct unlock 101 if it works just stop and start again the vm. if it does’nt work (my case) try to stop with this lxc-stop –name 101 if it’s does’nt work (my case) you can force stop with… Continue Reading