Tuesday, September 7, 2010

ubuntu 10.4

Recently I installed "ubuntu 10.4" as a dual boot with windows 7. Also completed setup for java development environment on linux.
While doing this activity I got help from lot of forums and blogs for installing each utility and tool.
Just revising all steps here so that it will be useful for my friends.


Installing ubuntu 10.4:

Prepare Ubuntu 10.4 installer in USB as given on ubuntu site.

Now restart your system and use this USB as boot device for installing "Ubuntu 10.4"

I found one video very useful for this:

Once installtion is completed, next time when system is restarted you will get option for selection of windows7 or linux.


Setup Java Development Environment:

1. Install java: Following command should be run through any terminal window.
sudo apt-get install openjdk-6-jdk

export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/

3. Installing subvsersion:
sudo apt-get install subversion

4. Installing maven:
sudo apt-get install maven2

5. Using tomcat:
Download latest tomcat from "http://tomcat.apache.org/download-60.cgi" => tar.gz version should be downloaded.
Extract it at ome place in your folders.
set TOMCAT_HOME variable.

6. mysql install:
sudo apt-get install mysql-server

7. Download "helios" version of eclipse from "http://www.eclipse.org/downloads/"
Further we can use, m2eclipse plugin for importing maven projects "http://m2eclipse.sonatype.org/sites/m2e"
Also we can use subclipse plugin for subversion, "http://subclipse.tigris.org/update_1.6.x"
But for some reason this plugin doesn't work properly so we have to disable it.
disabling subversion support:

8. Installing rabbitvcs: This is graphical tool for version control system (Its same as tortoise on windows).
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitvcs-core
sudo apt-get install rabbitvcs-nautilus rabbitvcs-thunar rabbitvcs-gedit rabbitvcs-cli