
OracleLinux8.8 ; Logwatch , DNS update ・disk usage check script
1. Logwatch①Install# dnf install logwatch②Editing Configuration Files2.Automatic DNS update scriptWhenever the global IP changes, which happens when the network is disconnected or the router is disconnected and rebooted, we need to access Dynamic DNS to inform the user that the global IP has changed. We will install a script that will do this automatically.This time, we assume that you will use Value Domain as your DNS service.3.Disk Usage Check Script3.1 script# cd /var/www/system# vi disk_capacity_check.sh