Docker: installation and concrete use on Ubuntu

In this tutorial, I will explain to you how to install Docker on Ubuntu and then through a concrete example how and why to use Docker. At the time of writing this tutorial (in 2021) as SysAdmin, I was having a hard time finding a concrete use for containers including Docker (so I’ll let you …

Read more

SSH: authentication by keys

SSH

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

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

Linux: display logs in real time

In this “how” tutorial, I will explain how to display logs in real time saved in a file in SSH This type of manipulation is useful when you want to see what is happening in real time. To illustrate this tutorial, I used the access logs of an NGINX server. Use the tail -f command …

Read more