Log File

Installing, configuring and using a UFW firewall on Debian / Ubuntu systems

botond published 2022. 06. 27., h - 12:54 time
UCW (Uncomplicated Firewall) is an easy-to-use netfilter firewall management program. It uses a command line interface that consists of a few simple commands and uses iptables for configuration, so it is the frontend of iptables. In this description we will look at the installation and basic use and configuration of the UFW firewall, the steps of which I will perform on a minimal Debian 11 server.

Installing Debian 10 (Buster) LAMP Server v1.0 (page 3)

botond published 2019/11/19, k - 14:30 time
With the help of LAMP systems, we can run dynamic web pages on our server or even on our home computer. In this description, we create a LAMP server for Debian 10 (Buster) with the following components: MariaDB 10.3.18, Apache 2.4.38, PHP 7.3 and phpMyAdmin 4.9.1. On this page, we will create a separate PHP-FPM pool for phpMyAdmin in which we will run the web database management interface.

Rotate and compress log files with Logrotate

botond published Jan. 2019, 04, 17:23 p.m. time
If we run many services on our server, comprehensive and regular scanning of our log files becomes difficult. A useful solution is the logrotate command, which automatically rotates log files generated by various programs, compresses older ones and deletes older ones than the specified time, as well as the ability to send email notifications. With the use of the program, we no longer have to worry about the log files being buried after a few days or weeks of absence, because they are waiting in an orderly state for us to review them. In this description we will get acquainted with the general use of the Logrotate program.