Just another sysadmin blog

Main menu

Category Archives: debian

Post navigation

There has been some comments in my old posts trying to use generated country lists in Apache .htaccess. This approach is wrong, and I will show you much better way how to block or allow specific country.

Backup in virtualized enviroment is mostly based on snapshoting entire virtual machine and saving this state to backup repository. This snapshot does not include memory of virtual machine. When you restore virtual machine from this snapshot filesystem is in unclean state, but journal filesystem can handle this. From mysql point of view server crash happended and database can be corrupted and unrecoverable, depending on what queries where running during snapshot. This unpredicted and unconsistent state you don’t want to have as a backup of your data. Continue reading →

Are you getting angry when installing Debian and your network cards (eg. bnx2) are not working because of missing non-free firmware policy? Solution is simple – just use for installation unofficial Debian iso images with firmware. Continue reading →

Unattended upgrades in Debian will not upgrade packages from third-party repositories (for example dotdeb.org) by default. It can be easily enabled editing /etc/apt/apt.conf.d/50unattended-upgrades.Continue reading →

To manage and monitor hardware raid, you need proper utility. Most of vendors provides raid utilities only for Redhat based linuxes. For Debian based distribution I have found very useful repository – http://hwraid.le-vert.net/wiki/DebianPackages. You just need to know, which raid card you are using and follow provided instructions.