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



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



ncdu: analyze disk space in command line on Linux

In this “‘little” tutorial, I will explain how to view and analyze the space in the command line on Linux with ncdu. If you are adapted from WinDirStat or TreeSize on Windows, the ncdu utility on Linux allows you to have the “same” thing in a terminal. The first thing to do is to install …

Read more



Ubuntu – Extend LVM partition and disk

In this tutorial, I will explain how to extend a disk’s partition and then the LVM disk. To understand what we are going to do in this tutorial, I have a virtual machine with Ubuntu Server 20.04 installed on an LVM disk, following the addition of data, I must increase the storage capacity, for that …

Read more



Crowdsec: secure your web server network – installation and configuration

In this tutorial, I will explain to you how to secure the network part of your web servers with Crowdsec. The tutorial is made on Ubuntu 20.04 Crowdsec overview Crowdsec is an open source tool that allows you to “secure” or rather add a layer of security to your Linux servers (soon Windows too) by …

Read more



SSH: authentication by keys

In this tutorial, I will explain how to connect to a linux server / computer in SSH without password using a key pair (private / public). Generate the key pair with ssh-keygen To generate a pair of keys, you must have an SSH client available, it is possible to do it from Windows 10 or …

Read more



Ubuntu: create a user and add it to the sudo group

Small memo to create a user on Ubuntu and add it to the sudo group: Enter the password for the current user (sudo) if necessary, then enter the password for the new account twice and enter additional information as required. Confirm the information by pressing Enter. Now we add the user to the sudo group. …

Read more



Nginx: configuration as reverse proxy

In this tutorial dedicated to Nginx, I will explain how to configure it in order to have a reverse proxy. Before getting to the heart of the matter, I will quickly introduce you to Nginx and what a reverse proxy. For this tutorial, I used an Ubuntu 20.04 machine. Introducing Nginx Nginx is a web …

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