All posts by kortsi

Hunajapurkki: A honeypot link widget for WordPress

0.00 avg. rating (0% score) - 0 votes

As a first excercise in creating WordPress plugins, I decided to write an extremely simple widget which can be used to lure spammers’ address harvester bots to honeypots, for example ones set up using the Project Honey Pot web site. If you want to help fight spam, just sign up for free at their page and follow the instructions. You can add your honeypot to your WordPress site using the Hunajapurkki widget. Continue reading Hunajapurkki: A honeypot link widget for WordPress

ADT requires org.eclipse.wst.sse.core 0.0.0 but it could not be found

0.00 avg. rating (0% score) - 0 votes

In Eclipse 3.8, installing the Android Development tools may fail with the following error:

Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) Missing requirement: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) requires ‘org.eclipse.wst.sse.core 0.0.0’ but it could not be found

Continue reading ADT requires org.eclipse.wst.sse.core 0.0.0 but it could not be found

ACPI Shutdown on Virtual Ubuntu

5.00 avg. rating (94% score) - 2 votes

If your virtual machine does not shut down when asked by the hypervisor, install the package acpi-support.

Works at least with KVM, but I see no reason why it would not work as well in other virtualization platforms, if they just send the ACPI shutdown signal to VM.

Thanks:

WordPress Logins and Administration over SSL

0.00 avg. rating (0% score) - 0 votes

To force SSL logins and the administration interface, edit wp-config.php and add these before the “/* That’s all, stop editing! Happy blogging. */” line:

You must set up Apache to use SSL of course.

A lot more info can be found here:

Get Internet Explorer 7 to work under Crossover Office in Ubuntu 12.10

0.00 avg. rating (0% score) - 0 votes

If IE7 just keeps opening the runonce3.aspx, you can use this to make it forget about it:

Disable ptrace security (please don’t do this on a multi-user machine – see the codeweavers support wiki instructions regarding security):

Continue reading Get Internet Explorer 7 to work under Crossover Office in Ubuntu 12.10

Hello again, world!

0.00 avg. rating (0% score) - 0 votes

I’m just trying to get my old blog back online after neglecting it for a couple of years. And a disk crash. And no MySQL dumps, of course. Luckily I had the MyISAM data files so I was able to salvage most of it. Lot’s of stuff not working yet. Working on it.

Cloning Ubuntu 10.04 Server KVM guests efficiently

0.00 avg. rating (0% score) - 0 votes

If you need to create lots of similar virtual machine guests running on QEMU/KVM, it is a very good idea to prepare a template guest image from which to clone the other guests. You should do whatever customizations you like before cloning. For instance I like to configure LVM and file systems to my liking, install openssh-server, install nfs-common and configure NFS mounts, install all available updates, add users or set up authentication, copy ssh keys, and do many other things so that they will be working out-of-the-box after cloning a number of guests from the template.

After you have installed and set-up your template virtual server to your liking, and would want to start cloning multiple instances of it, some tricks are needed to make things work more automatically after cloning and starting up the final copy.

If you simply clone a vanilla Ubuntu server installation multiple times, you will face some problems:
Continue reading Cloning Ubuntu 10.04 Server KVM guests efficiently

Serial console for Ubuntu server 10.04 KVM guests

0.00 avg. rating (0% score) - 0 votes

The virt-manager VNC screen is fine for LAN connections, and good for running graphical sessions. X is not installed on Ubuntu server by default, and VNC is really bad over slow links even for text console. I like to configure serial console for all my virtualized guests, because with it, I can simply ssh into the virtual machine host, and run “virsh console <guest-name>” to get a working console. Very nice for fixing broken network connections or file systems, or any kind of boot problems. And I can do it using just my cell phone, ssh over 3G connection from anywhere!

Continue reading Serial console for Ubuntu server 10.04 KVM guests

N900 Scandinavic Letters from US keyboard

0.00 avg. rating (0% score) - 0 votes

My Nokia N900 has the US keyboard with four arrow keys but no diacritics, two of which are used in my native Finnish language. I actually like having the four arrow keys instead of two arrow keys plus dedicated diacritics. You can anyway get those from the on-screen keyboard, but it is better to remap some of the hardware keys to be able to punch them in quicker. Here’s how.

Continue reading N900 Scandinavic Letters from US keyboard