Debian-installer parameter in QEMU

I am installing Debian10 (armhf) on a virtual machine in QEMU, like this: Download this netboot/initrd.gz Download this netboot/vmlinuz Create an empty disk image with: qemu-img create -f qcow2 hda.qcow2 8G Run the debian-installer in QEMU with: qemu-system-arm -M virt -m 1024 -kernel vmlinuz -initrd initrd.gz -drive if=none,file=hda.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd -netdev user,id=mynet -device virtio-net-device,netdev=mynet -nographic…

Details

Apache If Else documentroot

I want to change the Apache DocumentRoot setting depending on what IP address is accessing the server. I have added this code to the vhost.conf file but Apache always accepts the last declaration of mydocumentroot and ignores the if statement logic. <If “%{REMOTE_ADDR} == 91.123.232.226”> Define mydocumentroot /var/www/main-site/ </If> <Else> Define mydocumentroot /var/www/holding-page/ </Else> DocumentRoot…

Details

Compiling ZFS on aarch64 CentOS

I’m trying to compile zfs on my raspberry pi4, running CentOS 7.7 (64bit). I followed the instructions provided here: https://github.com/zfsonlinux/zfs/wiki/Building-ZFS but can’t get past the following error: checking kernel source version… 4.19.86-v8+ checking kernel file name for module symbols… Module.symvers checking whether modules can be built… no configure: error: *** Unable to build an empty…

Details