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

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

Crowdsec: send logs to Elasticsearch (ELK)

In this tutorial, I will explain how to send decision logs to Elasticsearch (ELK) so that you can create a dashboard to use the logs. What you need to achieve what described in the tutorial: Crowdsec version 1.2.x or higher an Elasticsearch server or an ELK stack Since version 1.2 of Crowdsec, a notification system …

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