2024-02

Debian12.5_en

Debian12.5 ; Nagios Server , Tripwire Install

Open source integrated monitoring software "Nagios Server" installed Nagios 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 ; Logwatch , Chkrootkit , Disk Usage Check Script

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

Debian12.5 ; System Backup and Restore

1. System Backup 1.1 Backup under /var/www/html ① Create backup_all.sh script under /opt/script 1.2 MariaDB database backup ①Create db_backup.sh script under /opt/script # vi /opt/script/db_backup.sh db_backup.sh script contents 2. System Restore 2.1 Restore backup files under HTML ① Store HTML backup files used for backup in the "/ (root)" directory Select 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