Cron : gestion des tâches planifiées

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 […]

En Lire Plus

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 […]

En Lire Plus

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 […]

En Lire Plus

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. […]

En Lire Plus

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 […]

En Lire Plus

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 […]

En Lire Plus

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 […]

En Lire Plus