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

How to install X Window System XQuartz on macOS for ssh X11 forwarding

To install the X Window System XQuartz on macOS for ssh X11 forwarding, follow these steps: Download the XQuartz installer from the official website: https://www.xquartz.org/ Install XQuartz by double-clicking on the downloaded installer package and following the instructions. Once XQuartz is installed, log out and log back in to your macOS account to activate X11 … Read more