Jared's Linux Blog

Entries by Jared (59)

Ubuntu Netbook Remix Rocks on Asus EeePC 701

I recently went to Australia for about 5 weeks and I brought my Asus 701 EeePC.  Before I left, however, I decided to install Ubuntu Netbook Remix which brought the netbook back to life where the default Xandros OS put it in the grave. 

Well, I should be too harsh on Xandros.  At least it worked.  I had eeeXubuntu on the 701 at one point, but it was a bit buggy and hard to use.

I am certain there are others out there that have 701's gathering dust.  Well brush it off and install Ubuntu Netbook Remix.  You'll have fun with it.  Everything works out of the box.

Posted on Wednesday, November 11, 2009 by Registered CommenterJared in , | CommentsPost a Comment

My Thoughts on Time Based Major Linux Releases

Like all organizations, it's important to properly manage expectations.

Mark Shuttleworth asked awhile back about Meta-cycles: 2-3 year major cycles for free software.  The idea is to have time based releases for free software or distributions.  Mark wants some community discussion on the pros and cons of timed major releases for Ubuntu. Personally, one key issue here is managing expectations.

Ubuntu's past releases have created for me the following expectations:

  • Even numbered first iteration releases are Long Term Support releases. (6.06, 8.04)   
  • Even numbered second iterations are cleaned and more stable Even numbered first iterations. (6.10, 8.10)
  • Odd numbered releases are useable playgrounds that are used to collect information for the next LTS. (7.04, 9.04)
  • Odd numbered second iteration releases are cleaned and more stable Odd numbered first iterations. (7.10, 9.10)

Wether or not the above is true, for some reason it's the message I heard since starting with Ubuntu 5.04.  It's now what I expect from Ubuntu releases.

If Ubuntu decides to implement a new release cycle it should have a clear understanding of current customer expectations.  Otherwise it risks putting serious strain on customer relationships with Ubuntu.  I know I've stopped being loyal to company brands because of failed expectations.  It's fine to change things up, but it needs to be well communicated to users. 

Posted on Saturday, November 7, 2009 by Registered CommenterJared in , | CommentsPost a Comment

Use Symbolic Links instead of vhost for localhost web development

I spent a couple hours trying to setup some vhosts in Apache2 for developing some web applications.  The annoying thing is that my IDE (Eclipse/Aptana) uses a directory in my Home folder to store my projects.  Therefore I needed to create a vhost to point to those project folders.

What is more easy is to use the default Apache2 setup and put symbolic links in /var/www/ for each of your projects.  Soooo much easier!

Posted on Monday, June 29, 2009 by Registered CommenterJared in , | CommentsPost a Comment

Aptana requires Sun JRE 1.5 error in Eclipse

On my somewhat fresh install of Ubuntu 9.04 I installed Eclipse 3.2 using Synaptic.  After installing the Aptana plugin, I kept getting the error:

Aptana requires Sun JRE 1.5 or greater to work properly. Some functionality may be disabled or work not properly under current JRE...

Aptana 3.2 Sun JRE 1.5 error

As an aside, I could be wrong but I don't think the message is proper English.  "...may be disabled or work not properly..." should be something like "...may be disabled or work improperly..." or "...may not be enabled or work properly...".

Anyway, the Ubuntu forums had a great fix for this error.  Just do the following:

Compiling Aptana may not work, and even if it did, running it under Eclipse is much more efficient and functional. Here are the steps I took to install it.

  1. Install the version of Java you wish to use. In this example I use Sun Java 6:
    sudo apt-get install sun-java6-jdk
  2. Now install eclipse:
    sudo apt-get install eclipse
  3. Don't click on the Eclipse menu item yet!. We need to edit the menu entry for eclipse so it will use the desired Java. If you don't do this it will use Blackdown Java, no matter what "java -version" says.
    1. Right click over your main gnome menu and Click on "Edit Menus"
    2. In the left column of the box that pops up click on "Programming"
    3. Now in the right column double click "Eclipse".
    4. Put "/usr/bin/eclipse -vm /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java" in the "Command:" line.
    5. Click "Close", and then "Close" again to exit the main menu editor.
  4. Now run "eclipse -vm /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java" from the command line. If you get a message that says "Could not create /usr/local/lib/eclipse/.eclipseextension. Please run as root: ...". then just run the following commands after exiting Eclipse to fix things:
    • sudo touch /usr/local/lib/eclipse/.eclipseextension
    • sudo chmod 2775 /usr/local/lib/eclipse/.eclipseextension
    • sudo chown root:staff /usr/local/lib/eclipse/.eclipseextension
  5. Now we can use the menu. Select "Programming->Eclipse" to start eclipse.
  6. Next we need to set the Java that Eclipse will use for it's projects (Aptana is an Eclipse project). Otherwise it will only use Blackdown Java (regardless of java -version or the VM it is started with).
    • From the "Window" menu in Eclipse select "Preferences".
    • Click "Java" to open the java options list and click "Installed JRE's"
    • Now you can enter as many JRE's as you want and select the default. We'll just enter Java 6, click on the "Add" button.
    • Enter "/usr/lib/jvm/java-6-sun" in the "JRE home directory:" box and click the "OK" button. Everything else will fill in automatically.
    • Click the check box by java-6-sun to set it as the default.
    • Click "OK" to exit Preferences.
  7. From the Help menu in Eclipse, select Software Updates > Find and Install... to open an Install/Update pop-up window.
  8. On the Install/Update pop-up window, choose the Search for new features to install option, and click the Next button.
  9. Set up a new remote site to scan for updates.
    • Click the New Remote Site... button to open a New Update Site pop-up window.
    • On the New Update Site pop-up window, type "Aptana" in the site Name text box.
    • In the URL text box, type the URL for the Aptana update site: http://update.aptana.com/update/ and click OK.
    • Click the Finish button to open an Updates window.
  10. Now we'll install the Aptana plugin
    • On the Updates window, check the Aptana box, and click the Next button.
    • Choose the option to accept the terms of the license agreement, and click the Next button.
    • Click the Finish button.
    • Click the Install All button.
    • After Eclipse installs the Aptana plug-in, follow the prompts to shut down and re-start Eclipse.
  11. Finally we need to set the Ecplise Perspective to Apatana

In the upper right hand corner of the Eclipse IDE there is a little window icon, this is used to select perspectives. Click it, and if you see "Aptana" just select it. Otherwise select "Other..." to open the Select Perspective pop-up window and select Aptana from there. That's it!.

Posted on Friday, June 19, 2009 by Registered CommenterJared in , , , | CommentsPost a Comment

Partimage Error - Cannot create temp file

While in SystemRescueCD and using partimage to backup an ext3 filesystem, I kept running into the error:

Error - Cannot create temp file [/dev/sda3/pi878f5c20.tmp]. Please check there is space enough and you have access rights.

The problem is that the hard drive/partition needs to be mounted. Do the following when booted into SystemRescueCD

mkdir /mnt/sda3 (you can call sda3 anything you want. It's just a folder that you will mount the actual partition you need to store the backup onto)

mount /dev/sda3 /mnt/sda3 ( this will take the partition /dev/sda3 and link it to /mnt/sda3)

After doing this, navigate to /mnt/sda3 and see your folders.

There is a good how-to for Partimage here. It also describes how to restore your image to the partition.

Posted on Saturday, April 4, 2009 by Registered CommenterJared in , | CommentsPost a Comment
Page | 1 | 2 | 3 | 4 | 5 | Next 5 Entries