Configuring Ubuntu for VirtualBox to detect USB devices


I’ve been developing Android Apps are more often recently but I’ve found the Linux support for some android tools less than appealing.
In particular, I’ve been using MOSYNC and they don’t provide a Linux installer, you have to compile it from source. That’s all well and good until something goes wrong then you spend forever trying to re-compile and fix build issues, time I’d rather spend doing something else.

Since I refuse to go back to windows as a main OS after it annoyed the crap outta me recently, I settled for the next best thing, virtualisation! I’m using VirtualBox which is honestly one of the most awesome opensource software I know of! With Windows installed in VirtualBox, I was set…or so I thought. USB devices weren’t being picked up by VirtualBox. A quick Google revealed that this is a common issue and well documented on page 52 of the VirtualBox user manual (People read those?). If you’d like to read it, it’s all well documented in the user manual under VirtualBox USB support.

So to the point, the problem is that when VirtualBox is installed your user account probably wasn’t added to the group it created. You can check and make sure you’re facing the same issue by running the command:
Read more of this post

Securing a Linux (Centos) VPS in 10 minutes


So, first thing’s first. You’ve got your shiny new VPS like I have. The fact you’re reading this means like me you won’t allow root to ssh into it. This is good! I’m writing this because I seem to be repeating these steps quite a lot (well, once or twice every couple months) so to make sure I don’t miss a step I’m writing it up to both help me and others who might need it. Read more of this post

Install/Configure NVideo (with optimus) on Ubuntu


So you got your shiny new laptop with a decent card and wouldn’t you know it…it’s not working properly or it’s performance is shoddy at best. After having to re-install Ubuntu 3 times I’ve decided to write a quick post with the commands I used to get my battery to go from 20 mins to 3hrs…yes, that’s how much difference it makes! Read more of this post

Building RPMs on Windows


I finally got tired of build RPMs in a VM. Its ridiculously slow because its done on a shared Windows partition.
I started looking around to see if it was possible, all indications where that it hasn’t really been done…
I found a few Java libraries that allows you to manipulate RPM files but using them would require writing a maven plugin before I can get anything done… Have a look at http://jrpm.sourceforge.net/ and http://redline-rpm.org/ to see what if they’re useful for you…

Read more of this post

Install and configure Varnish (3.0.1) cache with WordPress


A few days ago I promised I’d go through what  I did when setting up varnish with wordpress, its been slightly delay  but here goes. The blog I used it on was Script and Scroll. I’ve ran the Apache benchmark tool against the site, only one URL but made 1Million requests to it and it held up quite well. The requests were completed in about 5 minutes, I may post the results in a later entry…

So, on the day that alarm bells went off form traffic spike, I just install varnish and cached everything and anything that I could… Obviously this isn’t ideal in most cases but I had very little time to spend on this. So method one below is the “naive” approach I’d say, but it works and works fairly well. Method two is my current configuration which is based on a post Donncha O Caoim did. I had to tweak a few things because I am using the latest version of varnish some of the configuration options he used changed in version 3 of varnish.

Read more of this post

Github access denied or SSH key already taken on windows (Putty+VS git extension)


This is just a quick post to point to the solution.
I had to do some C# work a week or so ago and then push everything to github. I already had an SSH key on my account but since that was generated under Ubuntu…A new one was needed for Windows. Read more of this post

Upgrading Eclipse on Ubuntu (from 3.5 to 3.7 indigo – works for other versions too)


After upgrading my Ubuntu version to 11.04 I installed eclipse using the software centre.
It turns out that only v3.5 of Eclipse is available (as the latest) from the software Centre.  I wanted to update to 3.7 but I wanted to keep all the links set up by the software centre e.g On the new Ubuntu “Start Page” or the new toolbar, in addition I want to be able to use the software centre to uninstall eclipse if the need arises. Read more of this post

Ubuntu 11.04 black screen fix (after install or upgrade)


I have been stumped for the last two days with my Ubuntu install.
I naively upgraded to 11.04 without checking the Ubuntu release notes… Turns out their is a known bug affecting Ubuntu ARM installs.

Read more of this post

Follow

Get every new post delivered to your Inbox.

Join 360 other followers

%d bloggers like this: