Postfix: configure a mail relay (MTA) on Ubuntu

In this tutorial, I will explain to you how to install (it’s the easiest) and configure Postfix on Ubuntu as an email relay to send emails from applications, equipment (copier, switch, etc.). This type of server is often used in businesses to send emails from different equipment and software, even if you have an internal …

Read more



Ubuntu 22.04: install Docker

In this tutorial, I will show you a script to install Docker and Docker Compose on Ubuntu 22.04. Today more and more applications are available in containers with Docker, I regularly have to install a new machine on Ubuntu and have to install Docker and Docker Compose. Personally, I prefer to install Docker from the …

Read more



DUF: show available disk space on Ubuntu

In this tutorial, I will explain how to install duf to show available disk space on Ubuntu. DUF is a command line utility that allows you to view available disk space on Linux and Windows in a terminal. If you are used to using Linux, you probably know the following command: df -h which allows …

Read more



Ubuntu Server: configure the time zone

In this tutorial, I will explain how to configure the time zone called timezone on Ubuntu Server. Unlike the Desktop version, when installing the server version of Ubuntu, the time zone is not requested, which means that by default, Ubuntu is in the UTC (+0) time zone. In order to have the logs and scheduled …

Read more



Ubuntu: add a certificate from an internal certificate authority

In this tutorial, I will show you how to add the certificate of an internal CA on an Ubuntu machine. In business, we often use an Enterprise Certification Authority, which allows us to generate certificates for applications, services, computers and users. If you have servers under Ubuntu and you want, for example, to use scripts …

Read more



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



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