Récupérer une clé GPG manquante
gpg --recv-keys --keyserver hkp://pgp.mit.edu <clef manquante>
Polices
# Core TTF Fonts from Microsoft yaourt -Ss ttf-ms-fonts
Réinitialiser Iptables
# Reinitialiser iptables -F iptables -t nat -F # Tout accepter iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT
/etc/init.d/firewall chmod a+x /etc/init.d/firewall sudo update-rc.d firewall defaults
Installer Certbot-auto
ABC sécurité apache2
sudo vim /etc/apache2/conf-available/security.conf ServerTokens Prod ServerSignature Off
Locales
export LC_ALL="fr_FR.UTF-8"
export LC_CTYPE="fr_FR.UTF-8"
dpkg-reconfigure locales
Backup
mysql : automysqlbackup system : backup-manager
Etckeeper
nethogs
neofectch
Remplacer un chaine de caractère avec la commande sed
sed -i -e "s/chaines1/chaine2/g" fichier # si caractères spéciaux, ne pas oublier de les escaper : sed -i -e "s/\/home/\/tmp/g" fichier
Man en français
sudo apt install manpages-fr
export LANG=fr_FR.utf8
man man