Aug 25 2010

MySQL Backups Made Easy

Category: ComputerTuxevara @ 21:23

Using logrotate makes it very easy to create MySQL dumps regularly. Just create a file at /etc/logrotate.d/ with the following content:

/var/backups/mysql/dump.sql {
daily
rotate 14
missingok
compress
postrotate
/usr/bin/mysqldump -u -p --opt \
--flush-logs --all-databases > /var/backups/mysql/dump.sql
endscript
}

You may have to create the directory /var/backups/mysql/ manually.

Tags: , ,

 


Aug 25 2010

How To Update Many Debian Systems In One Step

Category: ComputerTuxevara @ 21:22

Running system updates on a bunch of systems can be very annoying. As our monitoring system is setting me under presure with lots of critical messages about missing security updates on our Debian Linux servers every few days, I want to get rid of them quickly without logging in to every single host, executing aptitude update && aptitude upgrade one after another.

Using a shell script would be one option, but with the big disadvantage of loosing the control over the update process. So I was looking for a way to start interactive shells on all servers at the same time.

Finally I found clusterssh, which is installable via aptitude. The next step is to create a file with a list of hosts in the format [user@] [user@] [...]. After that you can call clusterssh with

cssh -c

Clusterssh will come up with a single terminal windows for each host and a small Tcl window, where you can run the commands from. Everything you type in will be sent to all hosts character wise. So you only have to type in aptitude update && aptitude upgrade one time and it will be executed on all hosts.

Tags: ,

 


Aug 22 2010

Freie PCs fuer Beduerftige

Category: PolitikTuxevara @ 13:08

Wir habe in der Linux User Group Moenchengladbach jetzt das “Free Tux PC” Projekt gestartet um ein Zeichen zu setzten, gegen das unsinnige Urteil des Landessozialgerichts NRW. Hatte dazu ja hier auch schon meinen Kommentar dazu geschrieben

Tags: , , ,

 


Aug 22 2010

FroSCon sucht Spell-Checker

Category: Computer,LinuxTuxevara @ 13:02

Wie die letzten Jahre auch ist die FroSCon eine extrem gelungene Veranstaltung. Auch wenn ich auch gerne mal den ein oder anderen Fehler in meinen Texten habe, sind einige der Schilder die als Hinweise für die Speaker dienen wohl an jeglichen Spell-Checkern vorbeigekommen ;-)

FroSCon Hinweise für Speaker

Tags: ,

 


Aug 13 2010

Street View Protest – How to do it wrong

Category: AllgemeinTuxevara @ 10:15

Ja ne is klar. Schön gegen Street View sein, die Presse einladen und Interview mit vollen Namen veröffentlichen lassen, damit die ganze Welt sehen kann. welchen Geisteszustand man besitzt und dann zur Krönung der eigenen Genialität vor dem eigenen Haus stehen und sich ablichten lassen. Ich muss mich gerade am Stuhl fest krallen um nicht vor Lachen runter zu fallen.

Tja, so was passiert halt, wenn man Leuten das Schwarz-Weiß Denken anerzieht – neue Medien vs. klassische Medien.

Tags: ,