Ubuntu: enable the firewall and manage it with UFW

In this tutorial, I will explain how to activate the firewall on a computer with Ubuntu and manage it with UFW. UFW for Uncomplicated Firewall is a simplified Netfilter command line utility, it is a simple alternative to iptables, which allows to manage firewall rules. If UFW is not installed, use the following command to …

Read more

Ubuntu: configure systemd log size

In this tutorial, we will see how to configure the size of systemd logs on an Ubuntu distribution. By default, the logs located in the /var/log/journal folder can take several gigabytes of disk space. As can be seen from the screenshot below, the logs take up 4 Giga of disk space. The configuration of the …

Read more

Nginx: get the visitor’s real IP with CloudFlare

In this tutorial, I will explain how to get the real IP address of visitors using CloudFlare services and an Nginx web server. What I will explain to you in this tutorial is valid when Nginx is used as a front-end web server or as a reverse proxy. By default, when using CloudFlare in Proxy …

Read more

Ubuntu 20.04: add swap space

In this tutorial, I will walk you through how to add swap space on Ubuntu 20.04 and above. A swap space on Linux is a location on the disk, which allows the OS to load the random access memory (RAM), on Windows we find this type of file pagefile.sys By default, on server versions of …

Read more

Windows Server: configure an IP address on a network card

In this tutorial, I will explain how to configure an IP address on a network card on a Windows server. This operation is not complicated, but there are several solutions to achieve the same result that we will see in this tutorial. Use sconfig to configure an IP address sconfig for ServerConfig is a command …

Read more

Ubuntu: show default gateway

Here is how to display the default gateway on Ubuntu from the command line. Ubuntu 20.04 + (without net tools) Ubuntu 18.04 – (with net-tools)

VDI: change the configuration of virtual machines

To follow up on the tutorial on deploying a VDI (Virtual Desktop Infrastructure) environment, I will explain in this tutorial how to proceed when you want to change the “hardware” configuration of virtual machines. To illustrate the tutorial, I will change the amount of RAM to 3 GB. Change template virtual machine settings From the …

Read more

PrintNightmare: secure print configuration

In this “little” tutorial, I will show you how to set up a “secure” configuration. Since the publication of the PrintNightmare flaw, Microsoft has deployed several updates to correct this problem and took the opportunity to modify the behavior of Windows to harden the configuration. In this tutorial, we will see the parameters to use …

Read more

Ansible: installation, configuration and use with Windows and Linux

Ansible is open source multi-platform configuration management software (Linux, Windows, network equipment, etc.). In other words, Ansible will allow you to manage, deploy or even execute actions on a group of computers in a “single command line”. Actions / configuration are written to a YAML format file also called playbook. Through this tutorial, I will …

Read more