I encountered a rather constraining issue for sticklers like me; I have my mail server hosting Postfix and Dovecot duo. The logs are respectively distributed in /var/log/mail.log for Postfix and /var/log/mail.log for Dovecot. Problem is, when sending these logs via Rsyslog to the receiving server, I ended up with a concatenation of both files into one. Let’s discover the solution to this problem together!
Linux
Running a script with Crontab by a user
For certain needs, it may be necessary to execute a script via crontab by a user other than root. In this tutorial, I will use www-data because my script will be related to my Apache server.
How to Deploy a WireGuard VPN with IPtables
WireGuard is a very lightweight and easy-to-configure VPN that operates on a P2P system. It is available on many platforms like Windows or Android and is incredibly stable!
Install a LAMP server for WordPress
The goal of this tutorial is to set up a WordPress server. For this, we will install and configure Apache and MariaDB. You can use this tutorial for another tool like GLPI, but you will obviously need to check the official website for the required PHP packages.
Basic commands in Linux (Debian)
Here’s a brief overview of basic Linux commands.
Installation and Configuration of Fail2Ban
The world of Linux is fascinating, and security is a crucial chapter of this journey. Fail2Ban is one of those essential tools for any Linux administrator concerned about protecting their servers. By monitoring system logs, it detects intrusion attempts on services such as SSH, HAProxy, or Postfix. And if an intruder becomes too persistent? Fail2Ban steps in, blocking the offender’s IP address via IPTables. One of the major strengths of Fail2Ban is its flexibility. You can create and tailor your own filters according to your needs. In this article, I will guide you through the installation and configuration of Fail2Ban on Debian.