system_administration:faq

This is an old revision of the document!


$ dd if=debian.iso of=/dev/sdb bs=4M

'PubkeyAcceptedKeyTypes +ssh-rsa' in '~/.ssh/config'

Or 'ssh-keygen -t ed25519'

Ref: SSH-RSA key rejected with message "no mutual signature algorithm"

Configuré en maître-esclave, le serveur DNS Bind9 utilise un transfert dynamique des zones.

La modification des zones sur le maître n'est pas répercuté sur le slave si les commande suivantes ne sont pas exécutées:

sudo rndc freeze
sudo rndc thaw

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.1)

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8

Step 2 - Connect the QCOW2 as network block device

 qemu-nbd --connect=/dev/nbd0 /var/lib/vz/images/100/vm-100-disk-1.qcow2

Step 3 - Find The Virtual Machine Partitions

fdisk /dev/nbd0 -l

Step 4 - Mount the partition from the VM

mount /dev/nbd0p1 /mnt/somepoint/

Step 5 - After you done, unmount and disconnect

umount /mnt/somepoint/
qemu-nbd --disconnect /dev/nbd0
rmmod nbd
$ docker network create \
       --driver=bridge \
       --subnet=10.5.0.0/16 app_net \
       --opt com.docker.network.bridge.name=app_net

  • system_administration/faq.1662633214.txt.gz
  • Last modified: 2022/09/08 11:33
  • by aziz