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



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



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



Docker: manage your containers with Portainer.io

In this tutorial, I will explain how to manage your Docker containers with Portainer. Portainer is an application that runs under Docker and will allow you to have a graphical interface (Web) to manage your containers under Docker. With Portainer you will be able to: Create / Modify / Delete containers Administrators your containers (SSH …

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



PFX certificate: extract the certificate and the private key

In this tutorial, I will explain how to extract the certificate and the private key from a certificate in PFX format with OpenSSL. The easiest way to use OpenSSL is to use a Linux computer. 1. Copy the PFX file to your computer where OpenSSL is installed. 2. The first step will be to extract …

Read more