How To Change Timezone on a CentOS 6 and 7

You can change the timezone on a CentOS 6 and 7 system using the following steps: Determine the correct timezone: timedatectl list-timezones This will display a list of available timezones. Look for the timezone you want to use and make a note of its name. Change the timezone: sudo timedatectl set-timezone <Timezone_Name> Replace <Timezone_Name> with … Read more

How To Add Swap on FreeBSD Unix Systems

Adding swap on a FreeBSD Unix system is a straightforward process that can be done using the following steps: Create a swap file: sudo dd if=/dev/zero of=/swapfile bs=1M count=1024 This creates a file called “/swapfile” with a size of 1024 MB. You can adjust the size of the file as needed by changing the value … Read more

How To Patch and Protect Linux Server Against the Glibc GHOST Vulnerability # CVE-2015-0235

To patch and protect a Linux server against the Glibc GHOST vulnerability (CVE-2015-0235), you need to upgrade the glibc package to a version later than 2.18. The exact steps for upgrading glibc may vary depending on your Linux distribution and the package management system used. Here are the steps for some of the most common … Read more

How to check KVM (qemu-kvm) version on Linux

You can check the version of KVM (qemu-kvm) installed on a Linux system by using the following command: kvm –version or qemu-kvm –version This will print the version number of the installed KVM (qemu-kvm) package. The output should look something like this: QEMU emulator version 4.2.0 (Debian 1:4.2-2ubuntu2) Copyright (c) 2003-2021 Fabrice Bellard and the … Read more

Linux check BIOS settings from the command line

On Linux, you can check BIOS settings from the command line by using the dmidecode utility. dmidecode is a tool that retrieves information from the system’s BIOS and reports it in a human-readable format. To check the BIOS settings, you can use the following command: sudo dmidecode -t 0 This will display a summary of … Read more