Vagrant

Vagrant allow you to quickly creare virtualmachines. You can download vagrant boxes from https://app.vagrantup.com/boxes/search Install Vagrant Install Vagrant on CentOS Install vagrant in Debian/Ubuntu

You may also need to install virtualbox

Using Vagrant Creating CentOS 8 Virtual Machine with Vagrant To update vagrant boxes, run

To list all available vagrant boxes

[…]

Read More…

Proxmox 6 disable No valid subscription notice

To disable No valid subscription notice from proxmox, edit file

Find

This is on line 380. inside function checked_command Replace with

Resart pveproxy

[…]

Read More…

virt-manager

virt-manager is a GUI tool to manage virtual machines. On CentOS desktop, install it with

For installing on Ubuntu, see Install virt-manager on Ubuntu Connect to remote KVM server To connect to remote KVM server from virt-manager, Go to File > Add Connection If SSH port is not 22, use IP:PORT format to connect […]

Read More…

virsh list

To list all VM on a KVM server, run

Example

See virsh […]

Read More…

virsh nodeinfo

To see information about a KVM node, run

Example

See virsh […]

Read More…

virsh

virsh command is used to manage KVM vps. It is part of libvirt package. http://libvirt.org virsh list virsh nodeinfo To list KVM virtual machines, run

Start a VM

To shutdown a VM, run

To delete a VM, run

Connect to Remote Server

This will take your SSH key. List All […]

Read More…

LXD container snapshot and restore

lxc allow you to take snapshot, restore snapshot of a container. Here we create a snapshot, then delete the /etc folder from the container. Now the container is useless. Restore the container from snapshot to get it work again.

[…]

Read More…

Install LXD on Ubuntu

LXD is tool to manage LXC (Linux Containers). lxd allow you to create and manage light weight linux containers, it is like docker, but more like an actual virtual machine. LXD is more user friendly than using LXC directly, have more features like clustering of servers. On Ubuntu/Debian, run

Before you start using lxd, […]

Read More…