Install the missing MIB files on Debian Squeeze

I never had issues with MIB files on my OpenBSD boxes but my new Debian 6 (Squeeze) system seem to not have the Management Information Base (MIB) files installed correctly.
Continue reading “Install the missing MIB files on Debian Squeeze”

Solve OSX keyboard issues running virt-manager through SSH

While testing Linux KVM on Debian 6, I choose to access the management tool, virt-manager, from my Mac, running OSX Lion, through an SSH connexion. I’m using a french keyboard and discovered that it was sending garbage to the virtual machines console. I couldn’t even use the default Ctrl+Alt key binding to get out of the console.

There are a few tricks to apply to solve this.
Continue reading “Solve OSX keyboard issues running virt-manager through SSH”

LAMP/NAMP/OAMP with WordPress just needs CPU

According to the Google robot, my actual configuration serves WordPress pages in about 1-2 seconds. I was looking on improving this a bit.
So I tried various OSes on various machines:

  • A VIA Nehemiah @1GHz
  • An Intel Atom N450 @1.66GHz
  • An Intel Core2Duo T7300 @2.00GHz
  • NetBSD 5.1
  • OpenBSD 4.9
  • Debian GNU/Linux 6

I tried using the same software with no particular optimization (other than the system’s defaults). All of them where using Apache2 (did an extra test with Apache1 on OpenBSD), PHP5 and MySQL. I dumped my production SQL and WWW data. Then browsed a bit with Safari and Firefox to get a “human feeling” on the user experience. Then ran a ab -n 20 -c 5 "" on those.

The conclusion is quite simple: You don’t really get speed improvement towards OSes. But the faster your CPU is, the faster Apache serves WordPress pages. The conclusion was a bit different on static HTML pages. Especially OpenBSD’s native Apache which was faster than lightning.

My Virtual LAN using NetBSD/xen

Virtualization allows running several OSes in the same time on the same hardware server. Xen is a (free) virtualization technology that allows modified OS (Xen-aware) to run as virtual machines. Each virtual machines (AKA domU) has it’s own ressources and don’t overlap with others. With a CPU that provides hardware virtualization (VMX), one can also run “native” OS like Microsoft Windows, FreeBSD or OpenSolaris.

Here’s how I installed and configured my Xen environment.
Continue reading “My Virtual LAN using NetBSD/xen”