In this post I’ll just summurize all the advantages of LVM over traditionnal partionning. LVM add a logical layer that allows all these advantages: You can combine different physical disks in the same volume group, and create a partition over… Continue Reading →
When installing your new SSL certificate, after reloading or restarting apache you’re facing “failed to retrieve rpm info”? Don’t panik, it’s just SELinux that is playing with you. First, install policycoreutils-gui in order to have a more explicit error message… Continue Reading →
CIFS, SMB and NFS are protocols. And Samba is an implementation of SMB protocol on Linux OS. SMB (Server Message Block) SMB is a network protocol created by IBM for the share of resources (files and printers) in local networks…. Continue Reading →
/var/run/utmp => shows who is currently connected to the system. Not all the programs use utmp, thus you can have more users connected than displayed in utmp. /var/log/wtmp => is an historical record of utmp data /var/log/btmp => record of… Continue Reading →
(french version of this error message: mount: /mnt/refresh : échec de l’appel système mount(2) : Aucun chemin d’accès pour atteindre l’hôte cible.) You need to install cifs-utils cifs-utils brings utilities for the management of mounting points to CIFS servers (SMB… Continue Reading →
Solution to CentOS 8 AppStream Error As explained here, Centos mirrors have been migrated to vault.centos.org. Then the solution is: After this you can again use the yum command but you won’t received recent updates because Centos mirrors are not… Continue Reading →
First: do you know how to run background task not attached to your user session? Running a task attached to your current user session Imagine you establish an ssh connection to your linux host, or you just log into your… Continue Reading →
Run a function in background and get its process ID Instead of creating another script that you call from your primary script you can simply declare a function (inside your primary script or inside another file that you include), and… Continue Reading →
$n Where n is a positive integer and takes values from 1 to a greater value not restricted. n correspond to the position of an argument givent to a script or to a function $? Exit status of the last… Continue Reading →
Ansible ssh key connection Refer to https://codetodevops.com/2022/05/21/public-key-authentication-on-linux-best-practices-a-more-secure-way-to-connect-to-your-hosts-without-login-and-password/ The advantages of an ssh key over a basic authentication are: no raw password (but you can encrypt passwords using ansible vault) one unique private key to connect to several nodes (but of… Continue Reading →
© 2025 Software engineer >> Sysadmin >> Devops >> SRE — Powered by WordPress
Theme by Anders Noren — Up ↑