2024-02

Debian12.5_en

Debian12.5 ; Logwatch , Chkrootkit , Disk Usage Check Script

Logwatch , Chkrootkit , Disk Usage Check Script
Debian12.5_en

Debian12.5 ; Nagios Server , Tripwire Install

Open source integrated monitoring software "Nagios Server" installedNagios is an open source monitoring solution running on Linux.Nagios is designed to periodically check critical network, application, or server parameters.These parameters include microprocessor load, number of running processes, log files, disk and memory usage, as well as many other services such as SMTP (Simple Mail Transfer Protocol), HTTP (Hypertext Transfer Protocol), POP3 (Post Office Protocol 3), etc. can be checked.These parameters require a microprocessor load, a database such as PHP or MySQL to run Nagois, and a web server such as Apache or Nginx. We will proceed under the assumption that all of these have already been configured
Debian12.5_en

Debian12.5 ; System Backup and Restore

1. System Backup1.1 Backup under /var/www/html① Create backup_all.sh script under /opt/script1.2 MariaDB database backup①Create db_backup.sh script under /opt/script# vi /opt/script/db_backup.shdb_backup.sh script contents2. System Restore2.1 Restore backup files under HTML① Store HTML backup files used for backup in the "/ (root)" directorySelect the backup file with the latest timestamp (e.g. www_back_20220501.tar.gz)2.2 Restore MariaDB database①Save DB backup file to any directory and extract data# cd /var/www/backup/db_bak