This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Script para envío masivo de emails con archivos adjuntos personalizados | |
| Lee datos desde un archivo CSV y envía emails personalizados con adjuntos+ | |
| Necesario crear el fichero contactos.csv en el mismo directorio de ejecución del script. | |
| nombre,email,id,entrada | |
| fulano,fulano@detal.es,1,1.jpg |
| # === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) === | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated September 2024 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # |
| # === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) === | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated September 2024 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # |
| import requests | |
| import dns.resolver | |
| import syslog | |
| dinahostingUser = "DINAHOSTING_USERNAME" | |
| dinahostingPass = "DINAHOSTING_PASSWORD" | |
| urlCheckWan = "https://eth0.me" | |
| hostname = "HOSTNAME" | |
| domain = "DOMAIN" |
| #!/bin/bash | |
| for f in *.JPG; do | |
| NOME=`echo $f |cut -d. -f1` | |
| echo "Convertindo imaxe orixinal -> $f" | |
| convert $f -resize 33% $NOME-redimensionada-33.JPG | |
| done |
I hereby claim:
To claim this, I am signing this object: