UFW: delete a rule

In this tutorial, I will explain how to easily delete a firewall rule managed by UFW. UFW is a command line interface that simplifies the use of iptables rules. To delete a rule, you must first display the list of rules with their number: The command returns the list of rules as below: To delete …

Read more

Docker: create a MariaDB or MySQL container

In this tutorial, I will explain how to create a MariaDB or MySQL container with Docker. Today, more and more applications are present in businesses and require a database. Previously, we often had a server dedicated to the MySQL or MariaDB database where all the databases coexisted on the same server and with the same …

Read more

Ansible: organize your hosts in an inventory file in YAML format

In this tutorial, I’ll walk you through how to organize your hosts into an inventory file in YAML format instead of the original file format with Ansible. If you are new to Ansible, I invite you to read this tutorial first: Ansible: installation, configuration and use with Windows and Linux To start here is our …

Read more

Exchange migration: creating receive connectors

In this tutorial, I will explain to you how to create and especially configure receive connectors in Exchange during a migration between two versions. When we do an Exchange migration, especially on large environments, it happens that we cannot do it in an evening or a weekend and we will end up with mailboxes in …

Read more

Zabbix: monitor a website

In this tutorial, I will explain to you how to monitor a website using Zabbix. The supervision of Internet sites is done using Web scenarios and it is possible to add parameters for example if authentication is necessary, here we will simply keep it as simple as possible. With Zabbix here is the information you …

Read more

Ubuntu Server: configure the time zone

In this tutorial, I will explain how to configure the time zone called timezone on Ubuntu Server. Unlike the Desktop version, when installing the server version of Ubuntu, the time zone is not requested, which means that by default, Ubuntu is in the UTC (+0) time zone. In order to have the logs and scheduled …

Read more

Ubuntu: add a certificate from an internal certificate authority

In this tutorial, I will show you how to add the certificate of an internal CA on an Ubuntu machine. In business, we often use an Enterprise Certification Authority, which allows us to generate certificates for applications, services, computers and users. If you have servers under Ubuntu and you want, for example, to use scripts …

Read more

IIS – Add the X-Forwarded-For field in the logs

In this tutorial, I will explain how to add the X-Forwarded-For field in the IIS logs, in order to retrieve the real IP address of a visitor when a reverse proxy is upstream of the IIS server. On the IIS Web server, open the Internet Services Management console. Select server 1 and click Logging 2. …

Read more

PowerShell: sign scripts

In this tutorial, I will explain how to sign your scripts. Before going into the subject, we will see why signing the scripts, the main reason is security. If your environment (computers + servers) is configured to run only signed scripts and a PowerShell script is launched in a malicious file, it will be neutralized …

Read more