I run the mpm-itk apache2 module on my server since it’s shared between a few sites. A few rogue crawlers brought it down a few days ago and while I was checking the logs I noticed a lot more apache…
*nix
Mount a remote fs after connecting to a vpn. (NetwrokManager)
by silviu • • 0 Comments
When away I use a vpn connection to connect to my home server. The first thing after connecting is usually mounting some resources using sshfs (yes I know, not very efficient but for personal use is more than enough). I…
*nix
Test degrading write speed on a system with lots of small files.
by silviu • • 0 Comments
I created a script that generates random files in a random folder structure. I let it run for 1.000.000 files and than 1.000.000 more. Here are the results: 12345678910111213141516171819#!/bin/bash DST=$(mktemp –tmpdir="/tmp/boatload" -d XXXXXXXXXX) let "no_of_files = $RANDOM/2" echo "Creating $no_of_files…
*nix, Tips and tricks, Web
fail2ban and apache digest authentication
by silviu • • 0 Comments
Although I don’t consider fail2ban something to rely on for security is just another piece of the puzzle when securing a server. When configuring fail2ban for a debian server I noticed that the defaults rules are missing failures if DIGEST…
*nix
cPanel IP migration
by silviu • • 0 Comments
I had to switch the main IP address of a cPanel server. Basically you follow the IP Migration Wizard steps, but when I was done the A records for the main hostname were wrong (still having the old IP). If…
Photography
What focal lenght I need a prime lens for?
by silviu • • 0 Comments
If you are contemplating buying a prime lense and use digikam you might find this little script I wrote useful: https://github.com/silviuvulcan/digikam-stats It can show you the number of images shot at each focal length (grouped by camera or not) from…