Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
How to see CPU temperature on CentOS 7 and RedHat Enterprise Linux 7
To see the CPU temperature on CentOS 7 / Red Hat Enterprise Linux 7, you can use the “lm_sensors” package. This package provides tools to monitor the temperature of various system components, including the CPU. n To install the “lm_sensors” package, run the following command:
How to see PCI devices info on CentOS and RedHat Enterprise Linux 7.x/8.x
To see information about PCI devices on CentOS 7 / Red Hat Enterprise Linux 7.x / 8.x, you can use the "lspci" command. The "lspci" command is a part of the "pciutils" package and can be installed by running the following command:rn rn rn # yum install pciutils rn rn rnOnce the package is installed,
How to configure a static IP address on CentOS 7 / RHEL 7
To configure a static IP address on CentOS 7 / RHEL 7, follow these steps:rn rn Open the network configuration file: Open the file "/etc/sysconfig/network-scripts/ifcfg-eth0" using a text editor. The "eth0" in the file name refers to the name of the network interface you want to configure. If you ha
How to make disk image with dd on Linux or Unix
You can use the “dd” command to create a disk image on Linux or Unix systems. Here are the steps to create a disk image: n n Identify the source disk: You can use the “lsblk” or “fdisk -l” command to identify the source disk and partition you want to create the im
How to configure Wi-fi+Lan bridged access point in pfSense firewall router
To configure a Wi-Fi and LAN bridged access point in pfSense firewall router, you need to perform the following steps:rn rn Connect to the pfSense web interface. rn Go to Interfaces > (assign) > Bridges and add a new bridge. rn Give the bridge a descriptive name, such as "WiFiLANBridge". rn Se
Ubuntu Create a cron.log File To Log crontab Logs [16.04/18.04/20.04]
To create a "cron.log" file to log crontab logs on Ubuntu 16.04, 18.04, and 20.04, you can use the following steps:rn rn Create the "cron.log" file: rn rn rn rn # touch /var/log/cron.log rn rn rn rn Change the ownership of the file to the syslog user: rn rn rn rn # chown syslog:adm /var/log/cron.log
cron Error: bad username; while reading /etc/cron.d file on Linux
The "bad username" error message when reading the "/etc/cron.d" file on Linux typically occurs when the username specified in the cron job does not exist on the system. To resolve this issue, you can either:rn rn Correct the username in the cron job file: rn rn rn rn # nano /etc/cron.d/your_cron_job
How to configure Postfix relayhost (smarthost) to send eMail using an external smptd
To configure Postfix to use an external SMTP server as a relayhost (smarthost), you can use the following steps:rn rn Edit the Postfix configuration file: rn rn rn rn # nano /etc/postfix/main.cf rn rn rn rn Add or modify the following line: rn rn rn rn relayhost = smtp.example.com:587rn rn rnReplace
How to install KVM on Ubuntu 16.04 LTS Headless Server
To install KVM on a headless Ubuntu 16.04 LTS server, you can use the following steps:rn rn Verify that your system supports virtualization: rn rn rn rn # egrep -c '(vmx|svm)' /proc/cpuinfo rn rn rnIf the output is 0, your system does not support virtualization.rn rn Install the necessary packages:
How to force users to use secure passwords on Ubuntu/Debian Linux
To force users to use secure passwords on Ubuntu or Debian Linux, you can use the “pam_cracklib.so” module in PAM (Pluggable Authentication Modules). This module checks the strength of passwords before allowing them to be set. n Here are the steps to enable password checks with PAM: n n
How to apply patches on OpenBSD system/kernel and packages easily
To apply patches on an OpenBSD system, you can use the “syspatch” command. This command updates the operating system and packages with the latest security patches. To use it, run the following command as root: n n n # syspatch n n n If there are no patches available, you will see the mes
How to apply patches on OpenBSD system/kernel and packages easily
To apply patches on an OpenBSD system, you can use the "syspatch" command. This command updates the operating system and packages with the latest security patches. To use it, run the following command as root:rn rn rn # syspatch rn rn rnIf there are no patches available, you will see the message "Yo
How to create empty file in Linux
You can create an empty file in Linux using the touch command or by using a text editor. Here's the general process for creating an empty file in Linux:rn rn Using touch : You can create an empty file using the touch command and specify the name of the file as an argument: rn rn rn rn touch rn rn
How to create snapshot in Linux KVM VM/Domain
You can create a snapshot of a KVM virtual machine (VM) or domain in Linux using the virsh command-line tool. Here's the general process for creating a snapshot in a KVM virtual machine or domain:rn rn Connect to the KVM host: Connect to the KVM host using ssh or by using the console directly. rn
How to live patch Ubuntu Linux Kernel without rebooting the server
To live patch the Ubuntu Linux Kernel without rebooting the server, you can use a tool called "Kpatch". Kpatch is a dynamic live-patching system that allows you to apply kernel patches without the need for a reboot. It works by patching individual functions in the running kernel, rather than applyin
How To Patch and Protect Linux Kernel Zero Day Local Privilege Escalation Vulnerability CVE-2016-5195 [ 21/Oct/2016 ]
To patch and protect the Linux kernel Zero Day Local Privilege Escalation Vulnerability (CVE-2016-5195) from Oct 21, 2016, follow these steps: n n Check your kernel version: n n n n uname -r n n n n Update your system: n n n n sudo apt - get update && sudo apt - get upgrade n n n n Install t
How to check Ansible version on Linux/Unix
rn To check the version of Ansible installed on a Linux or Unix system, use the following command: rn rn rn rn rn rn rn ansible --version rn rn rnThe output will show the version number, for example:rn rn rn ansible 2.9 .13 rn config file = None rn configured module search path = rn ansible python m
How to install PHP 7 on Debian Linux 8.x/7.x [jessie/wheezy]
To install PHP 7 on Debian Linux 8.x/7.x (jessie/wheezy), follow these steps:rn rn Add the package repository for PHP 7: rn rn rn rn sudo apt-get install apt-transport-https lsb-release ca-certificatesrnsudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpgrn echo "deb htt
How to forcefully mark down pfSense Gateway as down
To force mark a pfSense gateway as down, you can follow these steps:rn rn Login to the pfSense web interface. rn Navigate to System -> Routing. rn Find the gateway you want to mark as down in the Gateway column and click the associated gear icon. rn Click the Disable button to mark the gateway as
How to delete KVM VM guest using virsh command
To delete a KVM virtual machine guest using the virsh command, you can use the following steps:rn rn Connect to the host machine via ssh rn Start the virsh shell: virsh rn List all running VMs: virsh list --all rn Note the name or ID of the VM you want to delete. rn Destroy the VM: virsh destroy <
2,685 guides published.
