How to connect to lxd container

Linux Container

lxd is an easy-to-use command-line interface for lxc (Linux container). In this blog post, I will show how to create an lxd container and connect to it. To create an lxd container, run lxc launch ubuntu:20.04 vm-1 Here vm-1 is the name of the container. ubuntu:20.04 tells lxc to create a new container with Ubuntu … Read more

libvirt qemu unexpectedly closed the monitor Failed to create chardev

On CentOS 7 server, after installing KVM, i connected to server using Virt Manager. During VM creation, i get following error libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2021-02-01T18:09:38.214356Z qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev To fix this, edit file vi /etc/fstab Find devpts /dev/pts devpts defaults 0 0 Replace with devpts /dev/pts … Read more

Install Linux KVM on CentOS 7

Install kvm with Install libvirt, this is used to manage KVM virtual machines. Enable libvirtd to start on boot Start libvirtd To see status, run Install virt-install Now you have Linux KVM installed. You can use virt-install or Virt Manager to create virtual machine. When i create a Virtual Machine on CentOS 7, i get … Read more

Download OS Templates Virtualizor

To create a Virtal Machine (VPS) on Virtualizor, you need OS Template. You can use pre-made OS templates or make your own OS template. You can see list of pre-made OS templates provided by Virtualizor at https://virtualizor.com/ostemplates To download an OS Template, login to Virtualizor, from left side menu, click on Media > Template Browser … Read more

Virtualizor Error No Gateway Found, Please assign a Gateway

On a Virtualizor server, when starting virtnetwork, i get the following error This is because the network interface configuration doesn’t have GATEWAY defined. Find your network interface name with the command Now check the configuration file for your network interface. On this server, I had following configuration You need to find the gateway used by … Read more

Virtualizor error fetching interface information

When starting network in virtualizor server, i get following error [root@virtual2 ~]# service virtnetwork start eth0: error fetching interface information: Device not found Error: No ip address found. [root@virtual2 ~]# To fix this error, find the network interface name with command [root@virtual2 ~]# ip link 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT … Read more

Proxmox take snapshot of Virtual Machine

proxmox snapshot

To take snapshot of virtual machine in proxmox, click on Virtual Machine, under Snapshots, clikc “Take Snapshot” button. To create snapshot through command line, login to Proxmox server as user root, then run qm snapshot VMID nameOfSnapShot nameOfSnapShot = no space or special chars allowed. Sould start/end with alphabet (numbers should NOT be used at … Read more

Proxmox pveperf

pveperf is a command line benchmarking tool in proxmox server. root@server70:~# pveperf CPU BOGOMIPS: 59199.84 REGEX/SECOND: 3672349 HD SIZE: 38.32 GB (/dev/md2) BUFFERED READS: 79.99 MB/sec AVERAGE SEEK TIME: 8.39 ms FSYNCS/SECOND: 23.87 DNS EXT: 16.46 ms DNS INT: 19.34 ms (hostonnet.com) root@server70:~# Here is benchmark on another server – Intel(R) Core(TM) i7-3930K CPU @ … Read more