Virt-manager keymap problem on OS X

virt-manager keymaps on OS X
Published on Wed, 17 Nov 2010 20:12:26 +0000 in Uncategorized. 13 Comments


How to completely remove APF from Ubuntu

Running 'apt-get remove --purge apf-firewall' often times is not enough, especially if you tried to modify APF's files and paths. So to completely clean up your Ubuntu system form APF (Advanced Policy Firewall) your also need to run the following commands:

root@host:/etc/apt# rm -rf /var/lib/dpkg/info/apf*
root@host:/etc/apt# rm -rf /usr/src/apf*
root@host:/etc/apt# rm -rf /usr/share/man/man1/apf*
root@host:/etc/apt# rm -rf /usr/share/doc/apf*
root@host:/etc/apt# rm -rf /usr/local/sbin/apf
root@host:/etc/apt# rm -rf /usr/sbin/apf
root@host:/etc/apt# rm -rf /etc/rc0.d/K20apf*

How to install XHProf profiler on Ubuntu

XHProf profiler is developed by Facebook and open sourced in March 2009 under the Apache 2.0 license. XHProf is a function-level hierarchical profiler, with a PHP extension (written in C) to collect the raw data, and a few PHP scripts for the reporting/UI layer.

The easiest way to get it is via the PEAR installer (package home):

install php5-common
pear channel-update
pecl install xhprof

Once you have XHProf installed, you should enable it. Open your /etc/php5/conf.d/xhprof.ini and add



Web based virtualization management applications

openQRM is the next generation, open-source Data-center management platform. Its fully pluggable architecture focuses on automatic, rapid- and appliance-based deployment, monitoring, high-availability, cloud computing and especially on supporting and conforming multiple virtualization technologies. openQRM is a single-management console for the complete IT-infra structure and provides a well defined API which can be used to integrate third-party tools as additional plugins.


How to create and clone a KVM virtual machine on Ubuntu Server

After having KVM installed in your system, you can easily create a guest virtual machine by running the following command: vmbuilder kvm ubuntu --suite lucid --flavour virtual --iso /opt/iso-images/ubuntu1004.iso --dest=/home/destination --arch amd64 --libvirt qemu:///system --hostname ubuntu --bridge br0 --ip --mask --gw --user ubuntu --name Ubuntu --pass ubuntu --rootsize 110000 --swapsize 1824 --mem 1824 --addpkg acpid --addpkg rsync --addpkg openssh-server --addpkg nano

After having your guest virtual machine up and running you might want to utilize one of the things that's very useful when using virtual machines - the ability to clone them.

Power up Drupal search with Jetty & Apache Solr in Ubuntu 10.04

If you are running a big site with loads of visitors or just running a normal site with very minimal resources your basic Drupal search functionality might slow down your site significantly. And it's not even very efficient solution to search all the contents of your site. Don't worry, the help is here. Apache Solr helps you with your site's search functionality and makes it blazingly fast! In this first part of Apache Solr walk through we are going to install and configure Apache Solr + Jetty with Drupal.

GPG error: lucid Release: The following signatures were invalid

If running 'apt-get update' you get the error:

Reading package lists... Done
W: GPG error: lucid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key


cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update


How to remove/turn off/disable Linux KVM virbr0 NAT Interface

A virtual bridge, can be defined as a device that bridges virtual interfaces. It provides an easy means of networking virtual networking devices such as venet (virtual network) or veth (virtual ethernet).

How to optimize Apache for performance memory usage

1. SSH into your server as root.
2. Run top.
3. Press shift + m.
4. Note the highest RES memory used by httpd.
5. Hit Q to exit top.
6. Execute: service httpd stop
7. Once httpd is stopped, execute: free -m
8. Note the memory listed under "used".
9. Find the guaranteed memory for your VPS plan. Support can tell you how much you have guaranteed if you cannot find it.
10. Subtract the memory USED from the memory that your plan is GUARANTEED. This will give you your base FREE MEMORY POOL.

Best APC settings for a Drupal site to reduce page execution time

This is one of those "how long is a piece of string questions".

What is good for a high-volume site may not be the same for a low-volume site with a lot of modules, and may not be the same for a medium-volume site with only a few modules enabled. Other sites running on the server may also be eating into the memory that APC has available.

My starting point is



Subscribe to Front page feed