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

Zabbix – monitor an Nginx web server

In this new tutorial dedicated to Zabbix, I will explain how to monitor a web server under Nginx in order to have performance metrics. For monitoring, Zabbix agent should be installed on Nginx server, as we will use it to collect statics which will then send to Zabbix monitoring server. Before configuring monitoring at Zabbix …

Read more

Install nano on Windows

In this tutorial, I will explain how to easily install nano on Windows (Desktop and Server). If you regularly use Linux, you are certainly familiar with it, for those who do not know nano, it is a command line text editor and it must be said that sometimes it is missing on Windows, particularly when …

Read more

Exchange 2016/2019: change a mailbox database in PowerShell

In this tutorial, I will explain how to change a mailbox database in Exchange 2016/2019 using PowerShell and the Cmdlet New-MoveRequest. If you don’t like command lines, it’s always possible to do it from the graphical user interface (ECP): Exchange: change a database mailbox. Personally, I prefer to do it in PowerShell which requires less …

Read more

Update Ansible on Ubuntu

In a previous tutorial, I explained how to install and use Ansible to execute automatic actions on your Windows and Linux servers. Like all applications, Ansible is regularly updated and so to enjoy the latest features and bug fixes, you should also update Ansible. The “problem” when you go through the official repositories of distributions …

Read more

Install Docker on Ubuntu and Debian

In this tutorial, I will walk you through how to install Docker and Docker Compose on Ubuntu and Debian. Installation of Docker and docker-compose from the official repositories Docker and docker-compose are part of the official repositories of both distributions (Ubuntu and Debian), so just run the two commands below: Installing Docker: Installing docker-compose: 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

GPO: schedule the automatic shutdown of computers

In this tutorial, I will walk you through how to schedule computers to automatically shut down using Group Policy. In fact, there is no native functionality in Windows to shut down computers, but we will use Group Policy to deploy a scheduled task to Active Directory domain member computers that will shut them down. Often …

Read more

Zabbix – Restart a service on Ubuntu – Linux

In this tutorial, I will show you, how to restart a service (systemctl) on Ubuntu/Debian monitor with Zabbix. When we supervise a server and in particular the services, it happens that we want to restart a service which will be “fallen” automatically in order to guarantee a level of service. Restarting a service to fix …

Read more

Ubuntu: Install a Remote Desktop Server with XRDP

In this tutorial, I will explain how to install xRDP in order to have a remote desktop server (or rather a service) on Ubuntu. The purpose of this installation is not to make a remote desktop farm so that several users can connect to it simultaneously, but to be able to take control of Ubuntu …

Read more