Archive for June, 2006

rpmforge for FC5

Posted in Fedora on June 21st, 2006 by Johan Huysmans – Be the first to comment

Fedora Core 5 has been released for a couple of months, but there is still no sign of it on the site of rpmforge.
If you look close enough you will find the rpmforge-release package for fc5 in dries’ repository. You can download it directly through this link.

Mysql dump script

Posted in Backup on June 13th, 2006 by Johan Huysmans – Be the first to comment

Due to some problems we needed to restore the backup of 1 mysql database. I’ve got my mysql dump script installed on that system so that won’t be any problem.
Think again… There are 37 mysql database, with a total of almost 300Meg data. This is stored in one single gziped file of 30Meg. It isn’t easy to find the correct database.

Let’s fix this… We want 1 .tar.gz file containing the dumps of all database, every database is stored in a seperate file.
With the command mysqlshow you get a list of all database in mysql. The command mysqldump with the databasename as an argument will dump only that database.

Put this all together and you have version 0.4 of my mysqldump script.

Fedora Core 5: The screen

Posted in Fedora on June 6th, 2006 by Johan Huysmans – Be the first to comment

I finally found the time to install FC5. ok, I didn’t have the time but I was convinced I needed an upgrade. It seemed that sleep and suspend was working and there were several improvements in the i810 driver (for intel graphical cards). For example when you closed the lid (of your dell latitude d610 laptop) in FC4 the screen went black, when you opened it, it stayed black. With FC5 this is solved.

The resolution is default 1024×768. For FC4 you have to compile and install several programs, for FC5 the fix is extremely easy.
The only thing you have to do is to put following 2 lines in comment in /etc/X11/xorg.conf

   HorizSync    31.5 - 90.0
   VertRefresh  59.0 - 75.0

You find these 2 lines in the Monitor section