Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

42 total results found

Diskpart

Windows Powershell

facl

Linux Acess List

https://www.ibm.com/docs/en/zos/2.1.0?topic=scd-setfacl-set-remove-change-access-control-lists-acls https://symfony.com/doc/current/setup/file_permissions.html#using-acl-on-a-system-that-supports-setfacl-linux-bsd

CLI git

Applications Gitlab

git fetch upstream/master ; git rebase -i upstream/master

FSCK

Linux Disk Health

https://phoenixnap.com/kb/fsck-command-linux

BookStack on Docker

Applications Wiki

Power DNS

Applications DNS

Terminal | Console

MacOS Mes outils

Navigateur WEB

MacOS Mes outils

ARC https://arc.net/ Safari BRAVE https://brave.com/fr/ Google Chrome https://www.google.fr/chrome/

Gestionnaire de paquets

MacOS Mes outils

Homebrew https://brew.sh/

Outillage

Linux Tools

Réseau iperf nuttcp

mod security

Applications WAF

La commande suivante permet de générer les instructions SecRuleUpdateTargetById à partir des logs d'un serveur. cat /var/log/messages | grep ModSec | perl -pe 's/.*at\s([^\s\.]+)\s*.*\[id "([0-9]+)"\].*/SecRuleUpdateTargetById $2 !$1/' | sort | uniq cat /var/...

Restic : Déploiement

Applications Restic Backup

Docker Restic REST with SSL Pré-requis : Posséder un binaire restic : apt install restic Posséder la suite openssl : apt install openssl Posséder docker et docker compose : apt install docker docker-compose Savoir lire :) 1) Préparation du répertoire proj...

Restic : Ligne de commandes

Applications Restic Backup

Bashrc & Alias Sur votre utilisateur courant (différent de root), éditer votre fichier bashrc vim /home/user/.bashrc alias restic='restic --insecure-tls' export RESTIC_PASSWORD="${USER_MDP}" export RESTIC_REPOSITORY="rest:https://${USER_PROJECT}:${USER_MDP}@${...

Restic : Annexes

Applications Restic Backup

Logiciels clients Testé et approuvé : Restic-browser https://github.com/emuell/restic-browser Restic Restatic : https://github.com/Mebus/restatic autorestic : https://github.com/cupcakearmy/autorestic crestic : https://github.com/nils-werner/crestic Runrest...

Restic : Scénarios de sauvegarde

Applications Restic Backup

Sauvegarde MariaDB #!/bin/bash DATE=$(date +%Y%m%d-%Hh%M) DUMP="/mnt/data/dump" ## Récupérer les bdd présent dans le SGBDR listBdd=$(echo "SHOW DATABASES" |mysql |grep -v "Database" |grep -v "schema") ##Backup bases de données for bdd in ${listBdd}; do ec...

Modifier une table de partition GPT vers MBR

Windows

shift + F10 diskpart list disk SELECT DISK NUM SELECT DISK 5 Vider le contenu du disk clean Puis convertissez la table de partition convert MBR

TP : Déploiement K8s 3 noeuds avec NFS

Applications Kubernetes

Source : https://akylson.com/kubernetes-cluster-on-debian-12-34d7d0ef5e92 https://computingforgeeks.com/configure-nfs-as-kubernetes-persistent-volume-storage/ Lien pour avoir des ressources K8s à gogo : https://killercoda.com/playgrounds/scenario/kubernetes...

TRIM sur disque chiffré

Linux Disk Health

Booter en live CD Ne pas monter de système de fichier, ce sera fait plus tard (sélectionner Do not use a root file system) cryptsetup --allow-discards luksOpen /dev/vda3 vda3crypt lvscan lvchange -a y dvsXXXXX-vg mount -o discard /dev/dvsXXXXX-vg/root /mnt fst...

Profile

Windows Powershell

Le script chargé de base est dans la variable $PROFILE Contexte - Scope Emplacement Utilisateur courant - Shell courant Affecte uniquement l'utilisateur actuel et la session PowerShell en cours $PROFILE = C:\Users\{NomUtilisateur}\Documents\PowerShell\Microsof...

Profile : Examples

Windows Powershell

##write-host "+$("-"*21)" -fore yellow -NoNewline ##write-host " " -BackgroundColor blue -NoNewline ##write-host " " -BackgroundColor white -NoNewline ##write-host " " -BackgroundColor red -NoNewline ##write-host "$("-"*21)+" -fore yellow ##write-host "Â...