OracleLinux8.8 ; Logwatch , DNS update ・disk usage check script
1. Logwatch
①Install
# dnf install logwatch
②Editing Configuration Files
2.Automatic DNS update script
Whenever 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 Script
3.1 script
# cd /var/www/system
# vi disk_capacity_check.sh