1. Installing java6
cd ~/ wget https://raw.github.com/flexiondotorg/oab-java6/master/oab-java6.sh; chmod +x oab-java6.sh; sudo ./oab-java6.sh
Script will build packages from source and place them in local repo, then they can be installed e.g.:
sudo apt-get install sun-java6-jdk sun-java6-fonts sun-java6-source
You can see all available packages in /var/local/oab/deb
Remember to select the right version:
sudo update-alternatives --config java
To setup everything else (like browser plugin, keytool, etc.) you can use this (it will be a long list!)
Reference :- https://github.com/flexiondotorg/oab-java6
Once your done with your java6 installation just follow instructions below links just leave the java installation part from the doc.
Installing Hadoop on single node cluster :- http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster
Installing Hadoop on multi node cluster :- http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-node-cluster/
Hope it helps.
Cheers!! 🙂