How to install KVM on Ubuntu 20.04 LTS Headless Server

KVM (Kernel-based Virtual Machine) is an open-source virtualization technology that allows you to run multiple virtual machines on a single physical server. Here’s how you can install KVM on an Ubuntu 20.04 LTS headless server: First, update the package repository by running the command “sudo apt update” Next, install the KVM package and other required … Read more

Squid test config file for syntax errors

In Squid, you can test the configuration file for syntax errors by using the squid -k parse command. Here are the steps you can follow: Open a terminal window and navigate to the directory where the Squid configuration file is located. Run the following command to test the configuration file for syntax errors: squid -k … Read more

How to install less on CentOS / RHEL / Fedora

In CentOS, Red Hat Enterprise Linux (RHEL), and Fedora, you can install less by using the package manager yum. Here are the steps you can follow: Start by updating the package list by running the following command: sudo yum update Next, install less by running the following command: sudo yum install less Once the installation … Read more

How to set/change FQDN on Ubuntu 20.04 Linux

In Ubuntu 20.04, you can set or change the Fully Qualified Domain Name (FQDN) by following these steps: First, open the /etc/hosts file by running the following command: sudo nano /etc/hosts Locate the line that starts with 127.0.0.1 and change the hostname to your desired FQDN, for example: 127.0.0.1 localhost.localdomain mynewfqdn Next, you will need … Read more

Set up automatic unattended updates for Ubuntu 20.04

Unattended-upgrades is a package that allows Ubuntu to automatically download and install security updates and other important updates without any user intervention. This can be useful for servers or other systems that are running 24/7, as it ensures that the system remains up-to-date with security patches and other important updates. Ubuntu 20.04 includes an automatic … Read more