Installing Docker Engine on Linux (Debian, CentOS)

Docker is one of the most popular software for running containers. With Docker, developers can build, deliver, and run their code in containers. The host where Docker is installed and containers are running is called the Docker Engine. In this article, we’ll walk you through how to install Docker Engine (Community Edition) and Docker Compose on Linux (CentOS, Debian, and Ubuntu).

Continue reading “Installing Docker Engine on Linux (Debian, CentOS)”

Installing MySQL 8.0 in Debian 11 Bullseye

The MySQLB package is not included in the Debian 11 Bullseye repositories. The developers suggest using MariaDB instead. For some projects you need to use the original MySQL, not its fork. In that case you can manually add the MySQL repository and install the package in Debian. In my case, after upgrading the release from Debian 10 (Buster) to Debian 11 (Bullseye), I needed to install the original MySQL 8.0 on my Linux host.

Continue reading “Installing MySQL 8.0 in Debian 11 Bullseye”

Installing KVM VirtIO Drivers in a Windows Virtual Machine

After installing Windows guest in a virtual machine on a KVM host, you must install the correct device drivers for virtual hardware  (KVM VirtIO drivers). Without these drivers, guest Windows won’t be able to recognize virtual network adapters and a number of other virtual hardware.

Continue reading “Installing KVM VirtIO Drivers in a Windows Virtual Machine”

How to Check if Your Linux Device Supports TPM 2.0?

Most modern computers and laptops released after 2016 already have a built-in TPM chip. TPM (Trusted Platform Module) is a special chip used as secure storage for encryption keys, passwords, and certificates. TPM can be used for various security apps such as key vault, secure boot, random number generation, etc. Let’s see how to check if a device has a TPM chip in Linux.

Continue reading “How to Check if Your Linux Device Supports TPM 2.0?”

Error: MySQL Server Has Gone Away

Let’s see how to fix the “MySQL server has gone away” error that appears when accessing MySQL Server.

The most common causes of the MySQL server has gone away error are:

  • Packet size too large in MySQL query (default maximum packet size is 16 MB);
  • You ran out of free RAM on the MySQL host (you can check the free memory in Linux using the free –h command;
  • The inactive connection between your application/script and MySQL (by default, the session disconnects after 8 hours).

Continue reading “Error: MySQL Server Has Gone Away”