Cron est un programme disponible sur les systèmes de type Unix (Linux, Mac Osx …) permettant de planifier des taches régulières. Il est en effet intéressant que les tâches habituelles soient réalisées automatiquement par le système plutôt que d’avoir à les lancer manuellement en tant qu’utilisateur. Cron est un démon, il tourne donc en tâche […]
Tous les posts de admin
Docker MySQL and MariaDB Backup Script
With MySQL or MariaDB containers, you put the persistent database data on a Docker volume, but you still back up the database with mysqldump. This prevents the data you are backing up from being inconsistent, since you would have to make sure that no database operators are happening at the same time when you dump […]
How to backup data from docker-compose MariaDB container using mysqldump
For containers with a MYSQL_ROOT_PASSWORD stored in .env This is the recommended best practice. For this example, we will assume that .env looks like this: .env 📋 Copy to clipboard⇓ Download MARIADB_ROOT_PASSWORD=mophur3roh6eegiL8Eeto7goneeFei To create a dump: backup-data-from-docker-compose-mariadb-container-using-mysqldump.sh 📋 Copy to clipboard⇓ Download source .env && docker-compose exec mariadb mysqldump -uroot -p${MARIADB_ROOT_PASSWORD} –all-databases > mariadb-dump-$(date +%F_%H-%M-%S).sql To […]
VM : erreur Storage vMotion : The migration has exceeded the maximum switchover time of 100 second(s)
Lors du storage vMotion d’une VM à forte activité (base de données, …) vous pouvez être amené à rencontrer cette erreur : FR : La migration a dépassé le délai de basculement maximal de 100 seconde(s) EN : The migration has exceeded the maximum switchover time of 100 second(s) 2 options : 1 – Attendre la période […]
Proxmox VE
1 Introduction Proxmox VE is based on Debian, therefore the disk image (ISO file) provided by them includes a complete Debian system (« stretch » for version 5.x) as well as all necessary Proxmox VE packages. Using the installer will guide you through the setup, allowing you to partition the local disk(s), apply basic system configurations (e.g. […]
Simple Raspberry Pi WiFi Extender
Setting up the WiFi Extender To setup our Raspberry Pi Wifi Extender we will need to utilize the dnsmasq package, this package handles most of the grunt work for this tutorial as it acts as both our DNS and DHCP server for our connections. We will also need to utilize the hostapd package, this is […]
Install hostapd and its interface to turn your Raspberry Pi into a Wi-Fi hotspot
The first step will be to install Raspbian (preferably the lite version) on your Raspberry Pi. Once you have installed Raspbian, the first thing to do is to connect your Raspberry Pi to your internet box using the Ethernet cable, then take control of your Raspberry, either directly with a keyboard/screen or via SSH. Once […]
How to allow the proper plugin to run on Firefox when attempting to watch video on a Foscam camera or NVR system?
Step1: Launch the Firefox browser and disable the Pop Up Blocker In the address bar type about:config and press the Enter key A warning message will appear that states “This might void your warranty!” Click the “I accept the risk!” button to continue. Step2: Right click under the Preference Name and choose New → […]
Formatting Disks over 2 TiB with parted
I just added a big hard drive to my ESXi box and I created a virtual drive of about 3.5 TiB for a virtualized machine. But I had a problem… When I went to format it… using my typical method of using fdisk to create a partition I noticed a problem… If I try to […]
Openvpn Web Interface
add to /etc/openvpn/server.conf management 127.0.0.1 5555 restart openvpn server systemctl restart openvpn@server.service add an OpenVPN Monitor Python package – this will run via a Gunicorn web server and show active connections, mkdir /opt/openvpn-monitor create a virtual env (not required but good practice with py packages) cd /opt/openvpn-monitor apt install virtualenv python3-virtualenv python3-pip python3-venv apt install […]