Moving to Ubuntu Linux

I’ve dual-booted my laptop for the past few years between XP and Fedora Core Linux, although I had such a hard time setting up the wifi drivers and WPA-Supplicant support that I admit I rarely used Linux on my laptop, despite running my website(s) entirely on Fedora Core Linux.

I decided to download and give Ubuntu Linux a go, since of all the Linuxes I’ve read that this is the most user friendly and easy to setup.

From the 1 CD ISO image (compared to 4+ for Fedora Core), Ubuntu has an awesome approach – you can either boot from the ‘Live CD’ similar to the Knoppix approach and run just from the CD, or select the installation option once you’ve tried it out from the Live CD, and install to your hard drive.

The installation was quick and simple, and all my laptop devices were instantly supported (touchpad mouse etc). The only install issue I had was the ATI driver config for X Windows – it wouldn’t go into 1600×1200 mode without a lot of screen corruption. Following the instructions here solved these issues after following the first section.

There were a couple of quirks – apparently root access is not configured during installation, so you can configure the root password using these instructions.

Secondly, I couldn’t initially find a Java JDK download for Ubuntu, without jumping through hoops to modify a downloaded .rpm file. Fortunately, following on from the JDK license change annoucements at JavaOne2006 this year to make the license more Linux friendly, a Ubuntu-friendly Java5 download is available – instructions here.

Next up – download, install and configure Netbeans, JBoss, and Glassfish, plus Groovy and Grails. I’ll give an update on these later.

Installing Java5 on Ubuntu Linux 6.06

The Java5 JDK has been packaged as as .deb package ready to install on Ubuntu, without jumping through hoops downloading the RedHat .rpm version and converting to a .deb with the ‘java-package’ utility.

Enable the Multiverse pacakge catalog if you haven’t already done so – in the Software Preferences utility, select ‘Add’ and then select the ‘Multiverse’ option.

You can now install via the Package Manager, or from the command line: sudo apt-get install sun-java5-jdk

Ubuntu comes with the GNU Java compiler which is enabled by default. These instructions walk you through how to select which Java version to run,and how to change between multiple versions, eg gjc to Sun Java5

Enabling root user in Ubuntu

The root user in Ubuntu by default is assigned a random password and you are not given the option to change it during install time.

To change the password in order to logon as root, use the Users and Groups tool, locate the root user, then change the password.