SSH client: delete existing keys

In this tutorial, I will explain how to solve the error : WARNING : REMOTE HOST IDENTIFICATION HAS CHANGED. This error mainly occurs when you reinstall a Linux server with the same IP address and you have registered the thumbprint (key). Since the server has been reinstalled, it is normally that the key is changed. …

Read more

Add-WindowsCapability: resolve error 0x800f0954

In this tutorial, I will explain how to solve error 0x800f0954 with the PowerShell Add-WindowsCapability Cmdlet when trying to install a Windows feature. This error mainly occurs when you use a WSUS server to update your Windows computers and therefore when using the Cmdlet Add-WindowsCapability, it will look for files on the WSUS server. Here …

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

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