How to apply Debian security patches and updates

Debian provides security patches and updates for its systems through its package management system, “apt.” To apply security patches and updates on a Debian system, you can follow these steps: Update the package list: Before you can install any updates, you need to have the latest package list. Run the following command to update the … Read more

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. To install the “lm_sensors” package, run the following command: # yum install lm_sensors Once the package is installed, you can … Read more

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: Create the “cron.log” file: # touch /var/log/cron.log Change the ownership of the file to the syslog user: # chown syslog:adm /var/log/cron.log Edit the syslog configuration file: # nano /etc/rsyslog.d/50-default.conf Add the following line to … Read more