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

Manage the DNS cache on Windows Server

In this “tutorial”, I will give you some PowerShell cmdlets to manage your DNS server cache on Windows Server. To be more precise, we will see 4 cmdlet PowerShell * -DnsServerCache cmdlets. Show-DnsServerCache The first command displays the DNS cache: The output of the command gives all DNS records cached on the server. In console …

Read more

Ubuntu: install and configure the SNMP service

In this tutorial, I will explain to you how to install and configure the SNMP service on Ubuntu, which will then allow you to monitor the server using PRTG or Centreon for example. We will first install the service on the Ubuntu server and then configure it so that it is accessible by the network …

Read more