the most awesome guy ever.

The Blog of Darryl E. Clarke

  Random musings from a jaded coder who just needs a hug.

Posts Tagged ‘Linux’

A Quickie on Using Android Studio on Ubuntu

Friday, May 17th, 2013

The original post below applies to old versions. For 0.4.x plus, you don’t need to do this. You just need to have a proper Oracle JRE/JDK installed system wide which you can do with this:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-jdk7-installer

With the recent preview release of Android Studio it’s important to know that it won’t work properly on Ubuntu with the OpenJDK that’s available.

Fortunately, it’s easy to get it going.

  1. Download the official Oracle JDK
  2. Unpack it (I put mine in ~/SDK/jdk1.7.0_21/ )
  3. Point your JAVA_HOME to this.
    ~/android-studio/bin$ export JAVA_HOME=~/SDK/jdk1.7.0_21/
  4. Run the android studio startup script.
    ~/android-studio/bin$ ./studio.sh
  5. Make awesome android apps.

Have Fun!

Tags: , , ,
Posted in Coding

Ubuntu: Sharing is Caring

Friday, April 29th, 2011


Over the last 24 hours, since the release of Ubuntu 11.04, I’ve managed to upload over 200GB on the torrents.  Here’s a little graph of my bandwidth use.  I’m sure this is just a drop int he bucket.  It’d be interesting to see how much other individuals upload during the same release time.

I don’t do as much as I should to work with the community, but at least I share!

Tags: , , , , ,
Posted in Linux, Ubuntu

I Finally Upgraded to Debian 5

Saturday, October 17th, 2009

On my production web server, I’m kind of a crazy fool.  I often do things that make people cringe and scream and say “what the hell are you doing?”

One of those said things is doing a distribution upgrade on-the-fly of the OS.  Since the installation of my server some three and a half years ago, Debian has had two major releases.  My server started with sarge, upgraded to etch, then upgraded again to lenny.  Unfortunately this time after 1210 days without rebooting my server I was forced to reboot. That is to say, since I installed my server where it lives it had never been rebooted.

The reboot occurred because the new libc required kernel 2.6. I was still cooking with an old 2.4 kernel.  After a pile of apt-get trickery, I got the necessary packages installed and had to reboot.  Once the 2.6 kernel was up and running everything else installed without a hitch.  I had to track down a few configuration changes with a couple of things, but overall I think the upgrade went smooth and with only a few minutes of downtime.  Not bad, I say, not bad.

Tags: , , , , ,
Posted in Linux

Replacing a Live System RAID On The Fly

Friday, June 26th, 2009

Well, this is one of those crazy fun things that I had to attempt. My old system drive consisted of two 80 GB IDE drives in a mirror configuration. Pretty standard, but they were getting sluggish and I happen to have a few 320GB SATA drives doing nothing.

This is not a tutorial. This is a step by step account of a process I took to replace my disks; This is to be taken only as a suggestion as your configuration and mileage may vary. There may also be a better way of doing this.

So, lo and behold, I plugged them in to my eSATA ports and started rolling over!  For the sake of this exercise the original drives will be sda, sdb. The new drives will be sdc and sdd. The raid device is md0. (more…)

Tags: , , , ,
Posted in Linux, Ubuntu

Happy Ubuntu Day (9.04 Released!)

Thursday, April 23rd, 2009

Today, like clockwork, is the day in which Ubuntu issues another release.

Get your copy via the always legal BitTorrent here.

Happy Ubuntu Day!

Tags: ,
Posted in Linux, Ubuntu

Wanda the Fish is Dead

Wednesday, April 1st, 2009

dead-wandaLooks like I neglected her too much.

Tags: , , ,
Posted in Linux, Ubuntu