Remove AWS Cloudinit
server

Remove AWS Cloudinit

When we copy all data from AWS instance without excluding the cloud-init you will see errors as follows but it will continue to boot with success: On Ubuntu 20.04, these steps worked for me to…

SSH Issue no kex alg

So what is happened? What’s causing it? Well, a modern operating system like Debian Jessie is packaged with OpenSSH 6.7 or newer – and OpenSSH 6.7 disables some ciphers, as per changelog http://www.openssh.com/txt/release-6.7 As Russel rightly pointed…

Managing Journal Systemd Ubuntu
server

Managing Journal Systemd Ubuntu

By default, systemd-journald ensures older journal records or journal files are deleted in order to keep a certain amount of disk space free. In the Linux Logging with Systemd section, we explain how to control the thresholds…

Unable to start MySQL on Ubuntu: AVC apparmor=”DENIED” operation=”open”

MySQL on Ubuntu fails to start. The following error messages are shown in the output of the journalctl -xecommand: AVC apparmor=”DENIED” operation=”open” profile=”/usr/sbin/mysqld” name=”/proc/666999/status” pid=666999 comm=”mysqld” requested_mask=”r” denied_mask=”r” fsuid=124 ouid=124AVC apparmor=”DENIED” operation=”open” profile=”/usr/sbin/mysqld” name=”/sys/devices/system/node/” pid=666999 comm=”mysqld”…

Converting between image formats

qemu-img convert: raw, qcow2, qed, vdi, vmdk, vhd The qemu-img convert command can do conversion between multiple formats, including qcow2, qed, raw, vdi, vhd, and vmdk. Image formatArgument to qemu-imgQCOW2 (KVM, Xen)qcow2QED (KVM)qedrawrawVDI (VirtualBox)vdiVHD (Hyper-V)vpcVMDK (VMware)vmdk This example will convert a raw image…