[ ARTICLES CRÉÉS EN 2023 ]

Pour permetre un connexion à LDAP(S) pour accéder à une page, il est possible d’utiliser la directive AuthBasicProvider. <DirectoryMatch /usr/(share|libexec)/BackupPC/> AuthName "BackupPC admin & LDAP Protected" # For special user(s) AuthType Basic AuthUserFile /etc/BackupPC/apache.users # all authorized users from UserFile (file) AND LDAP (ldap) AuthBasicProvider file ldap # LDAP setting AuthLDAPURL ldap://ldap.your.com

Pour pixeliser des images il existe la bibliothèque PIL pour Python. Pour utiliser PIL dans vos scripts : # pip install Pillow Pixelisation d’imageSimple pixelisationJe crois vraiment que c’est le script le plus simple de toute la Terre entière pour pixeliser des images : #!/usr/local/bin/python3from PIL import Image# Open imageimg = Image.open("UneImage.jpg")# Resize smoothly down to 16x16 pixelsimgSmall = img.resize((16,16), resample=Image.Resampling.NEAREST)# Scale back up using NE

Il est possible de créer un fichier en incluant automatiquement la date et l’heure courantes dans son nom à l’aide de la substitution de commande et de la commande date. Nommer des fichiers avec la date courrantePour créer un fichier avec une date de type 2023-11-29-22-13-37 : # touch /MonDossier/monFichier-$(date +%Y-%m-%d-%H-%M-%S).txt DocumentationInternet

In order to restrict executable SSH commands with authorized keys, you can use the SSH feature called forced command within the authorized_keys file.As the command is bound to an SSH key, when the user try to execute a command, the only output will be the one of the command configured previously. The use of a non-interactive will be helpful when the user is a daemon or can’t answers on the terminal, especially if SSH_ORIGINAL_COMMAND is used: this variable contains the original command line if a

Arcserve is a provider of data protection, replication and recovery solutions. Arcserve lets you to perform bare metal recovery (BMR). Logs Files:Arcserve logs files are in the /opt/Arcserve/d2dserver/logs/ directory: Arcserve : /opt/Arcserve/d2dserver/logs/ Jobs : /opt/Arcserve/d2dserver/logs/logs/ Utilities (cmd):All Arcserve commands are in the /opt/Arcserve/d2dserver/bin directory: # ls -l /opt/Arcserve/d2dserver/bin-r-xr--r-- 1 root root 17698 Aug 20 2021 configutility-r-xr-

When you try to set up a backup on Arcserve, you need to add a target node, and if you encountered this error : ❌ Invalid SSH key configuration.For more information about configuring the SSH key, see the product documentation. You can follow the procedure below. Configure the Private/Public KeysOn backup server Log into your Backup Server as a root user Generate 2 public/private key files named server.pub and server:# ssh-keygen -t rsa -f server Copy and rename server.pub and server files

Arcserve is a provider of data protection, replication and recovery solutions. Arcserve lets you to perform bare metal recovery (BMR). RequirementsDownload the Arcserve UDP Agent (Linux) installation package (*.bin file) to your root folder /root: The full path on the server must not contain any special characters except blank spaces The full path should only include the following characters: a-z, A-Z, 0-9, - and_ The following mandatory applications are required for the installation file to w

BackupPC WebGUI is just ugly… If you want a original dark theme or a modern dark theme, just replace the following CSS files and restart your web server. Dark ThemesEdit your .css file, for example /usr/share/BackupPC/html/BackupPC_stnd.css Original CSS to darkThe file : /* * BackupPC modern CSS definitions * * Version 4.4.0, released 20 Jun 2020. * * See http: //backuppc.sourceforge.net. * * AUTHOR * Craig Barratt <[email protected]> * Ernesto Carrea <ernestocarrea@g

BackupPC don’t have a logout button… … … Create a logout buttonAdd the following lines in order to create anothers buttons to the $Conf{CgiNavBarLinks} area of your /etc/BackupPC/config.pl : [...]$Conf{CgiNavBarLinks} = [ { 'link' => '?action=view&type=docs', 'lname' => 'Documentation', 'name' => undef }, { 'link' => 'https://github.com/backuppc/backuppc/wiki'

You need to configure the /etc/httpd/conf.d/BackupPC.conf file like below: [...]# ======================================# CONFIGURATION LDAP(S) & USERFILE# ======================================<DirectoryMatch /usr/(share|libexec)/BackupPC/> AuthName "BackupPC admin & LDAP Protected" # For special user(s) AuthType Basic AuthUserFile /etc/BackupPC/users.htacess # all authorized users from UserFile (file) AND LDAP (ldap AuthBasicPro

Différences entre un Data warehouse et une base de données. Un Data warehouse (DW ou DWH) est un système utilisé pour le reporting et l’analyse des données provenant de plusieurs sources différentes (comme une BDD par exemple). Différences entre data warehouse et database Data Warehouse Database Conçu pour analyser les données Conçue pour stocker des données Conçu pour faire de grandes requêtes analytiques Optimisée pour la r/w ponctuelle Axé sur une catégorie de données Collecte les d

Vérifier la santé des disques, les commandes diffères en fontion d’un SSD et d’un NVME Disque Sata SSDLancer la commande badblock : # badblocks -vs /dev/sdX Si aucun block n’est deffecteux : Pass completed, 0 bad blocks found. (0/0/0 errors) Disque NVMEDans un raid avec pour nom de volume /dev/sdX et plusieurs disques n°Y.À savoir que smartctl compte à partir de zéro. Donc un disque sur le slot 4 du serveur, correspondra à un Y=3. Lancer la commande smartctl : # smartctl -t short -d <disque