How to add a GPG key to RPM

I always forget the syntax for retrieving GPG keys from a key server, e.g. to add them to RPM. Here the reminder:

gpg --keyserver pgp.mit.edu --recv-key 0xde95bc1f
gpg -a --export 0xde95bc1f > key.gpg
rpm --import key.gpg
rm key.gpg

P.S. the example key is used to sign Libvirt RPM's for Fedora

Fedora Hat

This photo was taken by Kjetil Ree.
© 2005 Kjetil Ree, some rights reserved

Booting Fedora 17 with Grub2-efi

After my installation of Fedora from scratch, I needed to install a boot loader. Since my system supports UEFI boot, my preference was to use that. Fedora has a Grub2 package with support for UEFI booting: grub2-efi. This article describes the procedure to install and configure your system to boot from an UEFI boot partition.

Fedora from scratch


In my post about setting up my new virtualization server I explained that I wanted to move from Debian to Fedora, because libvirt is better supported in that distribution. That posed my for quite a challenge. My new setup supports EFI boot, so I initially downloaded the test install image for Debian Squeeze.

How to fix distorted graphics in the Fedora 17 installer


When I tried to install Fedora 17 using the graphical installer it initially failed, because the graphics driver caused the screen to be distorted to a point that I could not read the text any more.

Setting up the ideal Linux virtualization server

When I recently bought a new server, I didn't expect to run into so much trouble migrating my setup from the old to the new one. I have a server running several "virtual machines" using the OpenVZ container technology. The server itself is running Gentoo Linux, but this distribution just takes too much time maintaining.

Syndicate content